85 Posted Topics
![]() | |
Re: just use this single line Date thedate=new Date(); and print it.... System.out.println(thedate); | |
Hi guys.., Is any one knows how to print barcode using java code? | |
Hi guys.., I am working on RMI Application... server client communication, while running my application in DOS mode i am getting this error can any one help me out for this error? C:\javas>rmic serverimpl Exception in thread "main" java.lang.NoClassDefFoundError: sun/tools/java/Consta nts at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at … | |
Re: yeah you can do that aruna.... try this code Toolkit.getDefaultToolkit().addAWTEventListener(new AWTEventListener() { public void eventDispatched(AWTEvent a_objevent) { if(a_objevent instanceof KeyEvent && a_objevent.getID() == KeyEvent.KEY_RELEASED && !((KeyEvent)a_objevent).isAltDown() && !((KeyEvent)a_objevent).isControlDown() && !((KeyEvent)a_objevent).isShiftDown() && !((KeyEvent)a_objevent).isMetaDown()) { int l_iKeyCode = ((KeyEvent)a_objevent).getKeyCode(); switch(l_iKeyCode) { case KeyEvent.VK_F4: for ex: popup(); (call your pop up window here); … | |
Re: GPRS will always give warning message while you are trying to access network.. its common in service itself so no need to worry for that connection estabishment time warning | |
Re: Cool Man Congrats you have reached your 10th Century. | |
Re: [quote=compusaz;338330]hi i am still a beginner and i am very interested in learning this language . what is the best i can do?[/quote] go to Sun's Website java.sun.com and there you will get tutorials for java, so learn from that tutorials. All The Very Best. | |
Re: Staneja if your problem gets solved means just mark it as solved. | |
Re: A checked exception is some subclass of Exception (or Exception itself), excluding class RuntimeException and its subclasses. Making an exception checked forces client programmers to deal with the possibility that the exception will be thrown. eg, IOException thrown by java.io.FileInputStream's read() method· Unchecked exceptions are RuntimeException and any of its … | |
Re: [quote=manujpro;337021]WELL..I SEARCHED GOOGLE..I FIND OREGON TRAIL BUT NOT ITS JAVA CODE!! I WISH ANYONE HAS DONE IT IN JAVA[/quote] Fine dude..Did u get that Jar file for OREGON TRAIL, If it is so means you can get that Java coding, for that you have to decompile that jar file, decompile … | |
Hi Guys! Can any one help me out... I just want to know how to create webservice in java or jsp? | |
Re: [quote=mzd12111;327954]hi jwenting , thanks for your Reply (and Your Infracions reports , guy[two report in 10 minute!!!!]) writing in J2ME results in .java file , what about .sis file , i mean Symbian Files???[/quote] Hey.., There is one emulator is there which is provided by Sun Micro systems .. Emulater … | |
Re: [quote=Mr.UNOwen;328137]Thanks for the help but now I'm pulling my hair out with another thing.... How do I properly position a button (or anything else), and have it at a locked size? Also how do I lock jframe?[/quote] I have given you simple code to positioning a button ok just look … | |
hey guys., Help me out.. I am doing some project using java swing..in that i get stuck up with one problem in combo box... I am having 5 items in the combo box([B][U]Contains same item names[/U][/B]) for ex: abc abc abc abc abc when i select any one of these … | |
Re: There are so many compilers for java windows version.... Jbuilder,Jcreater,Eclipse,Netbeans | |
I just want to access windows task manager using java code... is it possible? I want to find out what are all the exe files running on the machine..using java is it possible to build code for this? using java | |
Re: Yes you can...do that... Try like this.... Runtime.getRuntime().exec( command ); | |
Re: just get it as string..... and then u can convert that value in to integer like this String xyz=""; si=Integer.parseInt(xyz); Its just my idea....if better solutions are there means most welcome... | |
Re: hi.. hey u mean if u right click ur file means u will get one copy option???? if it is so ... i dont think u can disable that option.... | |
Re: Try to explain ur problem clearly...so that v can help u easily...what u want to do exactly.... | |
what do i do for hiding the close button in frame.... for diabling i hav used this one.. JFrame.DO_NOTHING_ON_CLOSE its working fine... but i just want to hide the close button ..... pls help me out... | |
Re: u mean class path for java??? n there is no specific class path for java swing.... if u want to set class path for java just try like this.... open command prompt just go to ur jdk installation path and bin.... for Ex set path=C:\Program Files\Java\jdk1.5.0\bin | |
Re: Ya i think ur prof asked u to do like a Notepad in Windows XP... In notepad u can insert manually all kind of datas via keyboard input....... and u can edit all those input using notepad edit..... I think ur prof asked u to do...Simple Notepad Editor using applets … | |
Hey guys.. How to write a textfile..from client to server.. I have tried like this [B] lStrFile = "ErrorLog" +""+day+""+mon+""+year+".txt";[/B] [B] FileWriter fstream = new FileWriter(lStrFile, true); BufferedWriter out = new BufferedWriter(fstream);[/B] [B]out.write("Error ");[/B] in this code the error will locate in current place.. i mean in our project location... … | |
Re: [quote=peter_budo;318843]LOL jbennet, that is why you should stay with VB/.NET(no offence :cheesy: ). Java = platform independent Yes it will run, there can be minor problem if you use different versions, but if both systems have same Java version you fine[/quote] Hey peter..., As you said... Java=platform independent. ..like people … | |
Hey guys.., Plz Help me out for this..... Is there any provision.... for giving security to a jar file.....i can easily unzip all the files from jar using winrar... and we can easily get .java file from .class so i want to know is ther any way to provide security … | |
Hi guys.. I dont know whether am asking a valid question.....but am having this doubt.... can we Customize the jar file icon...is it possible?? I just want to change the icon for the jar file.. i just want to use my own icon..is it possible??? | |
Re: Hey its working fine..in Wireless toolkit 2.2 Can u tell me in which version u r running....this project else .. are u familiar with this tool kit r wat ?? | |
I want to learn J2ME polish tutorial... Is any boday knows better link for that? I want to know the installation procedure and user guide | |
Hey guys..., Is there any way.....to use background image for a form...in j2me without using canvas because if i use canvas means i cannot add textfield and all... or else is there any option for setting different font color | |
Hey buddies.., I m developing some project using java swing... in that I got a problem like......if i use timer thread in label means i couldnt perform any other action in that panel like button click event and all.... it becomes too slow in action.... | |
![]() | Re: [B]Are you familiar with java??? or new entry for this java language?[/B] [B]What u want to know exactly?? can u tell clearly.. u just want to analyz this code or u want to build new snake game?[/B] |
The End.