@# Quotes DB     useful, funny, interesting





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



Comments:

<0> java studio enterprise from sun is free
<1> jottinger: so, Poseidon, bluej, argouml, all = just editor?
<1> no compile? no run?
<0> bluej is crap, but it can run stuff, sort of
<1> jottinger: but how can i know if my source code is correct? I did a project and i can't test :(
<0> if you designed a valid UML model, it'd be correct
<2> jottinger: Hey. :-) Long time no type.
<0> hey MaggieL
<0> argh, I still owe you an invoice address
<0> I KNEW I was forgetting something
<0> hey, did I ever, uh, get you a URL that's sorta private on my site?
<2> jottinger: Ooops. No, no URL from you.
<0> there
<3> where can i find a .jar emulator fo windowsxp



<3> ?
<3> well?
<4> Hey tera
<5> you thunder.dk
<5> yo
<6> hey Thunder^
<4> Hey xtra :-)
<7> so anyone know where I can find a text to speech applet that actually works?
<7> and is free? :)
<5> http://freetts.sourceforge.net/
<5> librart is free and easy to use
<7> sweet dude thanks :)
<7> I never thought to search for "speech synthesizer"
<8> can anyone refer me a roubst JMS provider?
<5> free?
<9> I was playing around with the concept of a rectangle which contains balls that bounce off the walls. My problem is that whenever a ball hits the wall, it removes a piece of the wall. I don't want to redraw the rectangle everytime, like with the moving balls, since I want to be able to put a "hole" in one of the walls later. How can I prevent that the bouncing balls destroy their surrounding box?
<5> remeber wheere it hit and draw the holes later?
<10> uppe: have them bounce 1 pixel inside the box
<10> they don;t have to get to the box before they bounce
<9> ah, that might be a good idea
<11> can anyone suggest why the following won't trim fields using the method at the very bottom? http://rafb.net/paste/results/uGxFwO37.html
<12> TopBanana: consider a concise test case.
<11> i have put test data in if that's what you mean
<5> trim as in trin the leading and trailing spaces?
<12> TopBanana: provide a minimal program which only demonstrates the problem, perhaps.
<5> yo bwell
<12> hi xtraman :)
<11> xtravaga.. no - trim an overly long string to allow it to fit in a column of data of a set width so that it outputs neatly on screen
<5> iam looking for Rob, cuz of it him i ordered BattleStar Galactica :) show kinda ****s
<5> TopBanana how should the output look like?give me an example
<11> xtravaga - http://rafb.net/paste/results/oQf4JX36.html
<11> need to get the details lined up into the right columns
<11> either by trimming the extra long ones and adding "..." at the end to fit, or by adding extra spaces to the short ones
<5> are you using 1.5?
<11> yes
<12> TopBanana: consider providing a test case (avoids having to guess what you are *really* doing): http://javafaq.mine.nu/lookup?22 Also provide any error messages that you might be getting. typically paste to http://pastebin.com
<9> smsie: heh, even if i make it bounce 3 pixels inside the box, it somehow manages to float too close to the box
<5> what i can see is you are trying to re invent formatting using lot of java code with 1.5 lifes become simpler
<5> http://java.sun.com/j2se/1.5.0/docs/api/java/util/Formatter.html
<11> Clackwell... im trying to do that right now but its difficult given the three different cl***es ive used
<5> samples are there
<11> xtravaga... cheers i'll take a look
<12> TopBanana: all you need is code that demonstrates the real problem.
<12> if trimming strings is a problem, show us how you do that and how it fails, in a working, tiny program.
<11> its not a full program, but it seems to be a problem with the following method that simply gets p***ed a string, and the required length, then returns it - http://rafb.net/paste/results/jHbhQs48.html
<12> you have a complete, self contained method and you are unwilling or unable to put it into a small program? why is that?
<12> now we have to put it into a small program and provide test data (which may actually work properly) ourselves. very demotivating.
<13> hi
<12> hallo cal
<12> TopBanana: System.out.println(trimFieldLength("12345678901234567890", 10)); -> 1234567...
<5> hehe :) while you are doing it, wrap the code with the main method and declare the cl*** too :P
<5> TopBanana shame on you
<5> make a test case
<11> ok here we are... http://rafb.net/paste/results/W2cWWP90.html
<11> so it seems to work



