@# Quotes DB     useful, funny, interesting





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



Comments:

<0> whats an exception?
<0> an error?
<0> for example in pascal average := total/0;
<1> NumberFormatterException or something similar I think
<0> will it try it then just stop
<0> ?
<2> why
<2> is
<2> that
<2> person writing
<2> so
<2> many lines
<2> , thus cluttering up
<2> the channel so much
<2> ?
<2> that is very



<2> hard to read
<2> you know
<0> sorry bad bahhit
<0> bad habit
<3> hi all, do we have a Java ssh client in mobile phones?
<2> here's the "we" person again.
<2> if we have, our friend google here has it.
<4> anyone alive ?
<5> multicast is ****ing clever
<5> yes i signed on to say that
<4> anyone alive ?
<2> logijugi: someone just got here and said something. don't be an idiot please.
<6> guten tag
<7> hello... i have a problem with using and in java code... any body can help me?
<7> helloo
<7> anyone overthere?
<8> hmm
<9> there's no one around
<7> come on
<9> coz there's no question
<8> ehmm
<7> i need help
<8> what's your prob, mate?
<9> what's the question?
<7> okk. question is coming.. how can i use "and" in java code
<7> for example... if (exp) and (exp)
<9> :)
<8> exp == exp
<9> VB thing
<7> i have 2 exp's must be true in same time
<9> if (exp1 == true && exp2 == true )
<9> OR
<9> if (exp1 >= 0 && exp1 <= 10)
<9> DiscipleCode: u there?
<7> yes i am
<7> i am trying it now
<7> if (document.partiuye.sehir.value == "" && document.partiuye.sehir2.value == "")
<7> is that syntax right
<7> i am using this code for checking the form fields
<7> it must be false because it is not working
<9> yup
<9> try OR too ||
<9> 1 1 is 1
<9> 1 0 is 0
<9> 0 1 is 0
<7> it must be "and", not "or"
<9> document.partiuye.sehir.value, returns what?
<9> String, int
<7> returns a form value
<7> partiuye is the name of table and sehir is name of a combobox
<9> cool
<7> if you have time i can send you the code
<9> oh sorry i'm busy doing c++ codes
<7> thank you any way...
<7> it seems i must try more
<7> if (document.partiuye.sehir.value == "" && document.partiuye.sehir2.value == "") What is the mistake in this code?
<9> read the thrown error
<9> test first, if (document.partiuye.sehir.value == "")
<9> if success



<7> thrown error?? what is that
<7> it is succesfull
<10> can anyone tell me a good tutorial?
<0> n e 1 remember how to end a program in pascal?
<0> before the end
<10> can anyone tell me a good java tutorial?
<10> plz?
<9> Thinking in Java
<9> Sun website, see java tutorial
<10> thanx
<11> im trying to store a list of variables, in the format "private final static Color red = new Color(255,0,0);" in a seperate cl*** file called paintColors, so that i can just use import paintColors.* into my main program and use the line redPanel.setBackground(red). however, it still doesn't seem to like the variables when i call them in the main program. can someone tell me what im doing wrong please :)
<12> cl***es generally begin with a capital letter fyi.
<0> n e 1 remember how to end a program in pascal?
<0> before the actual end.
<12> the variable is private, external cl***es will not see it Czu_ZzZ
<12> make it public
<13> sup then Czu_ZzZ
<13> oh ok Deano is on the case
<13> lo btw Deano
<12> then use redPanel.setBackground(paintColors.red)
<12> lo A2thek
<13> hows things?
<12> but rename paintColors PaintColors and put it in a file called PaintColors
<12> should be capitalised
<11> ok done all that, nice one
<11> The import PaintColors cannot be resolved
<7> javaq_..... thanks for your help... it is working now...
<12> sorry playing with vista and my network card disconnects after a bit
<13> whats it like?
<12> odd
<12> clunky and odd
<12> so hard to get to certain things
<12> like they're hiding network settings proper, behind like 6 screens
<12> and a pain to get to
<13> hmm
<13> is it worth a try?
<12> yeh
<12> plenty broken in it still, even in the latest beta
<12> I mean some really simple things are just broken
<12> you'd think it should be just bug fixing now
<13> yeah, but then they have delayed until q1 next year
<12> yeh but this beta is still meant to be 'feature complete'
<12> and its missing a bunch of polish
<13> truse
<13> true even, but thenthis is microsoft
<13> they have lots of undocumented "features"
<11> sorry deano, back again. still insists that it cannot resolve the import statement even though the file is showing in Package Explorer and in the directiry
<14> Czu_ZzZ: what is the exact compiler error message?
<11> The import ColorList cannot be resolved. HCIPaint.java, line 4.
<11> 4: import ColorList.*;
<14> where is package ColorList?
<11> in the same folder as the HCIPaint program is a file called ColorList.java
<11> public cl*** ColorList { public final static Color red = new Color(255,0,0);} etc.
<14> you cannot import cl***es that are in the default package
<11> ok, so do i need to create a subdirectory and cretae a new library package?
<12> u shouldnt have to import it if its in the same package
<12> ignore the import and just do ColorList.red where needed
<14> Czu_ZzZ: either learn to use packages or don't use them at all (and so don't use import statements for your cl***es)
<14> http://java.sun.com/tutorial/java/interpack/packages.html and http://javafaq.mine.nu/lookup?254 if you opt for the former
<11> ah. that makes sense. i need to use something the code was becoming very confusing. cheers guys.
<14> the problem, among others, is that cl***es that are not in the default package (those with an explicit package declaration) cannot use those that are in the default package
<14> however, for learning, and you wish to delay your understanding of packages, it is safe to avoid them
<11> i wish?
<14> I don't know, do you?
<11> i do
<15> hello world
<16> hi
<15> hi
<16> anybody online
<15> yes
<16> gotta write a checkers playin bot
<15> huh
<16> wonderin where i could rip some code from
<15> :))


Name:

Comments:

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






Return to #java
or
Go to some related logs:

tactac dude
#php
cannot open file 'OpenGL32.obj'
gentoo xorg-X11-deprecated-libs
#linuxhelp
#london
#linuxhelp
maf and firefox
#linux
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes