Author: ghannum
Date: 2010-09-03 11:22:26 -0700 (Fri, 03 Sep 2010)
New Revision: 21687
Modified:
csplugins/trunk/ucsd/ruschein/PanGIA/src/org/idekerlab/PanGIAPlugin/ui/SearchPropertyPanel.java
Log:
Modified:
csplugins/trunk/ucsd/ruschein/PanGIA/src/org/idekerlab/PanGIAPlugin/ui/SearchPropertyPanel.java
===================================================================
---
csplugins/trunk/ucsd/ruschein/PanGIA/src/org/idekerlab/PanGIAPlugin/ui/SearchPropertyPanel.java
2010-09-03 18:15:55 UTC (rev 21686)
+++
csplugins/trunk/ucsd/ruschein/PanGIA/src/org/idekerlab/PanGIAPlugin/ui/SearchPropertyPanel.java
2010-09-03 18:22:26 UTC (rev 21687)
@@ -2,6 +2,7 @@
import java.awt.Color;
import java.awt.Container;
+import java.awt.Dimension;
import java.awt.event.ItemEvent;
import java.awt.event.ItemListener;
import java.beans.PropertyChangeEvent;
@@ -12,7 +13,11 @@
import java.util.TreeSet;
import javax.swing.*;
+import javax.swing.border.BevelBorder;
+import javax.swing.border.Border;
+import javax.swing.border.EtchedBorder;
+import org.idekerlab.PanGIAPlugin.PanGIAPlugin;
import org.idekerlab.PanGIAPlugin.SearchParameters;
import org.idekerlab.PanGIAPlugin.SearchTask;
@@ -838,9 +843,22 @@
private void aboutButtonActionPerformed(java.awt.event.ActionEvent evt)
{
- JOptionPane pane = new JOptionPane("PanGIA is f...@$%ing
sweet!", JOptionPane.PLAIN_MESSAGE);
- pane.createDialog(null,"About PanGIA v1.0").setVisible(true);
+ JOptionPane pane = new
JOptionPane("",JOptionPane.PLAIN_MESSAGE);
+ pane.setPreferredSize(new Dimension(400,200));
+
+ JTextArea text = new JTextArea();
+ text.setEditable(false);
+
text.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED));
+ text.setBackground(Color.white);
+ text.setWrapStyleWord(true);
+ text.setLineWrap(true);
+ text.setColumns(20);
+ text.setPreferredSize(new Dimension(350,100));
+ text.setText("PanGIA is a tool for aligning physical and
genetic interaction networks.\n\nPlease cite:\n...\n...");
+ pane.add(text,0);
+ pane.createDialog(null,"About PanGIA
v"+PanGIAPlugin.VERSION).setVisible(true);
+
}
private void textFieldActionPerformed(java.awt.event.KeyEvent evt) {
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.