@# 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> too bad
<1> anyone around to help with a question?
<2> naah.
<1> lol
<1> hi
<1> Well, if anyone can, here is what I have:
<1> String var = "6789" for instance
<1> I need from that string four integers, 6 7 8 9
<2> Time to look into java.util.String. It has a cut() method which you might be able to use. Next java.lang.Integer can do a conversion.
<1> so if I am correct, x = var.substring(1,1); would return a value of 6, and y = var.substring(1,2) would return 7 correct?
<1> then just parse for int? Or should I use math conversion, or what would be most efficient? lol
<2> I just told you.
<1> looking at that now, thnx
<3> Elfwin : actually String offers you varies methid to solve that problem
<1> ?
<3> substring, tokenizer, regukar expression, charAt just pick whatever works for you



<3> and you find it all in String (al least pointers to it)
<1> ah, yes. I was just looking for something more efficient was all. I have it working, was just looking for what is most efficient in java
<1> thnx guys/gals. I'll get out of your hair now.
<4> what is the best way to initialize a static Map<String,Rectangle> with 30 constant entries?
<5> Initialise it then add all of the entries...?
<5> I don't quite understand the question
<4> i want to avoid 30 .put lines
<4> something like an array initializer would be good, except that i have different types and cannot use an array
<4> hm I think I use MapUtils.toMap
<5> Sounds like a lot of extra work to avoid a list of put lines.
<5> It won't take up that much space.
<4> personal taste then I guess
<5> Well if someone's willing to pay for a waste of time that's their choice ;)
<4> how is it a waste of time? the code is actually shorter with less redundancy
<5> You've spent how many hours to save that little bit?
<5> Waste of time.
<5> Sorry.
<4> only way to learn new stuff
<6> dave-e: https://bugzilla.mozilla.org/show_bug.cgi?id=347938
<5> hehe
<5> I've not been on bugzilla for ages
<5> My bugs always got ignored :|
<5> bitches
<6> dave-e: You just need to stop caring!
<6> dave-e: Like this cafe in London Chinatown
<6> http://siksai.co.uk/~rhowe/img_0489-whocares.jpg
<5> lol
<5> Nice
<5> I just spat when I laughed at that
<5> heh
<6> heh, whatever
<6> Like I care :P
<6> I just submitted it to engrish.com
<5> Congratulations!
<3> what's engrish ?
<6> kmh: Browse the site and I'm sure it'll make sense
<7> hello
<8> somebody here can help me???
<7> with what?
<8> i need a program in java
<8> or help to program in java
<7> ok
<8> in pvt or here?
<3> rhowe *sigh*
<8> i donn't know if is possible to make what i want in java...
<7> just ask
<8> how i can do programs with java if my win (:() donn't recognize java platform?
<8> i tryied to download java for Sun's site soo many times...
<8> but i cann't execute "java" or "javac" or anyother command in "CMD" of ein....
<7> you may need to set your path system variable
<8> i want a program that give me 12 numbers, not in order, and donn't repeat numbers. It's possible?
<7> yes it is possible yes, plausable IDK
<8> ii'm sorry, but i donn't understannd "plausable IDK"?
<7> ok
<7> so what OS are you using?
<8> win xp
<7> ok so this is simple then
<8> simple??? how?
<7> well i shouldnt say that, cause I dont know your problem, but you can set your path variable
<7> go to start menu and right click on my computer and select properties
<8> ok



<7> goto the advanced tab
<8> ok
<7> press the environmental veriables button
<8> ok
<7> now there is a system veriables section, find the one that says "path"
<2> one could wonder if he'll actually be able to write a java program if this is already posing a major problem.
<7> I had this problem once
<7> but if im glad this is my first time telling someone how to do this cause it could get quite annoying after awhile
<9> hello
<9> is this where I can aska question concerning an applet?
<9> I was wondering if anyone has had any experience with the JUpload applet... for some reason it's stopped working for me, and I can't figure out why.
<3> did you check the java console of the browser/plugin ?
<3> it usually contains an error message if things don't work
<9> yes
<9> it tells me that it can't find a "startup" cl***
<9> but I haven't changed anything
<9> it's odd
<9> here's the link... if I may?
<9> http://kaotic.homeip.net/uploader/demo.html
<10> load: cl*** JUpload/startup.cl*** not found.
<10> java.lang.Cl***NotFoundException: JUpload.startup.cl***
<10> Caused by: java.io.IOException: open HTTP connection failed.
<10> Start there.
<10> So it's pulling something where HTTP fails. Anything in webservers logs?
<9> not that I could see
<9> lemme double check
<9> here's what I see:
<9> [Tue Aug 08 21:27:27 2006] [warn] (OS 64)The specified network name is no longer available. : winnt_accept: Asynchronous AcceptEx failed.
<9> [Tue Aug 08 21:27:35 2006] [error] [client 24.57.55.33] File does not exist: C:/WEB/xampp/htdocs/kaotic/uploader/uploader
<9> [Tue Aug 08 21:34:15 2006] [error] [client 24.57.55.33] File does not exist: C:/WEB/xampp/htdocs/kaotic/uploader/JUpload, referer: http://kaotic.homeip.net/uploader/demo.html
<9> but the files ARE there.
<9> <shrug> I guess I just have to wait to hear back from the developer :)
<11> hi
<12> hi calchas
<11> hi d4
<12> calchas how are you?
<11> fine thanks
<11> you?
<12> yes
<12> my bad :-x
<12> #java is your channel
<11> no but I co run it sort of, not that it takes much
<11> it belongs to whoever comes in
<12> calchas, I might need your help :-x I want to put a picture in the background. I got the source. I wish you can help me. I will give you money or webhsoting if you want to
<11> background of what?
<12> applet java
<12> like channel window, in the back ground of it
<12> its easy
<12> but I dont code java at all
<11> oh
<11> best goto the tutorial then
<11> it is very easy
<12> I wish I can send you the source. I know exactly where you have to go to change that
<12> www.insanehosting.org/EIRC-1.0.3.zip
<12> have to go to src\main
<12> the picture I want to put is called nrj.jpg you will see when you unzip
<12> calchas, well I'm confused with java
<12> I will pay you, or give you webhosting + domain if you want..im very desperate
<11> I'm sorry if you are looking for a contract I'm the wrong guy, but others may be interested in a little deal
<12> calchas, well no contract then
<12> I was looking for a gentleman who can do that for me.. its take a few minutes thats it :S cuz tomorrow I might have NRJ radio to use my applet java
<12> calchas >_< what you say
<12> or maybe you can help me to code the java?
<11> it's a matter of loading the pic into an image, the pic needs to be on a url or in the jar file
<11> there are examples in the tutorial how to address resources (pic in jar file)
<11> then you just need to draw that into the back ground of the Canvas or Panel (***uming AWT and not swing
<12> hum
<12> I dont know what you mean
<11> sorry
<11> you need rent-a-coder or such
<12> I have eclipse
<12> rofl
<12> its hard


Name:

Comments:

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






Return to #java
or
Go to some related logs:

qawsalla f'nofs bahar
#linux
#AllNiteCafe
#php
#squid
tanga fut
#chatzone
#MissKitten
#AllNiteCafe
#linuxhelp



Home  |  disclaimer  |  contact  |  submit quotes