@# Quotes DB     useful, funny, interesting





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



Comments:

<0> how do I make something happen in java when the user clicks on a part of an image in a web applet?
<1> with an event
<0> <-- new at everything.
<2> An Applet is not a good choice most of the time.
<0> ...
<0> it is for what I'm doing.
<1> no it isn't.
<2> You can use MouseListener and MouseEvent then.
<1> I told you to use an application and java web start
<1> heh
<1> applets are quite obsolete
<0> then what, pray tell, would I use for a web-based game
<1> Java web start.
<1> and an application.
<1> like I just said.
<0> er?



<0> 'an application'?
<1> Yes
<0> as in C++ program?
<1> make it an application, not an applet
<1> no
<1> argh
<0> oh
<1> lemme find the Java web start page
<1> it explains it
<0> ...ok...
<0> but either way
<0> don't I have to have this code?
<1> http://java.sun.com/products/javawebstart/overview.html
<1> yes =)
<2> Depends on the requirements.
<0> sigh.
<0> I don't want 'ifs', I just want it to work...
<2> Triggering something when the user clicks on an image on a website - that part might best be solved with JavaScript.
<0> all I need is something to listen for the user to click on the applet, then use the X and Y coordinates
<0> it's not an image on a website
<0> look.
<1> The problem is you began learning java yesterday, and you expect us to cough up answers because you don't know AWT or Swing or even the basics of how to do anything in Java yet.
<0> http://208.109.38.65/testmap.html
<0> this is how I learn
<0> by looking, replicating, and messing around to understand what happens and what changes modify
<0> wait
<0> I uploaded the wrong thing.
<0> reload that page
<3> error
<0> works for me. you have the newest version of J2RE?
<3> ubsupportedcl***version error
<3> no
<0> ..probably helps
<1> Heh
<1> You're gonna require all your players to have Java 1.5?
<0> Better than neveron
<0> which requires all its players to use IE on windows-based computers and run the activex controls.
<0> right?
<1> Sure, but how many people are gonna know how to install java
<1> vs just load up IE
<0> load up IE, give neveron.com access
<1> Either way, its less work
<0> then play a game that's bug-ridden, horrendously slow, and its creator ****s at listening to people
<1> you seem to be more angry at that game than anything else.
<0> I am :)
<0> actually I don't know wtf my problem is right now
<1> heh
<0> I've been on a strict diet for the last week, so that's probably it
<1> Ah
<0> I'm really irritable.. my sister just came into the room and I felt like punching her just for asking me about the dogs
<3> :O
<1> Maybe you should go outside, take a walk or something.
<3> lol
<0> ...raining...
<0> I'd probably kill a squirrel or something
<1> take a nap?
<1> read a book?
<4> drink darjeeling
<3> LOOOL
<1> or vodka..
<1> hehe



<3> T0paz: you're really a bad boy
<1> darjeeling is a tea...
<4> tis luvly
<1> I like it
<1> Its a good fragrant tea
<4> makes me sit down and not do anything for ages
<0> I'm going to the beach for the week on saturday
<0> that might be good
<0> and I'm 17.. vodka is baaaaaad ;-)
<3> hola
<5> Memphetic> I don't want 'ifs', I just want it to work...
<5> a javabash candidate
<1> Indeed
<1> I'll second it
<1> hehe
<5> can anyone resolve tmorris.net ?
<5> er, crap it expired
<5> I've been farting around with my DNS setting for the last hour
<5> then I checked my spam email filter
<5> and noticed a "domain expired"
<5> Cl***.getMethods returns all public methods - including those inherited
<5> Cl***.getDeclaredMethods returns all methods (any access) - but not those from supertypes
<5> I want the intersection of the two
<5> I've had to do it before
<5> I think I used a Set, which feels ick
<5> is there a better way?
<0> alright people.
<0> here's a brain teaser.
<0> http://208.109.38.65/battlemap.html
<0> I need to figure out how to make it so that it staggers it 12 pixels downward on even-numbered X values
<5> final Set<Method> methodsIntersection = new HashSet<Method>();
<5> methodsIntersection.addAll(asList(t.getMethods()));
<5> methodsIntersection.retainAll(asList(t.getDeclaredMethods()));
<5> ew ew ew
<0> I gave you the wrong link
<0> it's actually http://208.109.38.65/testmap.html
<0> can java applets make SQL queries?
<5> yes
<0> any tutorials on how...?
<5> the JDBC tutorial
<0> jay dee bee see???
<0> java database calls?
<0> mebbeh?
<5> google
<6> http://www.google.com/search?q=jdbc+sql+tutorial&start=0&ie=utf-8&oe=utf-8&client=firefox-a&rls=org.mozilla:en-US:official
<6> too bad I am stuck in JRE 1.4.2
<0> I already googled it and am reading
<0> why???
<6> becuase there are many features offered in 1.5 that make it more similar to .net
<6> like there is no foreach, there is no enums, etc etc
<6> events are pain to implement
<0> cry cry cry
<6> there is even no Console cl***
<0> :'(
<6> meaning you have to implement many common solutions yourself into a util package
<6> no way to capture an ESC key on the console
<0> are you saying 1.5 doesn't have this?
<6> no, it does
<5> thankfully
<0> so
<5> it has events/delegates
<0> why are you stuck with 1.4.2
<6> but 1.4.2 does not
<5> it has enums
<0> yeah
<6> and our apps are in 1.4.2
<0> I thought so
<5> it has all of that
<0> when sI said 'why"
<5> just no explicit syntax support
<0> I meant why are you stuck
<5> .NET and Java are both flawed premises of correctness anyway
<6> and its too huge to migrate to 1.5 without restarting all of the testing all over again
<6> its this HUGE application that is porting over about 15 mainframes and their supporting applications over to JAVA


Name:

Comments:

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






Return to #java
or
Go to some related logs:

#kl
girlusa
omul plajei.mp3
#chat-world
#allnitecafe
warmer linux vacations
#india
#india
#worldchat
#netcafe



Home  |  disclaimer  |  contact  |  submit quotes