JTextField update ?

2001-11-15 Thread wdw
In wrote a Java 2 application (in fact a JPanel) collection some info from CD's (title, path, zippath, filename) and record this info into a MS Access database. No problem ... Afterwards I changed the application by adding some feedback (nb dirs/files) by adding a Thread try {

Re: Dynamically setting the size of the button

2001-11-15 Thread KC_Eilander
I could be wrong, but I think it does that automatically. It seems like you're probably using a GridLayout or GridBagLayout that is streaching the button back out to fit its grid. If this is the case try: public class FooButton extends JButton { public Dimension getMaximumSize() {

Re: Swing deployment options

2001-11-15 Thread James Brundege
I just watched an end user of our new app try to get the Java 1.3.1 plug-in installed. The installation process crashed her computer. The plug-in refused to install or run in Netscape 4.78, and only worked in IE. I was hoping the plug-in situation would improve with the next release, since it

Re: Explicitly closing pop up menu..

2001-11-15 Thread Kleopatra
Vikram schrieb: Hi! Friends.. I know this question may look a bit trivial.. but I am stuck in it. I wanted to know that if there is any way by which we could explicitly close the JPopUpMenu . What's wrong with setVisible(false)? Or am I missing something here? Greetings Jeanette

Re: Explicitly closing pop up menu..

2001-11-15 Thread Michael Roehrl
Vikram wrote: Hi! Friends.. Hi! I know this question may look a bit trivial.. but I am stuck in it. I wanted to know that if there is any way by which we could explicitly close the JPopUpMenu . You can try setVisible(false), but this seems to make problems when selecting another Menu. You

Re: Explicitly closing pop up menu..

2001-11-15 Thread Vikram
thanks.. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? thanks in advance vikram Michael Roehrl wrote: Vikram wrote: Hi! Friends.. Hi! I know this question may look a bit trivial.. but I am

Re: Explicitly closing pop up menu..

2001-11-15 Thread Michael Roehrl
Vikram schrieb: thanks.. You're welcome. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? Exactly as I wrote. defaultManager() is a static method in MenuSelectionManager and returns the default

Re: Explicitly closing pop up menu..

2001-11-15 Thread Vikram
thanks a lot... it worked vikram Michael Roehrl wrote: Vikram schrieb: thanks.. You're welcome. but tell me one thing michael.. how do I call the clearSelectedPath() method ?? I mean how do i get the instance of MenuSelectionManager ? Exactly as I wrote.