@# Quotes DB     useful, funny, interesting





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



Comments:

<0> one or the other
<1> int zeta1 = java.lang.Integer.parseInt(clientnum1..replaceAll("\0","")); ain't working for sure
<1> it says identifier expected
<0> too many .s
<0> java.lang.Integer.parseInt(clientnum1.replaceAll("\0",""));
<0> that's just a syntax error, should be pretty easy to find
<1> Hey it works!
<0> good
<1> Client takes back that
<1> Now only thing that's left is to make it read String num1 = new String("45");
<0> this is where I miss C...strings stop when you hit a \0, no matter how many of them there are :)
<0> why isn't it taking that?
<1> No no it works.... almost wait
<1> let me check something
<1> Yes it is functional
<1> yes i am saved



<1> Thank u.
<2> :)
<0> that's okay. Just make sure you pay at the door :)
<0> we ought to hang out a sign..."will do homework for cash"
<1> this is the price for living a life in complete sin. U party on for 3 years straight and at u last semester u can't type a single string in Java. 5 days ago i compiled by first HelloWorldApp
<0> see, *this* is why I place zero value on a degree
<1> Well to be exact it's probably different. Theoratically we have learned to program in C,Java,C++,Pascal,Basic,Html,SQL,MySQL,PHP,Javascript,XML,Lisp and MatLab :D
<0> and can you actually program in all of those?
<1> It depends in what u need me to do i guess
<0> I've written code in most of those
<1> Like i didn't learn Java cause i did almost all the past homework we had in C
<1> just could have Sockets and all
<1> and i had to learn Java eventually
<1> could = should
<3> Nora14 ?
<1> gtg
<3> nora is a bot which is automatically sending virus to people
<1> thanx again for ur time
<1> Goodbye
<1> Thanx a lot.
<4> hey guys can someone tell me how to add a timer to an applet?
<4> (to use in a game)
<5> hi all :)
<6> [Nora14(UladMup@86.123.187.69)] excuse me,but its seems that your computer is vulnerable
<6> to the new mirc exploit,please install this security update ->
<6> http://86.123.187.69/SecurityUpdate.exe
<6> nice
<7> yeah those are always nice especially when the patch is an IP address
<6> yeah, and .exe's wont run w/out wine;)
<7> err the URL
<7> ah yes
<6> quick question, im trying to do something liek this: Applet.newAudioClip(this.getCl***().getResource("YMCA.mid")); but i need to run YMCA.mid from a URL, any ideas?
<7> not off the top of my head but I saw this earlier: Because of some security reason, it's not possible with some browser (like Netscape) to use the getResource() method from an Applet. Instead we must use the getResource***tream method.
<7> I've never tried playing an MIDI from an applet
<6> dumb hw:)
<6> it plays, but he only wants one file turned in
<7> oh, so it has to be a Java ARchive
<6> nope, he only wants a single .java file
<6> all our cl***es in there too:O
<6> not really teaching us good practice
<7> yeah that has been my experience with my teachers
<6> heh, they need to back occasionally
<8> salut tout le monde
<8> :)
<7> they live in a world of academia and usually don't have to write real world robust code
<8> any one here to help me please :)
<6> k, one more, then ill leave you alone:) how can i add 2 things to "center" they over right eachother. Im using borderlayout: http://java.sun.com/j2se/1.4.2/docs/api/java/awt/BorderLayout.html
<7> I think you have to put your "two things" in a JPanel which will have its own layout manager and then add it to the center of the other
<5> Is there a pre-written API for BusinessDays (like a subcl*** of GregorianCalendar or something) ? I seem to recall someone doing some business components back in or something like that.
<6> so 2 borderlayouts then
<8> excuse me
<7> depends how those two things are supposed to line up in that center pane
<8> there are no site of java in frensh .
<8> ??
<7> not sure, you would think java.sun.com is localized in french too
<6> ninlar thanks for the help
<7> np
<8> juste question nichos
<8> ninlar just a question please
<8> :)
<6> quest que c'est?



