| Thread | Last Post | Replies |
|
| formatting floats in a table | 27 Jun 2005 21:53 GMT | 3 |
i have a table whose columns can contain either Strings, Integers, or Floats. I also allow sorting by clicking on the header of a column. my question is, i need to display only two decimal places for columns that display floats. How can i do this and still maintain accurate
|
| File chooser question | 27 Jun 2005 15:43 GMT | 2 |
I am trying to build a gui using java that allows the user to go thru filechooser and pick any file(s) and/or directories. If a file or files are chosen then the names of the files are appended to a list. If a directory is chosen then the names of all the files in the directory
|
| remove redundency in list of pairs | 27 Jun 2005 15:22 GMT | 1 |
I want to construct a list of pairs without dupliactes, not the key value pairs, I just want to ensure that the pair (not ordered) is not dupliacted in the list. for example
|
| saving an output file | 27 Jun 2005 15:16 GMT | 3 |
Is there any way to save the output file to a user specified directory? I would like for the user to be able to select a directory and save the output file there. At the very least, is there any way to specify where the file is saved by writing it into the code. I know that in C++ ...
|
| How can I get the input from keyboard without using swing? | 27 Jun 2005 03:30 GMT | 1 |
I used to use c++.If you want to get input you write #include <iostream> using namespace std; int main(void)
|
| Getting Date Difference in Java. | 26 Jun 2005 08:56 GMT | 10 |
In oracle, if I need to get the sysdate, I would do some thing like this select sysdate from dual; And if I need , the difference between sysdate and a specific date ,say "pdate" ,I would do,
|
| Nothing but blank windows... | 26 Jun 2005 02:43 GMT | 3 |
Hello. I'm having two issues with Java, and I'm hoping somebody can help me, because Sun's site wasn't terribly useful. 1) Often, when I open a page that has an applet in it, or open an application that involves Java, my screen blacks out. The screen stays that
|
| passing param to an applet | 26 Jun 2005 01:53 GMT | 13 |
I'm passing a param to an applet (running applet in a jsp and passing a param from form..) put code in applet so if text field in form is empty (such as when jsp first loads..) applet prints a specified string, however it just prints "null".. why is this..
|
| What's the recommended way to embed (c), version, TM, etc in a class file? | 25 Jun 2005 19:00 GMT | 2 |
I'd like to embed information such as Version #, TM, (c), etc. into my cass files. I guess I can simply place these in a string in the .java file and it will end up in the class file but I am wondeing if there is a "better/recommended" way to do this. In the Microsoft C++ world ...
|
| Image processing/rendering problem | 25 Jun 2005 14:20 GMT | 3 |
I have two applications working in a client/server mode. The client is written in C++ running on a Linux box. The server is an applet and was written on a Linux box with NetBeans 3.6. When the client send a message, which is a string, containing some
|
| CipherInputStream/CipherOutputStream | 24 Jun 2005 23:49 GMT | 1 |
Im currently struggeling with encryption of streams using CipherInputStream and CipherOutputStream. For some reason, the last 8 bytes when reading encrypted data seem to be missing (see example below). Anyone have any idea why this occurs??
|
| Enums | 24 Jun 2005 20:47 GMT | 2 |
I have the following questions about Java 1.5 enums. 1. the ordinal() method allows the conversion of enum value to int. Is there a method/technique to go from int to enum? I have tried casting but that does not seem to work.
|
| the purpose of marker interface in java | 24 Jun 2005 19:11 GMT | 19 |
I know what is marker interface - An interface with no methods. Example: Serializable, Remote, Cloneable. But I don't know the purpose of using marker interface, and when is the good practice for that.
|
| LiveConnect applet crashing after page reload, please help | 24 Jun 2005 17:38 GMT | 7 |
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some problems. IE crashes when one refreshes the page or leave the page. This happens
|
| Problem with Timer and TimerTask classes | 24 Jun 2005 10:14 GMT | 1 |
Guys, I have a class that listens to a real-time data source and keep a local data structure that I want to write out every minute. I plan to use a TimerTask implementation to do this but aint sure how that can be done.
|