| |
| |
| |
|
Page: 1 2 3
Comments:
<0> Greetings, where can i paste you code and see what's wrong w/ it ? <0> Found it. <1> theres a whiteboard on the faq site (see topic), or google for nopaste <0> http://javafaq.mine.nu:8080/lookup?9&wb=true <0> The error i get is : <0> Mouse1.java:5: Mouse1 is not abstract and does not override abstract method mouseMoved(java.awt.event.MouseEvent) in java.awt.event.MouseMotionListener <0> public cl*** Mouse1 extends Applet implements MouseListener, <0> ^ <0> 1 error <0> ops, sorry for the flooding. <1> you need to have a mouseMoved() method in your cl*** to satisfy the two listeners you're implementing <1> if you implement an interface, you have to implement ALL the methods in the interface <0> Okay, <0> Wonderful man, thanks. <0> hey, i think i got mouseMoved()
<0> ops, i forgot it <1> :) <0> :) <0> Let me add it, brb. <0> talios, : whitewabbit@linux:~/code/java_greek_book/ch9> javac Mouse1.java <0> whitewabbit@linux:~/code/java_greek_book/ch9> <0> Thanks buddy, it compiled okay, i had some typos as well. <1> :) <1> does it run thou :) <0> Let me see, i need to make the .html first.Brb. <1> there's an appletviewer application you can use - it've not played with it thou... <0> hehe, yeah! awesome! <0> yes, appletviewer someFile.html <0> otherwise you use the browser ( open file ). <0> i'm on linux (SuSE) <0> This book i'm reading is awesome, it has all you need to learn java. <1> what book? <2> and which editorial? <0> It's a Greek book i'm studying, <0> He's a Greek Professor, the title is introduction in Java. <2> oh <0> for java2 /sdk1.3, some code contains deprecated stuff. <3> hi, is there any editor or anything that allows me to develop swing applications without having to developping them by code, please? <0> btw, i'm interested in java/bluetooth, do you have any suggestions ? <0> where do i find documentation and such ? <4> google <0> Okay, <1> friend198, yes. <3> what is it please talios? <1> friend198, how much money do you have? <1> some of them cost, some don't. <2> j2me + bluetooth <1> some ****, some others don't. <1> friend198, google has all knowledge. <3> well I prefer the ones which dont cost at all hahaha <3> I tried google but still no results <1> friend198, netbeans has a good gui designer, theres one for eclipse, idea has one, jbuilder another, jdeveloper has one. <5> i want to program "pause" (program pauses till I click mouse or something), i use swing to do user input, can you help me to start? <1> pretty much all decent IDEs have one <3> thanks <0> Excuse me, one last hand here, <0> i did a showIP.java that gives the IP address of the URL you type, i get this when executed : <0> java.security.AccessControlException: access denied (java.net.SocketPermission java.sun.com resolve) <0> Why is that ? <0> It seems like permissions issue. <0> (i'm in linux, perhaps i should try as root ?) <0> nope, no dice. <6> Hi <0> hi buddy <6> Are you the only one talking? <0> yeah, it seems so, the others are all busy/away i guess. <6> ahh, I thought with this many nicks surely I had a settings problem to have it this wuiet <0> :) <6> Have you been into java long? <6> Am I being bad? Talking in the library perhaps? <6> Hi Kid <0> GeoLogger, yes. <0> but i'm also into perl, php, c, c++, python, ruby, ***embly(Mips) and SDL. <6> Well, I haven't programmed much in the past 20 years or so, and Iwas needing to do a little again. I have been looking hard at Java but I'm having trouble with 'float' variables. Is there a good place to go find out more? I have loaded examples straight out of 'how-to' books and I always get the precision exception. <7> just add an "f" <7> :D
<6> I have found tons of web and text support .. not much on number crunching <7> float f = 1.0f; <6> just like in C++ ? <6> thanks, I will compile my test example and try that <8> hey java people <6> hi Reese <8> i'm a php guy and we have a new java guy at our office and now i'm curious... basically i want to know how java takes a website in php and makes it enterprise quality? <8> i heard about connection pooling and other stuff but i want details, i'm interested (and possibly interested in learning java) <6> You nad me both <6> and <6> I am trying to spool up a web-enable DAQ with remotes. I may be too old for this now :) <8> lol <6> Thanks Tera , that did it. I have double-checked my books, none have the little "f" <6> You should write a book <7> :) <6> :) <7> Well, I should fix my program ! <7> My unit test works, but somehow #%#%#% it doesnt work in the full blown version. <6> I wish I could help. I actually like debugging... sometimes. Usually it is software though nowadays for me. <1> teralaser, doh <7> well, it is a bit hard to present test case, when you don't know which part of the 29000 lines are Miss B Haven. <1> as long as its not a 29000 line method, or cl*** ;p <6> yeah, can you incorporate into a base version and then add routines one at a time to try and find the hangup? <6> Hi Bryin <9> teralaser: do we still have that 64k cl***-size limit? <6> Thanks again Tera, not only works in the test exapmle, it works in the actual code. I owe ya lunch. <9> teralaser: I've had the unfortune to run into it once in a great while, but it's been a few years since I last delt with code that size <7> wlfshmn : it is more than 100 cl***es or files working together. <6> is the 100 cl***es and files an "all or nothing" or can you cut out half at a time and try to narrow down the conflice that way? <7> GeoLogger : That was what my little test case was supposed to do. <7> Didnt catch the issue though. <6> ahh <6> Excedrin headache # 29001 <6> Hi Charmin <6> what is warez? <10> "where is?" <11> Java servlet cannot find the MySQL JDBC driver... <11> The line Cl***.forName("com.mysql.jdbc.Driver") doesn't work <10> good morning <10> PT141: where is the mysql jdbc driver located for it to be found? <11> Clackwell: I dunno where exactly it is.. perhaps in cl***path=see:Program FilesMySQLmysql-connector-java-3.one.12-bin.jar <11> Clackwell: i dunno where exactly it is.. perhaps in cl***path=c:\Program Files\MySQL\mysql-connector-java-3.1.12-bin.jar; <10> PT141: the only "jdbc driver" shipping with java is the jdbc-odbc bridge. you have to put everything else in the cl*** path yourself. app servers typically ignore the system cl*** path to some extent, may it be specified via -cp or CL***PATH. <10> those are the wrong mechanisms for adding j2ee app specific jdbc drivers anyway. <10> PT141: possibly related: http://www.google.com/search?complete=1&hl=en&q=servlet+mysql+jdbc+driver+jar&btnG=Google+Search <11> The JDBC driver comes different database servers... like MySQL, Oracle, MS Access etc <10> i don't understand your last message, PT141. <11> Each database brand has its own JDBC driver I think <11> So for MySQL it is com.mysql.jdbc.Driver <10> yes <10> some db engines even have more than one jdbc driver. in that case it is relevant to know which one you are about to use, since the JDBC connection URL differs in that case. <11> The problem is that the MySQL one doesn't work here <10> PT141: that is odd. <10> it works for everyone else, as far as i know. <11> The error mesage is: java.lang.Cl***NotFoundException: com.mysql.jdbc.Driver <10> we have made a full circle now it seems. <10> PT141: where is the mysql jdbc driver located for it to be found? <10> "i have done nothing to make my app server see the jdbc driver" <10> "i have put the jar file in this place for it to be found by my app server: ..." <11> I suppose it's in the cl***path .jar file <10> "i have done this to make my app server see the jdbc driver/jar file: ..." <11> cl***path=c:\Program Files\MySQL\mysql-connector-java-3.1.12-bin.jar; <10> what did i say about the CL***PATH env var a few minutes ago. <10> ? <11> Ahhh yes... I'm reading... <11> hold on.. <10> PT141: also probably related (if you are using tomcat): http://www.google.com/search?complete=1&hl=en&lr=&q=servlet+mysql+jdbc+driver+jar+tomcat&btnG=Search <11> Yes... probably the installation messed up <11> I used tomcat and then orion <10> define "installation messed up". <11> Well this guy at the website says: <10> chances are that the approach for placing custom jars into a web app is the same for orion and tomcat, since specified by the respective specifications. <11> "Found the problem. Something was corrupted in either the driver or my Tomcat installation. I completely re-installed everything and it worked" <10> PT141: that seems unlikely in your case.
Return to
#java or Go to some related
logs:
jakarta httpclient -index of What constituency did Margaret Thatcher represent in Parliament ? canale 2 pls #chatzone PIC18F USB mouse example #AllNiteCafe #linux #AllNiteCafe #teens #networking
|
|