@# Quotes DB     useful, funny, interesting





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



Comments:

<0> lol
<0> www.just****inggoogleit.com
<0> and i did
<1> you think its funny?
<0> eveyrhting i could think of
<0> linking cl***, user-defined cl***es
<0> cl***es this
<0> clases that
<0> then gave up
<0> google let me down -_-
<0> which is rare
<1> think of me saying this when you are sitting at the examination table and trying to explain your teacher why you didn't learn **** in his cl***
<1> google won't let you down once you learn how to use it correctly
<1> once you've gone through the java tutorial.. you would learn better search words
<0> hmm ok well i bookmarked all the urls you sent me
<0> i shall *do* them



<1> you do that
<0> sigh
<0> ...of course its crap code its my first week
<0> :@
<0> still doesnt fix the problem
<2> stupid retarded noober question - http://pastebin.com/584847 - i'm extending DefaultListCellRenderer, shouldn't the method i've written be automagically used when the objects in the list are RegistryKey objects?
<3> you need to add it to your JList, I'd presume
<3> Clackwell : besides, I suspect you are not overwriting the original method , because you use "RegistryKey" instead of Object
<3> it must be declared exactly as the parent to override it : http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/DefaultListCellRenderer.html#getListCellRendererComponent(javax.swing.JList,%20java.lang.Object,%20int,%20boolean,%20boolean)
<2> oops, fixed this a while back, cheers anyway teralaser
<3> oh
<3> AND I bothered Clackwell by using tab complete.
<3> :S
<3> hi Bryin
<3> oh just netsplit.
<4> I open a file in main(), but want to be able to write to it in another cl*** (I'm parsing an XML-file) - is it possible to make the FileWriter-variable accessible globally?
<5> public
<5> make it
<5> ;P
<5> final
<4> Hm, I thought I tried that without much success..
<5> where do you want to read that from/?
<5> an internal cl***?
<5> explain a bit
<5> paste it
<5> bettter
<4> Ok, hang on
<5> as im rolling a splif
<5> ;P
<5> lol
<5> lwl
<4> uh, could you save that spliff for later, or at least until you've fixed all of my problems? ;)
<5> ye sure
<5> ;)
<5> i am multi processing though :P ahah
<5> cmon whre is it ..
<4> I just have to paste it somewhere
<5> pastebin
<5> .....
<5> http://pastebin.com/
<4> http://pastebin.com/585179
<5> aha
<5> kk s8
<4> As you see I'm opening a new file on line 62, I want to write to it on line 119 in the MinHandler cl*** :)
<4> If you can help me with this AngelDust_Go you will be my very own personal hero. I _might_ build an altar to honor you
<5> 62
<5> 119
<5> hmm
<5> here
<5> PrintWriter utfil = new PrintWriter(new BufferedWriter(forbTilUtfil));
<5> take this
<5> enter a line
<5> btween
<5> 25,26
<5> enter a new line and paste it there
<5> if it does not word tell me to open my
<5> editor
<5> it with my editr
<4> I'll give it a try :)



<5> ye goon
<4> but that doesn't work (of course), because then it doesn't know of forbTilUtfil, which contains the FileWriter
<5> aha
<5> ye
<5> movem both
<5> to the beginging of the cl***
<5> cuz
<5> u use them throughout
<5> the cl***
<5> so they must be declared
<5> in the field of each cl***
<5> that means
<5> move
<5> #
<5> nyfilnavn=nyfilnavn.concat(".htm");
<5> #
<5> FileWriter forbTilUtfil = new FileWriter(nyfilnavn,false);
<5> both
<5> at the begining of cl***
<5> naming nyfilnavm ->> public
<5> final
<5> omh
<5> omg
<5> all of them are inside there?
<4> If I do that I get an "<identifier> expected" error
<5> ye sure
<5> let me do that properly
<5> and sent it back
<4> thanks :)
<5> cuz its about most wronk programmed
<5> ;P
<4> This problem is driving me nuts
<4> If it's not obvious from the code, what I'm doing is reading an xml file and then outputting a htm file, but only writing the title and part tags in the xml-document
<4> How's it going AngelDust_Go ? :)
<5> just a bit
<5> pls
<5> figured out the way
<6> can someone help me with this line? "frame.setSize(400, 600);" Eclipse gives me this error: Syntax error on token(s), misplaced construct(s) (red line underneath the .)
<5> weedar
<5> done
<4> exccellent!
<4> What did you do and how? :)
<5> finally
<5> after thinking and thinking
<5> it was
<5> two words
<5> !!!
<5> lwl
<5> and i am stoned!
<5> now!
<5> public void characters(char[] ch, int start, int length, PrintWriter utfil) throws SAXException {
<5> String s=new String(ch, start, length);
<5> s=s.trim();
<5> if (s.length()>0) {
<5> utfil.println(s);
<5> }
<5> }
<5> this is ur method
<5> ;)
<5> nothing else changed
<5> just add the printWriter to the method when calling it
<5> ;)
<5> cool?
<5> and then try
<5> writing it
<4> cool!
<5> i mean
<5> add1
<5> a try {} catch{}
<5> for exceptions
<5> ;)
<5> i own
<5> ahahaaahhaaa


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#AllNiteCafe
12WHAT COUNTRY JOINED THE E.E.C. WITH THE UK?
ALOOOOOOOOOOOOOOOOOOOO
chirst-all
mbmon em64
#AllNiteCafe
r420r mirc
#chatzone
#mirc
vecin 2



Home  |  disclaimer  |  contact  |  submit quotes