@# 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> but i have not tried to run it using xalan
<0> i mean before deploying it
<0> but its so strange, because i dot have any <a> tags in my code
<0> is this <!-- comment --> and <xsl:comment> my comment </
<0> is this <!-- comment --> and <xsl:comment>comment </xsl:comment> the same?
<0> i mean for the parser
<1> http://computerworld.co.nz/news.nsf/NL/7A4248E6D2B110EDCC257148001F7913
<2> nice, Bryin
<1> :)
<1> hey talios, you just missed my link re: NZ + Java
<1> you need to blog it~
<3> oh?
<3> Bryin, so whats the link?
<4> http://computerworld.co.nz/news.nsf/NL/7A4248E6D2B110EDCC257148001F7913
<3> ta
<1> sorry talios - went afk



<5> hello anybody
<5> i have a question
<4> I have many questions
<4> would you like to share your question ?
<5> how to use thread?
<4> http://java.sun.com/docs/books/tutorial/essential/threads/index.html
<6> jdk docs on the Thread cl*** are indeed pretty clear.
<5> ok
<5> thanks
<7> can anyone recommend a good web hosting service that offers java support?
<3> cluckuniv, http://www.contegix.com get alot of favorable java mention
<7> thanks
<3> cenqua, at***ian, and others I know all use em
<3> thats managed hosting/colocation thou....
<7> k.. know of anything for just personal use?
<3> www.myjaveserver.com
<3> www.myjavaserver.com even
<3> (used to be mycgiserver.com)
<1> cluckuniv: http://www.RimuHosting.com
<3> or them :)
<7> thanks guys
<1> check out => http://RimuHosting.com/javahosting.jsp
<8> how can i align number with 2 decimals at the right of a JTextArea
<8> :-(
<8> folioChercher = Integer.parseInt(JOptionPane.showInputDialog(null,
<8> what does it return if press the Cancel button ?
<9> test it
<8> i cant
<8> i just go ouyt in the exception
<9> System.out.println( JOptionPane. ...
<9> will test it for you
<9> was it a null pointer exception ?
<8> i think it return 0 in the exception
<9> what exception
<8> catch
<8> exception
<9> no not what did you catch, that did it throw
<9> see the stack trace
<10> rbo: Exceptions give output, it looks like a load of garbage, but it isn't.
<9> you do print that don't you?
<10> rbo: http://cime.net/~ricky/netsim/pi/interactive.html - see the bit where there is a load of garbage under the heading constructors (page down a bit further).
<10> I should put relative links in those things.
<8> Integer.parseInt(JOptionPane.showInputDialog(null,
<8> i think clicking null return 3
<8> right ?
<9> TEST it
<9> no not right
<8> wait
<10> You can keep gabbling in his absence..
<8> http://www.nomorepasting.com/paste.php?pasteID=60425
<8> ?
<8> how can i align decimal number in a JTextArea
<8> in order to have all "." on the verticaly aligned
<8> the numbers are 2 decimals
<10> rbo: The easiest way would probably to make the JTextArea right-aligned, if that works.
<10> Otherwise, just pad the beginning with spaces. A bit of String manipulation and a for loop or two.
<8> i create lines with for and /t
<10> Oops.
<8> http://www.nomorepasting.com/paste.php?action=getpaste&pasteID=60425
<8> doesn somebody understand this
<8> *does



<8> i think the error message doesnt go in the catch
<8> cause its threw when i click cancel
<11> hi
<11> anybody on?
<12> hi
<13> How do I add one int to a variable without erasing its existing content ?
<12> was wondering... i'm doing a while(...) {
<12> in a applet
<14> dude dobe, you on crack or something?
<14> that makes sense none.
<12> with some file.write in it
<14> Fred--: needs to be signed
<13> BryinAFK I mean like if i got d=1... i add 1 to d it puts 11
<13> =d
<12> I know that's not what i'm looking for :)
<12> I just want my applet not to freeze
<12> while doing his while ;)
<11> i got a question - trying to compile my java from command prompt windows 2000 and it doesn't have the javac command
<11> any ideas?
<12> what I need to call to let my applet process mouse event in a while
<12> my while freeze my applet until it end
<12> wait ?
<12> repaint ?
<15> what is a nice newb program for writing Java?
<16> anyone here know whats the command for drawing a sirkle by a simple mousepress???
<16> *sircle
<16> *circle
<16> forget it
<17> morning
<18> Hello, I have a java program that does some networking(listens on a socket and once a connection is created it never closes it and continously keeps reading for data if(InputStream.read()==0)continue; else program does some logic), the program has about three threads that are in a while loop to continously listening for incoming data, however the the CPU consumption is always at 99%, all the consumed by the java process, any ideas how can I reduce this ?
<9> switch to event based programming instead of busy loops
<18> calchas can you elaborate ?
<9> you are constantly looping, right ?
<18> yes, loop to see if there is data sent or not
<18> I'm continously calling the .read() method
<9> why not wiat for a time out on the read
<19> InputStream.read blocks until data is received, afaik.
<9> when I did this it was something like that, but this is a foggy past event
<18> 1) How can I wait, 2) I dont know when the data will be sent
<9> what rickety said
<10> Doobz: It waits anyway.
<10> Doobz: You're doing something else wrong. Post a testcase to a pastebin.
<18> rickety no it does not block, if it did that would be great, it returns zero if no data is sent
<10> Doobz: InputStream blocks. Hence nio exists.
<18> rickety pste bin sugesstion sounds great
<10> If InputStream.read returns 0, then the server has sent a 0.
<10> "Reads the next byte of data from the input stream. The value byte is returned as an int in the range 0 to 255"
<9> 'Method blocks until input data is available'
<18> http://rafb.net/paste/results/FXgZ1T85.html
<18> the while loop in the requestHandler cl*** is used to keep the connection permanent, never close the connect
<20> morning
<9> hi joe
<18> morning jott
<18> calchas and rickety see anything unusual
<10> Yes. I'm watching an amusing video.
<18> I mean in my code, smart boy
<9> doobz, cut the attitude
<9> Doobz what's on the other end of the connection ?\
<18> a client
<9> keep going
<18> keeping a connection permanent
<9> did you writye it?
<18> no, it's C program
<18> that I know nothing about
<9> does it constantly send data ?
<18> no,
<9> how do you know
<9> I say this as it looks like it does
<18> the method keeps returning -1 or 0 all the time, which is the int value indicatiing there is no data on the socket
<10> -1 is. 0 isn't.
<9> what do you think -1 means ?
<10> -1 isn't either, slightly misread ;)
<21> hello world
<22> aw crap. our main coder is jumping ship


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#AllNiteCafe
multidimentional vector C++
#AllNiteCafe
#java
#linuxhelp
aaroholice
NoClassDefFoundError: Files QTJava
#php
#MissKitten
activewidget tabs size



Home  |  disclaimer  |  contact  |  submit quotes