I'm using one JDesktopPane in my project and I need to set one
JInternalFrame in front of all the other and selected. Until know this is
the better I can do. If the JInternalFrame is iconifyed this don't work. I
know this must be a very simple thing to do but I don't find how.
import
Hi List!
How should I set the colors of my JComboBox instance?
The following sets it for all combo:
CODE
UIManager.put(ComboBox.disabledBackground, Color.red);
UIManager.put(ComboBox.disabledForeground, Color.green);
UIManager.put(ComboBox.foreground, Color.magenta);
Calling just the desktop manager method only does part of the job and
leaves the state inconsistent.
This code should fix your problem: pnButtons.add(new JButton(new AbstractAction("Open 1"){ public void actionPerformed(ActionEvent arg0) { try { ifr1.setIcon(false); ifr1.setSelected(true); }
Hi Jessamine,
wondering if java has a ListView fuction similar to that of VB?
If you want to show rows with columns and headers, then
javax.swing.JTable is the component to use. If each row is just a single
item that you want users to pick or select from, then javax.swing.JList is
Thanks, seems to be perfect.
In the end of this work I shall write a book called Tips for real dummy
programmers like me.
Thanks
Marcos
-Original Message-
From: Brian Gagne [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 18, 2004 5:19 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]