Author: mes
Date: 2011-06-22 17:20:19 -0700 (Wed, 22 Jun 2011)
New Revision: 25889
Modified:
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/AbstractGUITunableInterceptor.java
Log:
forcing the tunable dialog to respect the look and feel ... try number 2
Modified:
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/AbstractGUITunableInterceptor.java
===================================================================
---
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/AbstractGUITunableInterceptor.java
2011-06-23 00:19:31 UTC (rev 25888)
+++
core3/work-swing-api/trunk/src/main/java/org/cytoscape/work/swing/AbstractGUITunableInterceptor.java
2011-06-23 00:20:19 UTC (rev 25889)
@@ -134,14 +134,13 @@
tunnableDialog = new TunnableDialog();
tunnableDialog.setLocationRelativeTo(parent);
tunnableDialog.setTitle("Set Parameters");
+ tunnableDialog.addComponent(optionPanel);
try {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
SwingUtilities.updateComponentTreeUI(tunnableDialog);
} catch (Exception e) { /* not really a problem if this fails
*/ }
-
- tunnableDialog.addComponent(optionPanel);
tunnableDialog.setVisible(true);
String userInput = tunnableDialog.getUserInput();
--
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.