Advertisement
Nickname
neva
Registered since:
April 6, 2002
Short bio:
 
Home page:
 
Total posts:
28

Forum posts by Neva Mohammad:

2 pages [ 1 2 Next ]
Posted in Java Answers Forum, Sep 5, 2002, 12:38 PM
Thanks Charles..I'm gonna try it out...
Posted in Java Answers Forum, Aug 29, 2002, 2:57 PM
I hope this helps...you need to first write some thing that reads a file and displays it..import java.io.*;class readFile(){public static void main(String [] args) throws IOEXception{BufferedReader fin = new BufferedReader(new FileReader("x.txt"));PrintWriter fout = new PrintWriter(new FileWriter("y.txt"));String s;for (int i=0;;i++){s =...
Posted in Java Answers Forum, Aug 29, 2002, 2:44 PM
I have four textfields on a page. All take some input and use the input for calculation. When I press the enter key in one textfield I'd like to move to the next textfield.does anyone know how? an example of what my program looks like:textfield a, b, cif (e.getSource() == a){//and then some stuff here which refers to other methods.......}pls...
Posted in Java Answers Forum, May 5, 2002, 11:33 AM
Thanks, I'll give that a try. FYI Charles's solution worked fine....
Posted in Java Answers Forum, May 2, 2002, 10:23 AM
Thanks...again..
Posted in Java Answers Forum, Apr 24, 2002, 8:04 AM
thanks.. I will give it a try..sorry I did not post Err1.java..it is just a plain applaication that outlines the error.
Posted in Java Answers Forum, Apr 24, 2002, 7:38 AM
If I had a swing applet called Hello.java how would I write an Object tag for it so that I could display it? I looked on the java.,sun.com site and tried to do it but got confused..Can someone just show me with that example?Thanks
Posted in Java Answers Forum, Apr 24, 2002, 7:35 AM
Thanks..
Posted in Java Answers Forum, Apr 22, 2002, 6:20 AM
Sorry I totally forgot that I had posted that message. I have managed to do it. But I will post my code because eventhough it reads the file and displays it in the text area it does not do so line by line...import java.awt.*; import java.awt.event.*; import java.io.*; import java.lang.*; import java.util.*;   public class UploadFiles2...
Posted in Java Answers Forum, Apr 22, 2002, 6:06 AM
Would anyone know how to set the cursor to a TextField? For example I have 10 TextFields, all asking for input. For usability purposes, I would like the user to be able to enter their input, press "Enter" and follow on to the next TextField. At the moment I have to use tab to move to the next TextField.I tried using t1.setCursor() (where t1 is...
Posted in Java Answers Forum, Apr 22, 2002, 5:44 AM
Thanks...;o)
Posted in Java Answers Forum, Apr 21, 2002, 8:03 AM
Thanks for the help. Managed to do it! The scrollpane worked. Would anyone know how to set the cursor to a TextField? For example I have 10 TextFields, all asking for input. For usability purposes, I would like the user to be able to enter their input, press "Enter" and follow on to the next TextField. At the moment I have to use tab to move to...
Posted in Java Answers Forum, Apr 21, 2002, 7:56 AM
Hey I just saw your query, the way I got around the Label not showing the result was to show the result in a TextField with setEditable(false).Out of curiosity how did you manage to do it?
Posted in Java Answers Forum, Apr 21, 2002, 7:20 AM
I've been to that site before..but thanks anyways. The problem is that it creates the exe, but when I run it it says that it was "Unable to start location. Unable to locate class file". My Class file is in the same location as my exe. This is only happening with the program when I use swing.Thanks for your help.
Posted in Java Answers Forum, Apr 20, 2002, 2:23 PM
Am trying to create a Panel with a Scrollbar. I have the scrollbars positioned horizontally and vertically but I can't seem to come up with a method to get the page to scroll down/across when I use it. Can someone help pls?Thanks
2 pages [ 1 2 Next ]
Advertisement