@# Quotes DB     useful, funny, interesting





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



Comments:

<0> mike2_, bah, at least its not instant.
<0> or pod.
<1> :)
<2> yay! im a newb!
<0> mike2_, got myself a nice bodum grinder the other week, don't have the eSpresso machine yet thou. Presspot does me well thou.
<3> kirbykirbyki: Where do newbs live?
<3> Is that Denmark, or Dutchland or something?
<2> In U.S.A!
<2> But you probley kno where i live by my ip
<3> I was using your typing style to work it out.
<4> what do you mean by identifier expected?
<2> o...kie...-officley confused- @_@
<3> abbs: It means it expects an identifier (a name) and you're providing it with something else, e.g., punctuation ([]{}.,/"$"$%^) etc.
<4> http://www.rafb.net/paste/results/OgnfsJ26.html please look at this
<4> it say the equal sign is ^



<4> and identefier expected
<3> x=y*z; should be inside an executable block, such as a method, constructor or initializer.
<5> you can put it inside your main
<5> then System.out.println ("5 inches is equal to, " + x);
<4> tnx
<5> np
<6> could someone recommend me a way to compare these 2 strings?
<3> With the .compareTo method in the String cl***.
<6> String username=request.getParameter("j_username");
<6> String vis="visitor";
<6> String macgeorge="macgeorge";
<6>
<6> if (username.compareTo("macgeorge")==0);
<6> {
<6> session.setAttribute("name", username);
<6> %><jsp:forwardpage="main.jsp" /><%
<6> else
<6> session.setAttribute("name", vis);
<6> %><jsp:forwardpage="main.jsp" /><%
<6> }
<6> thanx
<7> I got a java cl*** file that wont load as an applet.. but it compiles perfect.
<6> thats what i did, plus tonz of other methods that i could find
<7> Anyone wanna help me? Please?
<6> but it does not work!!!
<3> lacrimas8028: You can use equals instead of compareTo there.
<6> i did
<6> doesnt work either
<3> How?
<3> Oh.
<7> Anyone would like to give me a hand? or two?
<3> Remove the semi-colon from the end of your if line.
<3> D_Lebar: What error?
<6> the comparison one?
<3> lacrimas8028: Any if statement ever.
<3> if (stupid); //then put a semi-colon here
<6> ?
<6> lol
<7> ricky_clarks, no error.. but when I try to load the cl*** files as applets (using JGrasp), it says applet not initialized..
<7> and I dont know why..
<7> It's a code to draw a rainbow :-\
<3> Applets are crap anyway.
<7> well, i kind of need to see if the rainbow came out right :(
<6> its doesnt compile ricky_clarks
<6> :(
<3> lacrimas8028: Aww. Maybe you should read the bloody error.
<6> ';' expected
<6> ...
<3> Where?
<6> line 6
<6> here
<6> <%
<6> thats line 6 in my header.jsp
<3> Where's that? I can't see the URL.
<6> just a sec
<6> let me nomorepasting it
<6> http://www.nomorepasting.com/paste.php?pasteID=57644
<3> Ok, you need to learn some Java.
<3> www.thejavatutorial.com
<6> im learning
<6> 1st week



<3> JSP in the first week is wrong.
<6> i know
<6> i got to do it
<6> im finishing its just the end
<6> i just need this comparison to work out
<6> plz...
<3> session.setAttribute("name", username)
<3> ';' expected
<6> honetsly man no time for more tutorial now, thats what i do since the morning
<6> cool
<6> thanx
<6> anything else?
<6> %><jsp:forwardpage="main.jsp" /><% they aint work now
<6> before they redirecting the page normally
<6> no prob
<6> thanx a lot
<7> 0.o
<3> D_Lebar: I don't read private messages, and I've got a girlfriend anyway.
<7> lol
<7> Im not trying to hit on you.. trust me
<7> lol
<7> even though I am writing a program that draws a rainbow..
<7> 0.o
<3> Haha.
<7> So this is the thing. I wrote the code. 2 files. One Jpanel and one JFrame..
<7> JPanel draws the rainbow, JPanel calls the JFrame and runs it.. (i think?)
<7> so when I compile, no erros messages are given (anymore)..
<7> but I can't see what the draw commands "draw" because it wont open as a Applet window...
<3> Can you run it as an application?
<7> Hmm.. Thats a little ahead for me, i guess.. I dont know what that is.
<3> Applets are **** little things that run in web pages.
<3> Sorry, I'll stop swearing, bad habit.
<7> lol
<3> Applications are things that run standalone.
<7> hmm..
<7> I just did something.. and it kind of worked. I ran as a msdos window..
<7> and it pulled up the application ( I guess)
<8> I would like to ***ociate two integer values togheter, and later on iterate trough them in sorted order
<8> which object ?
<8> GOD DAMN
<8> WHy NOBODY on this channel NEVER HELPS
<8> ...
<3> Impatience coupled with vague questions from absolute idiots aren't fun to answer.
<7> Hey ricky..
<7> Thanks for the help..
<7> I got it to work with 7 minutes before due time.. lol
<7> Damn itteration always gets me..
<7> tk care man..
<9> why is it when i code final double VOLUME = 4 / 3 * PI;
<9> the 4 / 3 is ignored in my program
<9> for VOLUME
<0> my guess is integer division, 4 / 3 might be returning 1, so 1 * PI is what your doing
<0> try 4D / 3D to make it non integers?
<0> mmm, does D work? like 4L for longs? mmm, not sure off hand actually. hmmmm
<9> yep.. that worked
<9> but i dont get why i needed a D
<9> in my textbook.. they dont put D's
<0> by default, 4 and 3 are integers, so your doing integer division, which doesn't know about fractions
<9> they simply write out like i had it above
<0> bug in the book maybe.
<9> so for all division in java
<9> i have to add a D?
<9> if i want a fractional answer?
<9> or decimal, rather
<0> if you're dealing with direct numbers.
<0> you could have "double foo = 5; x = foo / 3;
<0> and the compiler would know that at least one of the vars was a double, and act accordingly.
<9> ahh
<9> i get it
<9> hrm
<9> well my program works :D
<0> personally I'm thinking it would have been logical to flag it as a warning/error, and force you to use 4I for integers, so its always explicit.
<9> but i now have to set it so it only prints out to 4 decimal places


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#java
12WHO IS THE PRINCIPAL CHARACTER IN FIDDLER ON THE ROOF?
#MissKitten
#chatzone
#php
#AllNiteCafe
quuote db
apache indexing off
You need the domxml or dom PHP extension to use the configuration tool
JDateChooser Jtable



Home  |  disclaimer  |  contact  |  submit quotes