@# Quotes DB     useful, funny, interesting





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



Comments:

<0> is it a good idea to 'if(keyboard.hasNextInt()) { inVar = keyboard.nextInt(); }'
<0> or is there a better way?
<1> if i write a simple java program, will it work on a palm device?
<2> if that device supports java then yeah.
<2> look into j2me
<1> but do i have to recompile it for a handheld device or something ?
<2> Java = Java.
<2> So no, you don't. However, it helps to pay attention to j2me.
<1> thanks
<3> hi,, can i take picture whit java? i mean to control a camera whit java
<3> ?
<3> so?
<3> hi,, can i take picture whit java? i mean to control a camera whit java?
<4> Hello I have a questionm



<5> hello. what is the case syntax ?
<6> Irk: Do you mean CamelCase standards for Java Programming?
<7> no
<7> case variable of
<7> {
<7> }
<6> Ah, so you mean how do you switch on a primitive?
<7> I don't like your attitude.
<6> Haha, ok then. I won't bother helping you.
<7> you weren't helping at all
<6> You are Irk-ing me now.
<7> arr come on can you help me or not ?
<6> Irk: I can provide you with the required Google search terms if you desire...
<7> yes of course
<7> please
<6> switch java
<7> :)
<7> you couldn't just say so in the first case, you had to waste precious time
<7> but thanks
<7> can I use case 0..9: ...; break; ?
<7> or how can I use it
<7> 0-9 ?
<6> you want the same code for 0 through 9 executed?
<7> yes
<6> why not use an if statement then
<7> and I want to know what's the casematch
<7> oh
<6> case match is a primitive
<7> how do I convert from int to String and from String to int ?
<7> what will Integer.parseInt(val) return
<8> see the methods in the Integer cl***
<7> what's the difference between a static method and a non static one ?
<8> static means belonging to the whole cl*** and not to any instances of it. Therefore the encapsulated behaviour doesn't pertain to the object
<8> you shouldn't use static methods (in general)
<8> that is actually incorrect. Later when you know why you should sometimes use static methods, you can start putting them in. It is rare in a good design anyway
<7> thanks
<9> for what?
<7> for last night
<10> er
<7> this is madness
<11> morning
<12> 'lo
<13> is there a JCanvas or a lightweight component similar to Canvas
<11> easy to check the API
<13> couldnt find any thats why i ask
<13> meybe it's called something else
<14> Vaan: http://www.google.com/search?hl=en&q=like+jcanvas&btnG=Google+Search
<14> moin joe
<13> nevermind i found what i was looking for
<13> thc
<15> hi, can someone help me understand how java reads files? Reader reads array of chars which are 16 bits, but the file I have is ASCII...how does it still properly work?
<2> budric: there are many ways to read files. In your case a printreader is likely the best approach; it reads the file per line.
<14> budric: reading arrays of chars != returning whatever data read in arrays of chars
<14> moin lion
<2> Hi there Clackwell
<15> well I have a file with mixed ascii and binary...i'm having trouble comming up with a way to parse it.
<10> afternoon.
<14> budric: do it yourself. readers are for text data, iirc.
<15> I know where the binary data begins by processing BufferedReader input...now what? Can I still read the read() chars and convert to bytes by discarding the higher bits
<14> budric: stop using readers for mixed data files.



<15> what do I use?
<14> read the bytes yourself and do with them what you must.
<14> if you need them converted/cast to char, do it.
<15> with InputStream?
<15> i see
<15> but out of curiosity, how does the reader know if it should return 8 bits or 16?
<15> well it returns 16 all the time, but I mean read all 8 or 16
<16> salam
<16> how i can read port USB ??
<14> Xgamerz: can't with j2se. must find something to allow for that.
<17> tried googling java and usb ?
<17> hi Clackwell
<14> moin tera
<16> in jbuilder is not exist some package ?
<16> do that ?
<14> Xgamerz: jbuilder is a java development tool. it is not an extension to j2se.
<16> ok
<18> Hi!
<19> What is the recommended way to generate a popup in a Java app (like, when something running in the background triggers an event that will generate a popup to warn the user about something)?
<19> JDialog, perhaps?
<19> I guess the proper question is what object I should use to "contain" my popup
<14> Guybrush: see dialogs section of tutorial?
<14> TUTINDEX Quickly locate information about your topic of interest in the *big* tutorial index: http://java.sun.com/docs/books/tutorial/reallybigindex.html
<19> Sure thing
<20> Question: I have a function that compares a java.util.Date to a java.sql.Timestamp and it works fine when I compile it in eclipse or trace it in eclipse, but as soon as i build the application with ant and such and run the fully built application,l the comparisons dont seem to be working the right way. Any insight into this sort of problem?
<14> icenyne: What is a test case? Why would you write one? See http://javafaq.mine.nu/lookup?22 (to show what you are *really* doing) Paste test case and any error messages to http://papernapkin.org/pastebin or another pastebin
<20> http://papernapkin.org/pastebin/app/view/374
<20> thats the comparison
<14> that doesn't compile, sorry.
<20> i dont get any error message, it just tells me that the files have already been uploaded when i run it in eclipse, but when i run the program it uploads them all despite whether theve been previously uploaded
<20> yeah its just a little snippet
<14> icenyne: note that Timestamp has milliseconds or so, and thus out of the box may never equal Date, or some such.
<14> since you have not provided code i can comprehend, that is all i can contribute at this point.
<20> thanks
<21> hi
<21> can anyone tell me, is Macromedia Flash bascially identical to Java Applets in concept?
<21> thats what it apears to me
<21> like the difference is that Macromedia specializes in High performance Applets
<10> at a very basic level I suppose u could see them as 'similar'
<10> but saying that 'acromedia specializes in High performance Applets' is not correct
<10> Macromedia*
<21> hi Rob_uknow
<22> hi caverdude
<21> ah, Deano why is that?
<10> well they're not applets as we know applets
<21> Rob_uknow how is England doing? is it still there?
<21> :)
<22> not england
<22> holland
<21> ah ok you moved?
<10> (I can testify that England is still here)
<22> no
<21> ah you never were in England?
<22> nope
<22> never even visited england
<22> want to, someday
<21> I'm just crazy then I thought you were a Brit?
<10> you've not missed much.
<22> nope
<22> 50% dutch
<21> ah, hrm
<22> so how have you been?
<21> oh I'm entering a new Erra in my life
<22> bought a house?
<23> hi guys !
<21> I am ending the national Driving career, I'm working only 5 miles from home, and I may begin college to finish an MIS degree in 3 years night school
<23> anyone please for a small help?
<22> sweet
<10> killerzx take a look at the topic.
<10> "JUST ASK!"
<23> thanks
<23> java is the same with java screapt?


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#networking
wusb11v4 fedora
#MissKitten
xi zobb trid
#london
#MissKitten
#linux
PINK DYNABALLS STEROIDS
#ubuntu
power2go nag screen



Home  |  disclaimer  |  contact  |  submit quotes