| Thread | Last Post | Replies |
|
| writing to a file?HELP anybody? | 08 Mar 2005 15:21 GMT | 8 |
i am trying to write a text entered in an applet to a text file.but i cannot copy because i get error message saying that Access Denied.....bla bla.... I tried to use policytool but don't know exactly how to use it.Does anyone
|
| if statement in an annonymous inner class problem | 08 Mar 2005 14:59 GMT | 3 |
Suppose a JTextBox (named "mathOp") gets filled with the word "Addition" and subsequently I wish to have a button (when clicked) perform an action only if that JTextBox contains only "Addition" My code for an annonymous inner class acting as a listener for a button is:
|
| BufferedReader not working!!! | 08 Mar 2005 13:06 GMT | 1 |
public static void CheckPass(String pass) throws IOException { BufferedReader passcheck = new BufferedReader(new FileReader("pass.txt"));
|
| Java Quiz | 08 Mar 2005 08:26 GMT | 3 |
I have this java implementation that reverses a sentence for instance entering <How are you john> prints out
|
| Why do applets need init() | 08 Mar 2005 06:53 GMT | 7 |
Why do applets need init()? Wouldn't instance initialization (I think that's what it's called) be able to accomplish the same thing? That is wouldn't the two code snippets below do the same thing? It is just not done that way? Or would it cause Bad Things to happen?
|
| Java Quiz | 08 Mar 2005 01:53 GMT | 11 |
I wrote a program that takes a String 'abc' and prints out all the Sub string package untitled58; import untitled58.abbey;
|
| How do I set a new java.io.tmpdir without a property file? | 08 Mar 2005 01:38 GMT | 3 |
I would like to set a new value for java.io.tmpdir. As far as I know I could do this by passing a parameter on the command line java -Djava.io.tmpdir myclass However which directory is taken if no parameter is specified?
|
| Windows 2000 and maximum open SocketChannel's / File descriptors | 07 Mar 2005 22:14 GMT | 3 |
I'm testing a java proxy. On a linux machine the proxy handles about 160 requests per second. On a windows machine it only handles about 12 requests per second. On the other hand apache on the same machine can handle 10 times as many
|
| 2 byte per char? | 07 Mar 2005 22:00 GMT | 4 |
I've got a probably quite newbie question, but I'm just not sure of: Does one character in a java String have 2 bytes (because of Unicode), or does it only have one? Therefore, is it true that the String "test" needs 8 bytes in memory!?
|
| Java JDK Problem in IE | 07 Mar 2005 17:54 GMT | 2 |
Hey guys, Few weeks ago I've installed the Java JDK (latest version, 1.5.1 I think) in order to program for a class I have at school. I'm using JCreator as IDE but that's off topic.
|
| Import | 07 Mar 2005 16:54 GMT | 5 |
I develop java programs with eclipse and now I have to use some packages of symantec. I already downloaded the jar.zip and extracted it in the plugins folder of the eclipse directory. But can anybody explain me how I can use these packages in the eclipse environment? - What
|
| creating array of objects | 07 Mar 2005 16:50 GMT | 3 |
i want to try a simple program ... create an object and get an array of objects - e.g. getting from a DB. public class MainData { private String id;
|
| DefaultTableModel() is a crap / How to hide a Table column? | 07 Mar 2005 13:10 GMT | 1 |
It all started with my search for a possibility to store data values in a JTable without displaying it. I read somewhere in the Sun docs that columns without a header are not displayed. Ok, I thought, according to a good coding style they are not displayed but they are stored. But ...
|
| Painting Something on a Canvas | 07 Mar 2005 12:31 GMT | 1 |
Ok What I need to do is make a applet called which has a Balloon in it that can grow and be moved around. I need the buttons that make this happen on panels and I also need the Ballon to be displayed onto a Canvas. I can get the layout and everything right, the only thing I can't ...
|
| problems with basic "Hello World" program | 07 Mar 2005 04:00 GMT | 8 |
I have a basic program where I compile the java code and then run it. I can not seem to run the code for some reason. 1.) Here is my code class HelloWorld
|