@# Quotes DB     useful, funny, interesting





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



Comments:

<0> http://www.planetsimon.co.uk/b3ta_archive/b3ta_images/barely_legal.jpg
<1> how may I convert an Integer to an int, I tried int someint = (int) someInteger; didn't work
<2> .intValue()
<1> thanks , that actually works
<2> if you're using -source 1.5 the conversion is implicit
<2> Integer i = 7; int j = i;
<1> can I use the same thing to convert an Object to an int, or I first have convert the Object to an Integer and then to an Int
<2> the answer to that question is non-trivial
<1> hm... I guess I'm not using 1.5
<2> "no" is a gross over-simplification however
<3> i have a list of employee objects, which have an id, name, age etc. i want to put this list into a combobox (swing), which is easy enough. but if i'm displaying the name in the combo box how can i find out which employee was selected, in terms of their id?
<3> guess i'm thinking of this like a html combo box where u have a the text that is displayed in the list and the id behind the scenes to know what was selected
<0> http://machomedia.blogspot.com/2006/04/hydro-foam.html (work safe, just don't click on the other links)
<4> anyone have a good cvs help link?
<5> `man cvs'
<0> google



<4> ximbiot site isn't responding
<6> I hope everyone's ready for Eurovision!
<0> oh ****, when is that, rhowe?
<6> Clackwell: Tonight!!
<6> Clackwell: Go Finland!!
<6> And don't forget Lithuania, of course - http://video.google.com/videoplay?docid=6559817265804086311&pl=true
<5> Vorpal-: there's more than one link on that page
<4> hehe
<5> Vorpal-: http://cvsbook.red-bean.com/OSDevWithCVS_3E.pdf
<7> what's cvs?
<2> a revision control system
<4> dibblego!
<2> s/a/a legacy
<0> hi dibble
<2> hey mate!
<4> How ya doin?
<5> like subversion but worse
<2> how's it all going?
<4> It's all good, good to see a dalnet face,heh
<4> Bryin, thanks man.
<0> dibblego: ok, bit much work, on the phone/skype with momma at the moment.
<7> X: how are you?
<2> I need to get that VoIP stuff happening myself
<0> javaq_: why are you talking to undernet cservice bot?
<5> Clackwell: Misplaced sense of authority?
<0> Bryin: ;)
<8> (lunch time)
<9> evenin.. anyone awake tonight?
<1> anyone familiar with the second chance page replacement algorithm?
<10> hi
<10> what is epf file
<1> anyone familiar with the page replacement algorithms
<11> hello.. I think the answer is no, but if I have an array of something.. like a cl*** I have made and set it to 10.. if I need to add another item, is there a way to increase the length of my array?
<12> nevecd> String S[]=String[10]; S=new String[S/length()+1]
<12> nevecd> String S[]=String[10]; S=new String[S.length+1];
<12> second one
<7> omg
<12> nevecd> String S[]=new String[10]; S=new String[S.length+1];
<12> third one :)
<11> k. That will work then?
<12> yea
<11> cool.. thanks.
<11> I'll give it a whirl then.
<11> didn't know you could reinitialize the array while it was in use.
<13> nevecd: and follow java naming guidelines, don't use 'S' as a variable name
<11> yeah yeah..
<11> understood it was for a quick example
<11> umm I tried it but got an error.. when trying to access the variable after the new initialization.
<14> what was the error and what were u doing
<11> NullPointerException
<11> happens when I attempt to access the array after reinitializing it as per instructions above at this 0 level which had been working up until then.
<11> like using s-new String[S.length+1] wiped out my old entries.. all I want to do is add one extra to the array.
<11> like using s=new String[S.length+1] wiped out my old entries.. all I want to do is add one extra to the array.
<14> dont repeat
<14> u cannot, arrays dont work like that
<14> try using a List
<14> List list = new ArrayList();
<14> that is dynamically sizeable
<11> ok.. thanks..
<11> night!
<11> oh yeah.. one other thing. how do I convert input in a textfield to a double?



<11> nm.. found it.
<15> does anyone here use the XML dom cl***es in java?
<15> I have a really retarded problem...
<15> for some reason, when I save out my document to an xml file the whole thing ends up on one line
<15> yet, if I load an xml file into a dom, then save it back out (using the same function), it comes out with nice formatting
<16> depending on the lib, i think you can add a formatting/printing support objec
<15> anyone have any idea how you make it do the formatting? I looked at the functions for the nodes in your dom, but there doesn't seem to be anything keeping track of formatting... yet, I have this stupid problem which means I'm clearly doing something wrong
<16> which library r u using ?
<15> I'm just using the basic functionality in java itself
<16> jdom ? dom4j ?
<15> but like I said, if I load and then save out someone else's xml file it works fine
<15> no, the basic documentbuilder in java
<15> I don't have any added libraries of any sort
<15> I'm using the built in libraries for xml
<15> any ideas?
<16> when you get your documentbuilder print out the cl*** name to see what impl is behind it
<16> then see if that cl*** has any support for setting options
<16> more than likely it may be apache xerces or something like that, then cross ref its webpage for options to set
<15> trying now
<15> yeah xerxes
<15> or whatever its called
<9> what type of java collection is best to replicate a resultset
<15> apache xerces, so for this implementation, how would I know if I can tell it to format it...
<15> I just find it strange that I can format a DOM document I've opened, yet, when I put it through an XSLT transformation the resulting DOM object loses its formatting and ends up on 1 line
<15> either way I find java's way of handling xml documents to be less than intuitive
<15> got it thanks
<15> to some degree anyways... at least it's not all on one line anymore
<15> transformer.setOutputProperty(OutputKeys.INDENT, "yes"); <-- though it doesn't actually indent anything, but it does create newline characters
<17> Arrg
<17> downloading the JAVA SDK mad slow
<17> anyone know of any mirror sites (in asia?)
<0> fotoflo: ask google
<0> "index of" <filename_here>
<17> Your search - index of SW/j2sdk-1_4_2_11-nb-5_0-win.exe - did not match any documents.
<17> oh
<17> found one
<17> in mexico
<17> thats worse then the usa
<0> fotoflo: why download and outdated jdk?
<0> and why the netbeans bundle? do you need netbeans?
<0> Results 1 - 1 of 1 for "index of" j2sdk-1_4_2_11-nb-5_0-win.exe
<0> how many ways are there to use google? :)
<17> hey
<17> i diddnt know that it was an outdated version
<17> how big is the netbeans portion of the install?
<17> oh i see
<17> netbeans is huge
<0> might be able to pick it up at netbeans.org, too
<17> and i just realized why everyone is so quite, its like mad early in the mornin in the western hemisphere
<4> im here, and use netbeans,heh
<8> fotoflo: Use Eclipse, it's just better(tm).
<17> i want an ide thats like 5 mb
<4> Yeah, it's used more
<4> i have to get outta the habit of netbeans
<0> netbeans did some good catching up, as i keep hearing. i am not sure it's still a clear cut case for eclipse. and it certainly isn't if you are looking for a gui builder.
<4> eclipse's memory footprint is high too though
<17> no good
<17> im running an old, fragile laptop
<4> it's taking 10mb main and 98 virtual on my machine right now
<4> and I have one file open,heh
<0> no point installing any of these large IDEs then.
<0> might get away with a powerful editor or jcreator and similar.
<4> textpad!
<4> hehe
<17> yeah, dropped the netbeans download
<17> its like sunday morning now overthere?
<4> Overwhere?
<17> us
<4> 9a in florida, saturday
<17> yup
<17> oh saturday
<17> its 9a here
<17> err


Name:

Comments:

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






Return to #java
or
Go to some related logs:

child porn codeword
upsmon91a man
HTB-tools centos
saambe maldives
#chatzone
#linux
#linux
#MissKitten
#AllNiteCafe
enable horizontal scrollbar textarea



Home  |  disclaimer  |  contact  |  submit quotes