@# 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 8 9 10



Comments:

<0> Ok, I thought with a try and catch I could catch an error, fix the problem and my program could keep going, but instead it performs the catch and the next line of code, then crashes, is this what it's supposed to do? I was trying to catch an error from entering a string instead of an int in my scanner.
<1> the problem is it is in a demo version of the website, so they only put a screen shot, so i cannot view the source
<2> it's on http://sourceforge.net/project/showfiles.php?group_id=90078
<2> as advertised
<0> Or is there a better way to get input other than the scanner cl***?
<1> i downloaded it, the problem how do i use it in my website
<2> ryanste^n post how you were using the try catch, see topic and FAQ page
<2> olm do you know any jave ?
<2> java
<1> i know the concepts, but never programmed in it
<3> olm: Learn Java first, really.
<2> may I ask how do you know this is possible?
<1> rickety: how it is related? i just want to use a jave application not to code one
<3> olm: So ask the application vendor.
<2> well java comes as applications and as applets
<1> i have seen it in a demo version of the website, but they only put a screen shot, so i cannot view the source



<2> usually use in my web page implies applet, I wouldn't think this is an applet
<2> not all Java can be used in a web site (most cannot)
<2> I bet it was a screen shot of an application
<2> but I could be wrong
<1> in the working version, it works
<2> either ask for the instal and usage docs or learn how to modify the code
<2> tautology me thinks
<1> calchas: i don't think they modified the code
<2> the usage on the sourceforge page says this is NOT and applet, it's an application, you can't use it on your web page
<1> strange
<3> Not really. It's like trying to drive a racing car around a go kart track.
<2> or drive a bath, or wash in a car
<2> best to driver cars
<3> If you can wash in a car then you're too rich.
<2> or in new orleans
<2> olm where do you see this demo ?
<2> on the page you sent?
<1> some website
<2> url?
<1> it is p***word protected
<2> I tried www.someWebsite.com, no joy
<2> ok, good luck
<4> hi guys
<4> how do i make a list of arrays in java?
<4> List list;
<4> list = new ArrayList[5000];
<4> ?
<4> sorry, meant an array of lists...
<5> I'm trying to understand the difference between a synchronized method, and a method which wraps it's contents with "synchronized(this){}"
<5> I've written 2 test methods and decompiled the cl*** files, but the synchronized method doesn't seem to have any special code added to it at all.
<6> mmm, I'm not sure there is - I ***umed a synchronized method just syncronized on the instance
<4> can anyone help me make an arry of lists?
<6> HiTech, same way as you make any array - List[] foo = new ArrayList[5000] should work?
<6> you just wernt reclaring the variable as being an an array
<4> how do i add four different values to each list?
<6> call add() four times on each element...
<4> that is the way i declared it...i typed it incorrect here
<4> tried that and got a nullpointer exception
<6> although - that'll declare an array of lists, it won't actually -create- the lists in them.
<6> so you'll need to go and do list[0] = new ArrayList() etc.
<4> hmm
<4> im trying to make an array of lists and each list contains 4 different values...
<6> not overly hard. get p***ed that NPE and you should be fine
<4> any ideas on what is causing it?
<4> im adding items like this
<4> vertex[0].add(var1)
<4> vertex[0].add(var2)
<4> etc
<6> have you actually created the ArrayList's inside the array?
<4> sorry, i dont understand the question
<6> when you do "list = new ArrayList[5000]" - thats creating an array that can hold 5000 ArrayList objects, it doesn't actually CREATE those ArrayLists
<6> so they're null.
<4> so how would i create them?
<6> vertext[0] = new ArrayList(); vertext[1] = new ArrayList().
<6> like that....
<4> ahhh
<6> much like you would with any array.
<6> well, any object array.
<4> thanks man
<5> I thought that the point of a synchronize method was that if you have multiple synchronized methods in the same cl***, different threads may access different sync'ed methods on the same object at once, but for the same sycn'ed method only one thread could execute at a time.
<7> Hi! I want to know if its possible that an INT "saves" a value so that the next time that the program is runned it keeps count. Ej: 1st run INT X = 10, then when used changes value to 11 then I close the program and run it again and i want that X value = 11... help please!



