| Thread | Last Post | Replies |
|
| how to write elements of array from a text file? | 31 Oct 2003 22:12 GMT | 1 |
I would be grateful if someone could send me source code of a program that would write elements of 2D array from a text file (or .jar) so I could process that array inside the program. array such as: array = {{1, 2, 3, 4, 5},
|
| Modal | 31 Oct 2003 21:56 GMT | 2 |
How do you set a frame to be modal?
|
| String/isUpperCase? | 31 Oct 2003 20:15 GMT | 2 |
I'm new to java and could use some help with a program that reads a string and counts the Upper Case letters. I tried isUpperCase but it was only doing a character not the whole string. Do I need some sort of next command or can I change the string to something else? any help would ...
|
| newbie: How to know witch operator is an string | 31 Oct 2003 20:13 GMT | 2 |
I'm working on an very simple calculator. It has to simple math. I'm trying to read an string from the command line and then divide it into numbers and an operator. With the split method of String I can get the numbers, but how do I get to know what operator is in the string. ...
|
| Putting Packaged Classes Into A JAR File | 31 Oct 2003 18:42 GMT | 8 |
I've managed on a previous occasion to take a bunch of class files that were not part of a package (OK, part of the default package for the pedantic people out there), bundle them into a JAR file with a manifest naming the main class, and voila - I can activate the .JAR file and the ...
|
| a question about thread | 31 Oct 2003 17:28 GMT | 10 |
my program works like this, public class ClassB { public static void main(String[] args)throws Exception { while (true){
|
| how can I stop a thread from sleeping? | 31 Oct 2003 16:56 GMT | 2 |
I have a program(like the following codes) which needs to sleep for 20 seconds. How can i make it stop sleeping if i want it to be alive before 20 seconds is up?(e.g. when a cancel button is clicked). Any help will be appreciated !!
|
| Nested try statements | 31 Oct 2003 16:19 GMT | 3 |
I'm a bit puzzled by this exam question (java programmer certification) which has nested try statements. The correct answer is an output of values 5 and 8. I thought the first try statement which results in throwing an E0 exception would make the program jump directly to "catch ...
|
| javac is not recognized as an internal or external command | 31 Oct 2003 16:11 GMT | 6 |
I am new to JAVA and just downloaded Java 2 Platform, Standard Edition (J2SE). The particular file that was downloaded was J2SE v 1.4.2_02 [SDK] for the Windows 2000 platform. http://java.sun.com/j2se/1.4.2/download.html
|
| rounding numbers | 31 Oct 2003 11:39 GMT | 2 |
does anyone know how i could round something like 0.3333333 to 0.335, somehow stating that i want 3 fraction digits and that it should round to 0.335 and not 0.330, or 0.34 ? thanks
|
| Need Help with NoClassDefFoundError | 31 Oct 2003 02:19 GMT | 1 |
Can someone please tell me if the error below is caused by a missing "class" file and if so, which "class" file is missing? This is a Tomcat 4.0.6 installation on IIS 5.0 / Windows 2000 Server. The call is to http://myserver/servlet/Profile which results in an "Apache
|
| Accessing files within JAR archive | 30 Oct 2003 18:51 GMT | 2 |
Howdy -- I'm fairly new to Java, so I'm easily stumped. The question is: How do I access a file within a JAR archive from a Java program? I have a simple test program, shown below, which illustrates the problem:
|
| Interface Runnable question (Newbie) | 30 Oct 2003 17:01 GMT | 11 |
I am learning Threads. One of the options to create a Thread in to use the Runnable interface. The Runnable interface looks: public interface Runnable { public abstract void run();
|
| UnsupportedOperationException is thrown inconsistently | 30 Oct 2003 10:33 GMT | 6 |
I have a multi-threaded java system (too many classes to post on this site), and its stragely throwing an "UnsupportedOperationException". A quick summary of what I'm doing Class1
|
| not work | 30 Oct 2003 10:04 GMT | 4 |
hi to all, can you help me with the realization of a simple app, without business layer, only struts...for a simple polls app? i will pay! its very very important, i need it quickly! i have posted many times, and i have tried to learn quickly...but not
|