@# Quotes DB     useful, funny, interesting





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



Comments:

<0> :-)
<0> it was a joke
<1> jendos: Are you really from the Republic of Moldova?
<0> hmm.. yep..
<0> why are you asking ?
<2> Bryin, http://www.jetbrains.com/idea/training/demos/AJAX_demo.html
<3> [23:23:15] -SomeBoDDY- Location: Moldova, Republic of = 195.138.119.131
<0> znabela ?
<0> so
<0> if u want to warn me or smth.. then ...
<4> nono
<2> hey teralaser
<0> ok bb all ;)
<5> hello?
<5> can anyone here help me with ActionListener?



<4> :D
<4> whataboutit?
<5> heh
<5> i'm having a hard time with JComboBox and having it display a form in a seperate JPanel depending on what was picked in the JComboBox
<4> oh
<5> I want it to set a variable depending on what option was picked that would go to a case statement and display different forms for each one
<5> it seems like it would be simple, but all of the tutorials i've found so far haven't been too much help
<4> you need addItemListener I think
<5> what's the difference?
<4> hm, I might be wrong.
<5> this is driving me up a wall lol
<4> Can't you throw some System.out.println(..) lines in there and see what is happening ?
<5> why can't i have a "public void actionPerformed(ActionEvent event)"
<5> i've tried but haven't had much look
<5> *luck
<4> what happened exactly /
<4> ?
<5> nothing
<5> thats the problem
<6> MrGravy, I'm not sur about what your problem is
<5> java.awt.event.ActionEvent[ACTION_PERFORMED,cmd=comboBoxChanged,when=1140477008891,modifiers=Button1] on javax.swing.JComboBox[,47,5,199x25,layout=javax.swing.plaf.metal.MetalComboBoxUI$MetalComboBoxLayoutManager,alignmentX=0.0,alignmentY=0.0,border=,flags=16777544,maximumSize=,minimumSize=,preferredSize=,isEditable=false,lightWeightPopupEnabled=true,maximumRowCount=8,selectedItemReminder=Invoice]
<6> but in actionPerformed
<5> thats what happened
<6> you can user getSelectedIndex
<6> use
<4> looks nice, MrGravy
<4> I don't understand your problem then.
<4> you selected Invoice, I can see.
<4> :D
<5> yes sir
<5> is there a way to just reference selectedItemReminder in that long string?
<6> probably
<6> event must have a source property
<6> pointing to the combobox who fired the event
<4> http://java.sun.com/j2se/1.5.0/docs/api/java/awt/event/ActionEvent.html
<4> MrGravy !
<5> hmm
<4> or just http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComboBox.html#getSelectedItem()
<4> :D
<7> Can anyone recommend a good preprocessor for J2EE?
<7> I have code that I'm trying to share between J2ME and J2EE, but one of my J2ME cl***es which I'm trying to reuse extends from a J2ME cl***.
<5> hmm
<5> this is not making sense
<5> how would i get this to return "Invoice" in a String
<7> J2ME Polish is good for J2ME, but I'm hoping that I can use preprocessing when compiling for J2EE
<8> Is there a simple tool I can run my java files through to add in the bones of javadoc headers and format my files a bit more neatly? My source is a bit messy
<8> Perhaps one tool to do the formatting and and a seperate one to add the bare javadoc headers
<9> sed ?:)
<8> I was hoping more for something like indent for C
<8> I just found some commercial tool called jindent. Downloading as we type
<10> How to add a picture ( .jpg for example ) to a Frame or Panel ?
<11> hey talios
<11> you heer?
<2> 'lo
<11> hey
<11> gotta question
<1> this is stumping me
<1> I have a few codes



<1> NCEE2, NCEEE2/06, NCEE3, NCEEE3/06, NCEE4, NCEEE4/06
<2> sounds like homework :) go away
<1> what's the quickest way to get the first int value from the strings
<1> other than regex
<1> I need 1.3 compliance
<2> .*(\d)
<2> oh.
<1> yah
<1> tell me about it :)
<2> mmm, apache regex ;-) works on 1.3
<1> can't add any more libs :(
<2> for loop over each character?
<1> yeah
<1> or I thought trying char 4 then 5
<1> using Character.isDigit(String.charAt(x))
<2> mmm, that would imply no 3 char courses, or 6 char courses...
<2> I ***ume there codes for courses and dates (by the look of them)
<10> In a TextArea, is there a way to set the scroll bar to always follow the last line ? To automatically scroll down when it needs to ?
<12> I am having trouble with making these shapes with lines on all four sides of a frame
<12> I know how to make the first shape with the lines
<12> but not how to reflect them
<12> any ideas?
<13> Hi, does anyone where i can download a free customable java chat server? :> for linux, because i googled for one and found just trial java chat progs
<13> *know
<12> kinematrix
<12> you there
<12> I am using loops to make a shape with the drawLine method
<12> and I am not able to put it on more than one corner or the frame
<12> Any help?
<12> ?
<12> Any suggestions?
<14> for what?
<12> I am using loops to make a shape with the drawLine method
<12> and I am not able to put it on more than one corner or the frame
<12> of*
<14> swing?
<14> or awt?
<12> correct
<12> swing
<14> are you using a JPanel and doing all the drawing in the paintComponent method ?
<12> JPanel
<14> as in extending a JPanel?
<12> yes
<12> cl*** DrawPanel extends JPanel
<14> all the drawing in the paintComponent method ?
<12> Correct
<12> paintComponent(g)
<14> you're not trying to call that methosd are you?
<12> no
<12> I am working inside of it using the drawLine method
<14> should be fine
<12> I know
<12> but I am having problems
<14> are you sure you are on the drawing surface etc
<12> yea
<12> I have made a shape
<12> is there a way I can show you what I have coded
<14> do you have a test case?
<14> if so post it to the wihteboard on the FAQ
<12> ok
<14> but my time here is very short
<12> ok
<12> I will hurry
<12> ok
<12> goto number 17
<14> paintComponent
<14> notice the capital C
<12> yea
<12> but it still worked
<14> [22:16] <12> but I am having problems really ?
<12> no
<12> I am having troubles
<14> how did it ever get called is an interesting mystery
<12> with making it appear on every corner


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#AllNiteCafe
vsftpd autoban ip
remove via drivers recovery console
#linux
pictunary parts
#php
#teens
#mirc
#teens
#c++



Home  |  disclaimer  |  contact  |  submit quotes