<8> i must persist the value
<8> in a file or something
<7> mmh... thats the only way?
<6> Haim, save and load the value when you quit/restart
<6> sounds very much like homework
<7> like save on an external file?
<6> where else would you save?
<7> hehe right
<7> where could i find a tutorial on how to do that?
<6> off java.sun.com with all the other tutorials
<9> Mornin' all...
<7> should i look it up like "how to save a value on a file?"
<10> oh, new IDEA EAP and noone tells me! ;)
<6> wlfshmn, when?
<6> beyond 5218?
<6> ah no :)
<10> talios: I wasn't aware of rhte new EAP program at all
<6> wlfshmn, ah ok :) lots of goodness in there - but if you want to try it out, I suggest also upgrading to IDEA 5.1.1 which fixes a problem in sharing the projects between EAP/nonEAP
<10> talios: downloading as we speak ;)
<6> :)
<11> yeh I just upgraded to it too.
<11> doubt there's much of an improvement for me, 5.0 to 5.1 was quite significant though
<6> Deano|Wrk, 5.1.1 was mostly minor fixes and some backports to support working with the EAP
<6> ooo - looks like I just need to reconfig my IDEA Plugin JDK - I just might get a TestNG plugin out!
<11> yeh
<6> or not :(
<10> it seems I'll be coding C# in a few months, apparently
<10> meh.. I hate ui coding.. apparently my little ui works fine everywhere except on one particular machine where the UI gets all squished up, but I ofcourse cannot get access to that particular machine..
<12> :))
<12> dirtbag layout ?
<10> gridbag, yes
<6> wlfshmn, c# :(
<10> talios: We'll see how long that lasts though. I might as well learn C# while i look for better employment ,)
<6> wlfshmn, move to NZ - we want a windows dev (ok - I don't want to continue doing that myself <g>) but could do with another java peep as well - but no, we won't fly you to NZ :)
<10> talios: he, no bloody way I'm relocating to sheep country ;)
<12> LOTR country too :P
<6> wlfshmn, bah - you don't get THAT much wool stuck in your throat ;) you learn to love the.... people.
<10> talios: I could love the nature I suspect, if it was in the right parts (beeing a fledgeling hiker myself)
<6> *nod* plenty of walks and hikes. but even if you wern't in the 'right part' - its not that far to the right parts.
<10> talios: the country also use smoke signals for internnet access (although more efficient smoke signaling than previosuly) and severly restricts some of my other hobbies. besides, the IT market in .nz reputedly blows and thus you couldn't pay me enough to relocate ;)
<6> other hobbies? yes - the goat thing wont fly here.
<10> talios: I can imagined. Anything but a sheep and you are marked as diffrent.
<6> the IT market does ****, and our "broadband" is so narrow it can fit through the eye of a needle.
<10> talios: up here I'm currently paying ~20USD/month for 28/1 ADSL, with static IP and no bandwidth caps ;)
<6> i hate you :)
<10> muahaha
<10> talios: although admitedly, that is a special deal. normally I would pay 40$ ;)
<6> hate hate hate
<12> :))
<10> and so I will agai in six months time
<6> I pay NZ$60 for 256k/256k 10gb cap (up+down), non static
<12> he sold his soul to satan and promised that he'll code C# for that deal
<12> :P
<10> did I mention installation is free and they give me a wifi enabled modem (I pay ~10$ shipping) in the deal? ;)
<6> heh
<12> now it's offensive
<6> as long as you don't get a $54k bill for 10days traffic - now that ****ed
<10> good enough deal to make me switch ISPs ;)
<6> http://darlamack.blogs.com/darlamack/2006/04/cinguler_user_r.html <- $54k for 10 days
<10> ofcourse, never beeing content, I nowday complain about the narrow upstream
<12> in .ro I have 1 Mb worldwide and 40 Mbps metro and static IP, no cap, for 40$
<12> 1 Mbps and 40Mbps are up/down
<12> via ethernet
<10> talios: ouch
<6> wlfshmn, turns out he got it sorted 30mins after contacted customer support, but put him on the wrong plan
<10> talios: so h wasn't suppsoed to have to pay all that then, I hope
<10> anyway, it's time for me to scoot off to lunch. laters
<6> seeya
<13> and good mornin' to you too :)
<6> re


Name:

Comments:

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






Return to #java
or
Go to some related logs:

BABY RAPIDIST
#linux
#ubuntu
WHAT IS THE STAGE NAME OF GRETA GUSTAFSON?
#AllNiteCafe
#linux
#MissKitten
#linuxhelp
oceanworksuk.net
darkside inurl:undernet



Home  |  disclaimer  |  contact  |  submit quotes