How to intercept a key stroke in a Java console app?125 (4/10/2004 2:48:07 AM) comp.lang.java.programmer How to intercept a key stroke in a Java console application? The key strokes are entered in the DOS window. I need to discard all the key strokes except the Enter key. When a use type other keys, nothing wil... yma
DateFormat parse() method429 (4/5/2004 7:46:01 PM) comp.lang.java.programmer Hi, Could you show me how to use DateFormat parse() method to parse a date "January 1, 2004". A small example is all I need. Thank you very much. Chris. ... yma
Create Object cause an error271 (3/3/2004 6:41:47 PM) comp.lang.java.programmer Hi, Lines //a and //b cause two errors. Do you know why? Thanks! - Chris import javax.swing.*; public class WindowTest { String s="t"; s="test";//a static JFrame aWindow=null; aWindow=new JFrame(s);//b ... yma
Help me to understand, pls.137 (2/28/2004 2:34:13 AM) comp.lang.java.programmer Hi, Here is the applet, which displays a red x. It should display a letter and a number when I type a key. The problem is line //a and //b. Why do they cause problem? Why does it show a red x? If I do not... yma
Set focus to applet in code070 (2/28/2004 12:57:34 AM) comp.lang.java.programmer Hi, I have a java applet which will allow user to type in a letter. But the user has to first click on the applet to set focus. How can I set focus to applet in code? Here is a part of code: int m; public... yma
I cannot see applets in IE 61035 (2/2/2004 11:49:13 PM) comp.lang.java.programmer Hi, I am using Windows 2000 server with IE 6. I have installed Java SDK 1.4.2 and Runtime. In C:\Program Files\j2sdk_nb\j2sdk1.4.2\demo\applets folder, there are many applet samples. I cannot view them in IE... yma
yma2037's replies:
Items(7) /1
How to find applet on the PC1244 (11/13/2003 6:12:38 PM) comp.lang.java.programmer I was playing a Java applet game. Is it possible for me to play it off-line? In the source, the tag has a .class and .jar file. But I cannot find them on my PC. I heard that these files should be downloade... yma2037(32)
<DIV> tag357 (11/25/2003 9:46:25 PM) comp.lang.java.programmer Hi, What are the target and cmd attributes in the following code? I could not find the information for these two attributes to be used in a tag. Thank you. Pipeline Chris ... yma2037(32)
filename634 (1/20/2004 3:06:08 PM) comp.lang.java.programmer What is the rules/requirements to name a .java file. Are there some books or online documents explain these? I only heard 1 If a file contains a class that has main(), the filename should be that class name. ... yma2037(32)
I cannot see applets in IE 61035 (2/2/2004 11:49:13 PM) comp.lang.java.programmer Hi, I am using Windows 2000 server with IE 6. I have installed Java SDK 1.4.2 and Runtime. In C:\Program Files\j2sdk_nb\j2sdk1.4.2\demo\applets folder, there are many applet samples. I cannot view them in IE... yma2037(32)
DateFormat parse() method429 (4/5/2004 7:46:01 PM) comp.lang.java.programmer Hi, Could you show me how to use DateFormat parse() method to parse a date "January 1, 2004". A small example is all I need. Thank you very much. Chris. ... yma2037(32)