| Thread | Last Post | Replies |
|
| Math.Floor | 16 Oct 2006 12:20 GMT | 6 |
Can someone direct me in the right direction on this? I just don't understand what it's asking. An Application of method.floor is rounding a value to the nearest integer. The statement y = math.floor( x + 0.5 ); will round the number x to the
|
| RMI -- neither stub nor skeleton needed?? | 16 Oct 2006 12:15 GMT | 1 |
Hi, All: I was trying to set up a demo of RMI as part of a course I'm teaching. Even though I hadn't created a stub nor skeleton, each client looked up an object on a remote host, and got a message back from it.
|
| JSP object questions | 15 Oct 2006 20:24 GMT | 5 |
I am still having problems with objects surviving beyond the execution of the current page (i.e. they are showing up on subsequent requests for the same page). I have some questions relating to this: 1) When an object is declared within <%! %>, what scope does that object
|
| Thread question | 15 Oct 2006 19:35 GMT | 1 |
I have a client running and it implemenets Runnable, I want it to connect to a server at certain time intervals to retrieve data. How can this be accomplished?
|
| trouble implementing key listener | 15 Oct 2006 00:50 GMT | 3 |
I am trying to implement a keylistener to react to when the enter key is pressed. Below is the code for keyTyped method: public void keyTyped(KeyEvent key){
|
| Focus object in JOptionPane | 14 Oct 2006 20:26 GMT | 1 |
I am having a bit of trouble. I create an object as follows: Object[] displayMessage = { "Enter Server Hostname \n", textField }; Then use this in the JOptionPane:
|
| design question about "programming to interfaces" | 14 Oct 2006 19:59 GMT | 8 |
I have a design problem that I am unsure of how to deal with, the problem is as follows. The basics: I am creating a search dao for using google, the dao should support
|
| Java Generics question | 13 Oct 2006 17:15 GMT | 8 |
I'm studying for the SCJP 5.0 and have a question about Generic Collections. The question is, If I use wildcards in a collection then I can't use the add() method for the collection (ArrayList in this example). I can
|
| using jave to run linux and windows commands | 13 Oct 2006 15:06 GMT | 2 |
I would like to write a gui to run windows and linux commands, is this possable ? the aim would be to write a GUI that would run on top of the os and for example, I would like to run dir on a windows box i.e. I would click
|
| Storing Thread events in a Vector | 13 Oct 2006 10:25 GMT | 1 |
I have a thread (Producer) that is supposd to sleep for a random amount of time, record it in a vector and wake up another thread (Consumer). That thread should read the elements from the vector when the first thread (Producer) is done writing to it.
|
| Multithreading - Problem with notifyAll() and wait() | 13 Oct 2006 05:52 GMT | 1 |
I have a program which has 2 threads: producer and consumer. Producer sleeps, wakes up and outputs how long it slept and what time it woke up. That info is passed to a vector. Consumer then gets that info from the vector and prints it out. Well, at least that's what it should do.
|
| Immutable object returned by methid | 12 Oct 2006 15:23 GMT | 10 |
I have a question about immutability, or at least, a question about the right way to implement the concept I have in mind. The folllowing is a distilled example of a more complex problem. Suppose I have some bean class called Something:
|
| Help with array program | 12 Oct 2006 09:55 GMT | 1 |
I'm supposed to make an array of 10 unique numbers but when you try to put in the same number twice it tells you "this number is already in the array". And when you give -1 it causes you to exit the program. I'm still rather new to java but I'm having a real hard time making this
|
| Actionlistener for a full window? Nudge in the right direction would be appreciated | 12 Oct 2006 06:28 GMT | 2 |
I have a JPanel with various buttons on it. I would like 'O' to activate the "Ok" button, 'P' to activate the "Pass" button, etc. without holding down the 'Alt' button. Do I add an actionlistener to the JPanel? or JFrame maybe? But then
|
| setup file of a software | 12 Oct 2006 01:36 GMT | 1 |
hii guys actually i wanted to know how to make the setup file of a software which v use to install a new software, kindly reply soon
|