| Thread | Last Post | Replies |
|
| Kill a process through JAVA | 07 Jan 2005 17:26 GMT | 3 |
How Can we kill an already running process through Java code? Using java, I have created an Application for Business Objects which in turn starts the process BUSOBJ.exe which can be seen through the task manager. However, the quit method available for the Application object is ...
|
| Printing 2D arrays | 07 Jan 2005 17:21 GMT | 7 |
Hi all, Im just learning Java and was wondering if there is any way of displaying a String[][] in a grid form. I have managed it using loads of System.out.println statements printing each row at a time but i need to be able to print it in a text area or similar, as long as its in a ...
|
| Problems with Inheritance | 07 Jan 2005 17:05 GMT | 6 |
If you have the following: class A{} class B extends A{} then you can write:
|
| Can't compile the following 3 classes | 07 Jan 2005 13:49 GMT | 8 |
Could someone test the following 3 classes and see if they get the same errors. They should be working perfectly but I keep getting an error concerning base and Key. JS
|
| help - accidentally creating floating applet | 07 Jan 2005 13:39 GMT | 3 |
I'm porting jEdit's help system into an applet form. Its complete, except for an annoyance - it loads as a seperate window, leaving a dead HTML page behind. I'd like to instead embed the applet inside the HTML page, so I can have a link create a popup window. As it is now, if you
|
| Netbeans 4.0 to create standalone JAR file | 07 Jan 2005 12:41 GMT | 1 |
I am having problems using Netbeans 4.0 to create a standalone JAR file. I have two projects, Library and Main. Library is a class library whose output is Library.jar. Main is a main application whose output is Main.jar. Main uses the classes in Library so I have edited
|
| Problem with JTable in a JScrollPane | 07 Jan 2005 12:10 GMT | 2 |
I have a JScrollPane which has two JScrollPanes and a JsplitPane. Each of the inner JScrollPanes contain a JTable. Inner JScrollPanes implement vertical Scroll policy as JScrollPane.VERTICAL_SCROLLBAR_NEVER. Scrolling is done using the scroll bar of the outer scroll pane. For the ...
|
| doofus Exception question | 07 Jan 2005 06:15 GMT | 1 |
In a package, there's a class that I want called by the package user that needs to throw a class-specific exception indicating the c'tor failed. public class ClassnameException extends Exception
|
| can't switch on expression that evals to an int | 07 Jan 2005 05:43 GMT | 1 |
I ran into this today at work. I am using 1.4.2 and have not tried this code on any other java version. Compile errors are caused by trying to do a switch on the d and e constants. I really don't see why it should not be allowed, but it seems likely there would be a good
|
| Eclipse 3.0.1 weirdness | 06 Jan 2005 23:31 GMT | 2 |
I recently migrated from Eclipse 3.0.M8 to 3.0.1 With the 3.0.1 version I am seeing some weirdness when editing/viewing Java files, which I did not see with the milestone version. Specifically, if I click on the method in the Outline view, then
|
| Problems with Primes | 06 Jan 2005 23:04 GMT | 8 |
I can't seem to figure out how the following code for primes work. class Prime{ public boolean prime(int n) { boolean[] P = new boolean[n+1];
|
| ArrayIndexOutOfBounds Exception in DefaultTableModel | 06 Jan 2005 21:50 GMT | 7 |
I have created a Search Panel which displays the search result using JTable. If I select the first row in the JTable and then try to clear the results in table, it do not get any exception. But if I select a row other than the first row and then try to clear the table resuls, I ...
|
| Can't print contents from Arrays | 06 Jan 2005 21:35 GMT | 6 |
When I try to print the third element from the boolean array "p" that I have made I get this wierd text: "Bool@11bed71" In the for statement I have initialized all elements to true, so why don't
|
| Java Jobs Finance | 06 Jan 2005 21:08 GMT | 1 |
I'm currently looking into Java Developer positions and was wondering why so many financial companies need programmers? What kind of projects do they work on? It would be good to know before I apply...
|
| simple array question... | 06 Jan 2005 20:57 GMT | 9 |
why does this: public class test{ test(int k){ a = k;
|