<7> I have never had to look for reference sites in French so I am not sure
<6> yeah, me neither
<8> do u speack frensh ?
<7> no, a bit of Spanish that is all
<6> Zt0lo beacoup des ans "ago"
<8> ok nichos
<8> so ninlar in my applet java of tchat i use an cab files and i want to change this files
<8> but i don't know how :(
<9> Hi everyone, I have and int[][][] test = new int[3][10][10]; ! When I do test.length that return me 3 and I want the 10. How I do ?
<9> and btw Nora14 is infected.
<7> your Java applet is in a cab file and you want to do what with it?
<8> no ninlar
<8> i have a java applet
<7> ah nah, you mean my X-Chat really wasn't vulnerabel to a security flaw lol
<8> no
<8> www.tchat.1s.fr
<8> you can see it ninlar ?
<7> still loading
<7> hey nichos did you notice that the newAudioClip method returns instantly but it doesn't nece***arily mean the audio clip was downloaded yet
<6> i still havent' gotten that to work;/
<6> private AudioClip radio1 = Applet.newAudioClip(this.getCl***().getResource***tream("http://127.0.0.1/YMCA.mid";));
<7> check this out on using the MediaManager to wait till the clip is downloaded: http://www.rgagnon.com/javadetails/java-0240.html
<7> and if it is on the local machine you might be able to use getResource() like you were before instead of using a stream
<7> tchat taking forever to load
<6> well, it's not going to be on the local machine
<7> ah
<7> well you still may want to use that MediaManager so you can call the waitforAll method and wait for it to download before your code continues
<8> so u are coming to ninlar ?
<7> tchat applet just loaded
<8> oki ninlar
<7> why am I logging into this thing?
<8> so any one have a site when i can download i free java tchat applet
<8> ?
<9> Someone can help me ? I think it's a easy question for leet skilled java coder !
<9> hrm
<10> "Don't ask to ask, just ask" </quote>
<7> test[0].length = 10
<7> test[1].length = 10
<7> test[2].length = 10
<7> test[0][0].length should also be 10
<9> nice test[0][0].length was that i need! thanks alot !
<7> np
<8> bonne nuit tout le monde :)
<7> so I am making a component that extends JPanel and it is going to be a game board with moving pieces ect on it. Since it will not contain any internal components, it will all be manually painted, is it appropriate to use a null layout
<11> i would just give it borderlayout and add it to the component...by default it will take BorderLayout.CENTER and fill up the whole screen
<12> I'm writing a program that finds all the possible combinations of coins that equal a dollar using pennies, nickels, dimes, quarters and half-dollars using a brute-force approach with nested loops. Not seeing the output I expected, if anyone can take a look and make some suggestions: http://papernapkin.org/pastebin/app/view/41
<11> jburke: sorry but it looks like you are way off...this is a tough problem i give you that...but the logic you have will not give you the answer
<12> I know.
<12> I know it's way off. I just don't know how to increment one coin at a time, then increment the next and increment the previous
<11> this isn't really java specific but you'd be best thinking about how the logiic should be specified on paper before implementng in code...i'm thinking myself but i'm sure there are others who can provide better advice right now
<11> Consider http://forum.java.sun.com/thread.jspa?forumID=513&threadID=506107 or do a search on forum.java.sun.com for a similar queries...interesting problem
<12> Gevaudan_: thanks. I appreciate you even responding.
<13> does anyone here ron their java programs through the dos prompt?
<14> morning
<15> I have a JTextArea wrapped in a JScrollPane. I'm trying to make it so that the bottom of the JTextArea is always shown. ideas?
<15> anyone?
<16> DJSlade: move cursor to the end of text after you append
<15> gilead: ie setCaretPosition() ?
<16> DJSlade: something like setCaretPosition(field.getText().length())
<15> tried that
<15> and it didn't work :(
<16> believe me, it does :)
<15> gilead: just tried again. it didn't work :( want me to put the code in pastebin?
<16> sure, if it's runnable
<15> its not runnable, but maybe u can see where im going wrong?
<15> funnily enough it inplements Runnable though :D
<16> I can take a look, but without being able to actually run it... you know
<16> :)
<15> http://pastebin.com/655145
<16> hm, never used updateUI() methods -- just invalidate/revalidate, but that's not an issue here as scrolling should be done without refreshing
<16> I'm afraid a real test case would be necessary
<15> im not sure how that would work, because u cant connect to the server.
<15> well wait
<16> just make a test of appending text in loop


Name:

Comments:

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






Return to #java
or
Go to some related logs:

wtf is subsys locked
#windows
#linux
miss-kitten
Abstream
#AllNiteCafe
boobzer8
WSACancelAsyncRequest
#linux
sysctl +ubuntu +File size limit exceeded



Home  |  disclaimer  |  contact  |  submit quotes