No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Re:
Is there a cleaner way to close out of a GUI window in Java then just clicing the X in the upper right hand corner? When I do this I get a NullPointerException error. Is there a way to put an "Exit" button in a GUI window so that the … |
|
Hi, I want to load a simpel image into a JPanel. I use the following way: public class MyClass{ private Icon Bild = new ImageIcon("http://today.java.net/jag/old/green/duke/T4.gif"); JLabel jLabel2 = new JLabel(Bild); private void init (){ jLabel2.setBackground(Color.white); jLabel2.setForeground(Color.white); jLabel2.setBorder(BorderFactory.createEtchedBorder()); jLabel2.setPreferredSize(new Dimension(100, 70)); jLabel2.setIconTextGap(0); jLabel2.setLabelFor(contentPane); jLabel2.setIcon(Bild); } } I think the code is … |
|
Re:
I need to open a word doc template from a java application and i also need to dynamically update the fields in the template with some values from the java application.. Can anybody help me????...... Thanks in advance.......... |