@# Quotes DB     useful, funny, interesting





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



Comments:

<0> casting doesnt means +1
<0> it means + ""
<1> i need it to be random
<0> sure
<0> but you cant define an integer to a String without casting it
<1> by casting you mean initiliazing?
<0> no
<0> i mean casting
<0> casting means convert
<2> morning
<3> wow, noticed my machine was lagging a little... looks like I have almost 500 instances of the JVM running (left over from java programs that I closed a while ago) is this normal?
<3> I think perhaps those programs did not terminate correctly
<3> (e.g. I close the window, but they don't actually exit)
<4> cn28h: Closing a window doesn't dispose it, or exit the JVM.



<4> cn28h: See JFrame.setDefaultCloseOperation(int)
<4> Might be in Frame, not JFrame, can't remember.
<3> well, it's not my code actually, but is there a way to close it other than killing the JVM? or I have to modify the code?
<4> No. Yes.
<3> all right, thanks
<3> damn, that definitely just free a few hunder MB of RAM
<3> and, I can't type
<5> Can I declare a variable in one function which has the same name as a variable declared in another function?
<6> [Cradle]: yeah, sure, they're in totally different scopes
<7> Yeah I got it. I wrote the simple prog and they didnt relate to each other.. :)
<7> Thnx anyway
<8> morning
<7> Guys, which is better: to create one function for reading and outputing information from and to user, and call that function any time I need it, or to have read and print code in every function, where I need it? If you understand what I wanna ask... :)
<2> a function would be tidier
<7> And is that just because of the capacity of prog, or are there any other reasons for that?
<2> no, its just less effort for you and makes the code easier to read
<7> Ok
<7> Thnx :)
<9> An EJB getByXxxx() method returns a collection - is there any way (using xdoclet) to get a HashSet on return?
<10> hi all
<10> i'm having trouble with jcoverage in maven 1.0.2
<10> tests run, some failed and some p***ed but it doesn't generate no html reports
<10> any help/suggestion ?
<11> If I need to create an array before I know how many elements are going to be in it, how do I do that
<12> don't instantiate it
<11> so for example "String[] myArray;
<12> then instantiate it when you know how many you need to put in it
<12> try
<11> sorry?
<12> try it
<12> see if it works
<12> test
<11> k
<12> test it
<12> think yourself instead of get spoonfed
<11> i'm sorry, i thought you meant "try" as in the control operator
<11> thus my confusion
<12> if anyone speak of "try" in here.. and its not written "try/catch" then its try as in try it out before asking
<11> gotcha
<11> ok so I tried, what I've got is "String[] myArray;" outside the loop and inside the loop I've got "String[] myArray = (String[])Array.newInstance(myArray.cl***, arrayLength);
<4> Er, isn't the first parameter the type of *element* that you want?
<4> Anyway, what's wrong with new String[arrayLength]?
<11> i just figured it out
<11> i was making it more difficult than I needed to
<11> agian
<11> again
<4> When I started with Java, I typed Array.getLength(array) instead of array.length ;)
<11> heh
<13> Is Java JRE 1.5 a developmental release?
<13> or is it the latest version? stable?
<14> it's stable
<14> for a long time now
<14> almost a year



<13> when was update 6 of the jre released?
<15> trulof: who knows. does it really matter?
<15> it's a patch release
<13> free hushmail accounts are deleted if not accessed in each 3 week period.
<13> can you stay logged in all during these 3 weeks and simply check your mail once a day? or does access refer to logging in?
<15> trulof: have any more irrelevant or off-topic questions while we are at it?
<13> wlfshmn, i ask the questions that matter to my life.
<15> trulof: indeed, do so, but ask where they matter to more people than you.
<13> how come when i search java jre, i get 1.42 as my result?
<13> this is an old, obsolete release.
<13> how would a girl ever find 1.5?
<16> trulof: www.java.com ... automatic download
<16> jre is not the developer release
<13> for how many versions has java asked the user if they wish to always trust the web content provider they are visiting?
<13> was this in 1.42?
<17> I believe that's a browser thing, trulof, not a java/application thing.
<13> no, for java applets
<13> java web content
<13> like this webchat i am using
<15> trulof: if the applet is unsigned, or signed by an unrecognized authority, I expect it has always asked
<16> trulof: whenever the applet is insecure
<16> unsigned ... better word for it
<15> Can't say I've ever actually used applets though
<13> but in this latest release, i have ticked "always trust" the hush content provider.
<13> could i have done this with 1.42?
<13> hush being hushmail.
<13> a java webmail service.
<15> Most ikely, but the best way to find out is to try.
<13> i have friends who are using hushmail with me and they complain that it takes them so long to log in.
<13> this is why i am exploring to see if there is something more they could do than they have already likely done
<13> to improve their access.
<13> You see, folks?
<18> is there a way to set a different font for all the swing components?
<12> of course :-)
<18> i mean
<18> in one go
<12> setFont(new Font(...)); most likely
<18> i want to change the default
<12> oh
<12> hmm..
<12> I have to admit I never tried that :-)
<12> but make cl***es yourself and make it work like that :-)
<18> well i should but now it s too late i ll have to modify everything
<12> :-/
<18> thanx anyway
<12> oh you can make a list of some kind and add the components refs to it and loop through it
<12> and change the Fonts that way
<12> easiest way I can come up with right now
<12> out of nothing :-)
<12> but you need to check if they all got the setFont method before of course
<12> or make a switch and check what type of cl*** it is
<18> oh wait i got something from google
<12> when you find.. paste url here please
<18> ok just a sec to try it
<18> http://www.rgagnon.com/javadetails/java-0335.html
<18> nice:)
<12> cool
<12> Hey LLyric
<12> cya guys
<11> If i've already declared a string array like "String[] = myArray", how would I use setChar to push items into the array?
<19> um
<19> why would you use setChar to push items into a String[]?
<11> yeah, i know, you wouldn't
<11> nm
<11> myArray[i] = something;
<20> 'lo mike2_


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#networking
simple card game+c++
aura nebuna
sleepıng sex
#MissKitten
#linuxhelp
feodora mailserver
#linux
freazom
social tron.com



Home  |  disclaimer  |  contact  |  submit quotes