| Thread | Last Post | Replies |
|
| Does Java have asynchronized I/O? | 19 Apr 2005 03:04 GMT | 8 |
I am wondering whether Java has asynchronized I/O (whether built-in core Java SDK or 3rd party release), which is similar as select or poll in UNIX. Current read/write will be blocked when underlying stream is not ready. For example, when retrieving data from remote machine, we will ...
|
| testing for null elements in a set | 19 Apr 2005 00:45 GMT | 3 |
in a method i'm writing, i'd like to test for null elements in an arbitrary set. if the set contains a null element, i want to throw a NullPointerException. rather than examining the elements myself, though i'd like to use the
|
| making a simple calculator for the web | 18 Apr 2005 17:06 GMT | 1 |
I am trying to make a simple calculator for the web by using sessions. When accessing the .jsp-file for the first time, the user will see: ---- Welcome to the calculator
|
| Mac OS X Issue | 18 Apr 2005 16:52 GMT | 2 |
Just a warning. This may be a little weird: I don't have the opportunity to test an applet on Mac OS X, but there are complains about a certain error occurrence. When the applet is loaded an exception is thrown with the error message
|
| problem using my user defined class in my JSP page | 18 Apr 2005 15:17 GMT | 2 |
I tried to define a class and use it in my JSP page, but i'm running into some problems... here is the JSP code: =============================================================
|
| Reading firstline of a .txt file. | 18 Apr 2005 13:00 GMT | 4 |
I'm still sorta new to Java, and so don't have a great understanding of it so sorry if the answer to this is painfully obvious. What I'm trying to do is to open a txt file, but only have the first line of it read into a text area I have.
|
| j2me, incoming phone calls handling | 18 Apr 2005 12:27 GMT | 1 |
i'm trying to handle incoming phone calls placing some code to pauseApp, but on Siemens CX65 it did't works is it device specific? is there some example of how to properly handle that situation?
|
| Can't do "import static" | 18 Apr 2005 10:44 GMT | 3 |
I am very much a beginner at java programming, and this my first problem that I have not been able to resolve via the Sun documentation. Those docs describe an "import static" construct which would
|
| Looking for help on two dimensional arrays | 18 Apr 2005 06:12 GMT | 4 |
I need hlep with a program that calculates prices for a movie theater based on the seating arrangement at a single movie show. I was able to set the two dimensional array but I am having trouble adding up the movie tickets seatings. There are five different types of tickets. Seat A ...
|
| FileReader/FileWriter question | 18 Apr 2005 04:15 GMT | 10 |
I'm having issues with a file I/O assignment for my Java class. This program's supposed to copy the contents of one file (specified in a command-line argument) into another file (also specified at command-line). I've created file objects for the program, as well as FileReader ...
|
| How to define a default font for JLabel or whole program? | 17 Apr 2005 22:33 GMT | 7 |
I don't really like how Java2 default font is bold. I think the plain looks much better. How can I set the default font for a JLabel or for the whole program. I would like to change it from BOLD to PLAIN.
|
| recursion and passing objects? | 17 Apr 2005 20:57 GMT | 2 |
I am trying to record a path in a recursive depth first search. What I want to do is: each time I recurse, find the list of the next edges to follow (works fine)
|
| I/O filewriter | 17 Apr 2005 20:02 GMT | 1 |
I must make a simple database for project,I designed catalog and page structure but I have no experience about java i/o ,can someone tell me how it append byte into file without erasing I found some example but It only converts strings to byte and append it
|
| JRE 1.5 / font trouble | 17 Apr 2005 18:34 GMT | 1 |
Recently I upgraded from 1.4 to 1.5. Now I got a strange font trouble. It seems like each line gets double height reserved and then the text is only written in the upper half. See for example the "Avbryt" (cancel in English)-button in the standard file dialogue here
|
| Question about variable scope static/non-static | 16 Apr 2005 20:59 GMT | 1 |
I am working on my first program and I have a question about variable scope and good programming practice. I have an initial class where I have a 4 arrays of data. From there I have a couple dialogs and frames that are used to enter or manipulate
|