From: <sh...@us...> - 2009-10-19 10:26:43
|
Revision: 14993 http://cdk.svn.sourceforge.net/cdk/?rev=14993&view=rev Author: shk3 Date: 2009-10-19 10:26:35 +0000 (Mon, 19 Oct 2009) Log Message: ----------- there is now an empty space around details in periodic table (bug #10) Modified Paths: -------------- jchempaint/trunk/src/main/org/openscience/jchempaint/dialog/PeriodicTablePanel.java Modified: jchempaint/trunk/src/main/org/openscience/jchempaint/dialog/PeriodicTablePanel.java =================================================================== --- jchempaint/trunk/src/main/org/openscience/jchempaint/dialog/PeriodicTablePanel.java 2009-10-19 09:46:55 UTC (rev 14992) +++ jchempaint/trunk/src/main/org/openscience/jchempaint/dialog/PeriodicTablePanel.java 2009-10-19 10:26:35 UTC (rev 14993) @@ -623,6 +623,7 @@ + (element.getGroup()!=null ? ", Group "+element.getGroup() : "") +", Period "+ element.getPeriod()+"</html>"); + label.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); pan.add(label,BorderLayout.NORTH); label = new JLabel("<html><FONT>" @@ -632,6 +633,7 @@ +" Electronativity: "+(element.getPaulingEneg()==null ? "undefined" : element.getPaulingEneg())+"<br>" +"</FONT></html>"); label.setMinimumSize(new Dimension(165,150)); + label.setBorder(BorderFactory.createEmptyBorder(5,5,5,5)); pan.add(label,BorderLayout.CENTER); } else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |