85 Posted Topics

Member Avatar for nirmalaravi
Member Avatar for iamthwee
0
83
Member Avatar for anibio

just use this single line Date thedate=new Date(); and print it.... System.out.println(thedate);

Member Avatar for anibio
0
91
Member Avatar for aneetasuneel
Member Avatar for vinod_javas
Member Avatar for vinod_javas
0
110
Member Avatar for vinod_javas

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 …

Member Avatar for jwenting
0
84
Member Avatar for aruna_k_2006

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); …

Member Avatar for vinod_javas
0
88
Member Avatar for hassanmushtaq

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

Member Avatar for hassanmushtaq
0
115
Member Avatar for christina>you
Member Avatar for dcc
Member Avatar for ~s.o.s~
0
238
Member Avatar for compusaz

[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.

Member Avatar for jwenting
0
104
Member Avatar for staneja
Member Avatar for vinod_javas
0
142
Member Avatar for pavani2006

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 …

Member Avatar for masijade
0
140
Member Avatar for manujpro

[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 …

Member Avatar for vinod_javas
0
1K
Member Avatar for vinod_javas

Hi Guys! Can any one help me out... I just want to know how to create webservice in java or jsp?

Member Avatar for jwenting
0
123
Member Avatar for mzd12111

[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 …

Member Avatar for Colin Mac
0
106
Member Avatar for Mr.UNOwen

[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 …

Member Avatar for vinod_javas
0
141
Member Avatar for vinod_javas

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 …

Member Avatar for jwenting
0
312
Member Avatar for jan1024188

There are so many compilers for java windows version.... Jbuilder,Jcreater,Eclipse,Netbeans

Member Avatar for jwenting
0
150
Member Avatar for vinod_javas

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

Member Avatar for masijade
0
75
Member Avatar for vineelap84
Re: java

Yes you can...do that... Try like this.... Runtime.getRuntime().exec( command );

Member Avatar for vineelap84
0
89
Member Avatar for rpjanaka

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...

Member Avatar for masijade
0
4K
Member Avatar for Venks

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....

Member Avatar for kashko
0
102
Member Avatar for rbinc

Try to explain ur problem clearly...so that v can help u easily...what u want to do exactly....

Member Avatar for rbinc
0
182
Member Avatar for vinod_javas

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...

Member Avatar for jwenting
0
87
Member Avatar for Prajijithesh

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

Member Avatar for vinod_javas
0
75
Member Avatar for livingsword

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 …

Member Avatar for vinod_javas
0
104
Member Avatar for vinod_javas

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... …

Member Avatar for jwenting
0
100
Member Avatar for Venks

[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 …

Member Avatar for jwenting
0
210
Member Avatar for vinod_javas

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 …

Member Avatar for jwenting
0
164
Member Avatar for vinod_javas

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???

0
68
Member Avatar for mr.sweetchuck

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 ??

Member Avatar for vinod_javas
0
808
Member Avatar for vinod_javas

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

0
59
Member Avatar for vinod_javas

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

Member Avatar for tonakai
0
96
Member Avatar for vinod_javas

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....

Member Avatar for vinod_javas
0
150
Member Avatar for LSPUWILLC

[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]

Member Avatar for vinod_javas
0
190

The End.