<11> yet in my entire program it only seems to trim the first columns worth of data but doesnt trim the rest
<12> TopBanana: TESTCASE The SSCCE - Short, Self Contained, Correct (Compilable), Example: http://www.physci.org/codes/sscce.jsp (mirror: http://javafaq.mine.nu/lookup?364)
<11> whats wrong with the above? it compiles and works as it should
<14> calchas which one should i take
<14> Java SDK 1.5
<13> yes
<13> J2SE jdk/sdk 1.5 (5.0)
<14> thx mate
<14> i am an auto didactic begginer
<14> do u have the link to take J2SE jdk/sdk 1.5 (5.0) ?
<13> top right of that page
<15> http://www.comics.com/comics/dilbert/archive/images/dilbert2006026106018.gif
<15> hur hur hur
<15> morning calchas , Bryin
<13> if you can't work it out you sould go back to first person shooters and beer
<13> hi talios
<16> hello
<16> anyone familiar with J2ME?
<12> Smithers, not i
<16> I'm appending a String to a form and then later when an event is generated I change the string but changes to the string arn't reflected for some reason??
<12> Smithers: you cannot change Strings in java.
<12> String objects, that is.
<16> I ***ign a new String to the object
<16> as in myString=new String("hello");
<12> Smithers: why do you use new String if you have/use a String literal anyway?
<13> moot
<17> hello, when I ***ign integer transfer integer values to bytes, even for values that greater than 128 ?
<16> That's what i did becuase i thought that the string might have been immutable
<13> it is
<12> Smithers: consider providing a test case (avoids having to guess what you are *really* doing): http://javafaq.mine.nu/lookup?22 Also provide any error messages that you might be getting. typically paste to http://pastebin.com
<16> anyway it didn't work
<13> DaAbz what?
<17> calchas I'm trying to do the following, I want to concvert an integer to bytes ?
<13> for what purpose?
<12> DaAbz: google has that covered up, down, left, right.
<13> in general that is a systems level thing and java is inappropriate for it
<12> might have to interface with c or something else, and send the int in a defined order of bytes.
<13> DaAbz for what purpose?
<13> it matters in how to answer your Q
<16> obviously Dabz..you can't ***ign integer values greater than 128 to a byte
<12> convert int to bytes is the problem.
<13> DaAbz are you still with us?
<13> at all
<17> yes, I am trying to re-phrase my question properly
<13> k
<13> that is a really good thing to do btw :)
<17> I have an ascii value of 130 which I am trying to convert to 8-bit encoding, in order to be able to send it correctly over a network in an outputstream
<13> the streams have methods that deal with that
<13> iirc take int, but p*** byte
<17> when I ***ign it to a character array to send the character, the data gets corrupted since characters support 16-bit
<16> can u have an ASCII value of 130?
<12> DaAbz: what'S wrong with write(int)?
<12> DaAbz: APIDOCS The API documentation for the Java standard libraries ( download at http://java.sun.com/docs/ ) lists ALL cl***es (see link "All Cl***es") and ALL methods (see link "Index"): http://java.sun.com/j2se/1.5.0/docs/api/overview-summary.html
<17> Clackwell I have tried make a loop that sends all the values in my integer array for some reason it doesnt work, there want to concert them to character array of a string without corrupting the data
<17> a character array or a string
<13> DaAbz why are you trying to p*** this byte ?
<13> for the third time of asking
<17> It's a binary message that I'm sending
<13> why use java?
<13> but in any case you can manipuate a byte or an int at the bit level
<17> becuase it's a part of an application, and it's the programming lanuage that I know best
<13> bit it's very messy
<12> DaAbz: until you provide a clear explanation of what your problem is i doubt anyone can help you.
<12> DaAbz: String -> US-ASCII byte[] -> write(byte[]) ?
<12> oh lawdee


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#london
#chatzone
unsightly feature did Abraham Lincoln have on his face
odc+squid
tartgirl
#teens
gty onlain
browseatwork.net
#chatzone
#AllNiteCafe



Home  |  disclaimer  |  contact  |  submit quotes