@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4



Comments:

<0> ok
<0> thx
<1> X-Treme- I'm pretty sure you do
<0> i am going to read
<1> lol
<2> heh, you guys are sync'ed



<3> Rob_uknow, sorry, other question
<3> i wrote: private ImageIcon aaa = new ImageIcon();
<3> and later aaa.setImage("this is a url??");
<4> IR5391: google java icon tutorial
<1> it's in the tutorial
<1> www.thejavatutorial.com
<5> http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/ImageIcon.html
<5> why is it so hard to check the api docs?
<3> alright
<3> thx
<0> i got it
<0> thx very much
<5> yay
<0> :D
<0> i want to close a frame but the main program also it is closing
<0> i want that the main program is runnig
<5> set default close operation
<0> in the frame?
<5> see JFrame in the apidocs
<5> yes
<5> you can make it just close, close and exit, etc



<5> you need to specify the bahior with one of the JFrame constants
<5> behaviour
<0> defaultCloseOperation need a number
<0> no?
<5> yes
<5> one of the constants
<5> JFrame.EXIT_ON_CLOSE etc
<1> needs a constant look them up in the API
<1> Rob_uknow has been telling you to read it for a long time now
<3> default is 2
<3> when i am going to close the frame
<3> the main program goes also to close
<5> then set do nothing
<4> The default is do nothing.
<1> use the constant name not the number
<5> DO_NOTHING_ON_CLOSE
<5> that should do what you want
<0> what?
<5> thats the name of the constant
<0> sorry i have some problems with my conection
<1> myframe.setDefaultClose...(JFrame.DO_NOTHING_ON_CLOSE );
<1> similar to that
<0> thx calchas


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #java
or
Go to some related logs:

eygpt earthquake
captive-ntfs non-root
ajax.multipart
#chatzone
#gentoo
farsi funy
six chinamen in a maiden and a nightwatchman with a duck
Siemens C56i
amonra
bugger buggar spelling



Home  |  disclaimer  |  contact  |  submit quotes