Revision: 20361 http://sourceforge.net/p/jmol/code/20361 Author: hansonr Date: 2015-03-05 14:40:08 +0000 (Thu, 05 Mar 2015) Log Message: -----------
Modified Paths: -------------- trunk/Jmol/src/org/openscience/jmol/app/nbo/NBODialog.java Modified: trunk/Jmol/src/org/openscience/jmol/app/nbo/NBODialog.java =================================================================== --- trunk/Jmol/src/org/openscience/jmol/app/nbo/NBODialog.java 2015-03-05 13:48:47 UTC (rev 20360) +++ trunk/Jmol/src/org/openscience/jmol/app/nbo/NBODialog.java 2015-03-05 14:40:08 UTC (rev 20361) @@ -325,7 +325,7 @@ // JPanel showPanel = new JPanel(new BorderLayout()); // Box a = Box.createVerticalBox(); // Box b = Box.createHorizontalBox(); -// b.add(newLabel("Model Command")); +// b.add(new JLabel("Model Command")); // b.add(modelField); // a.add(b); // a.add(Box.createVerticalGlue()); @@ -346,7 +346,7 @@ // JPanel showPanel = new JPanel(new BorderLayout()); // Box a = Box.createVerticalBox(); // Box b = Box.createHorizontalBox(); -// b.add(newLabel("View Command")); +// b.add(new JLabel("View Command")); // b.add(viewField); // a.add(b); // a.add(Box.createVerticalGlue()); @@ -367,7 +367,7 @@ // JPanel showPanel = new JPanel(new BorderLayout()); // Box a = Box.createVerticalBox(); // Box b = Box.createHorizontalBox(); -// b.add(newLabel("Run Command")); +// b.add(new JLabel("Run Command")); // b.add(runField); // a.add(b); // a.add(Box.createVerticalGlue()); @@ -388,7 +388,7 @@ JPanel showPanel = new JPanel(new BorderLayout()); Box a = Box.createVerticalBox(); Box b = Box.createHorizontalBox(); - b.add(newLabel("NBO Input:")); + b.add(new JLabel("NBO Input:")); b.add(nboInput); a.add(b); a.add(Box.createVerticalGlue()); @@ -397,13 +397,6 @@ return showPanel; } - private Component newLabel(String label) { - JTextField t = new JTextField(label); - t.setEditable(false); - t.setBorder(null); - return t; - } - ///////////////////////////////////////////////////////// // protected void modelCmd() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits