| Thread | Last Post | Replies |
|
| Sorting an input collection | 11 Mar 2005 17:32 GMT | 6 |
I want to write a method that takes an input such as: 10:20 10:40 30:20
|
| Memory leaks | 11 Mar 2005 14:04 GMT | 3 |
Over the years, I've occasionally heard the term "memory leak" but, in all honesty, I've never quite understood what that is. What exactly is a memory leak? What causes them? What are the consequences of memory leaks? How can they be prevented? How can they be detected if you
|
| Java Help -- File I/O | 11 Mar 2005 12:58 GMT | 6 |
I have two questions regarding file I/O: (1) If I want to open data.txt in C:\test directory, how to pass directory name to FileInputStream? I know how to open data.txt in current directory:
|
| manipulating a string | 11 Mar 2005 12:55 GMT | 4 |
newbie question what i'm trying to do is manipulate a string from a GUI textfield. I want to be able to break apart a string, then convert each character to a single integer, so that I can pass each integer through a loop and use it in a
|
| Extending a Bean? ClassCastException | 11 Mar 2005 11:47 GMT | 4 |
Since I am only able to pass simple beans around using my Web Service framework, I wonder how to incorporate business logic around these beans. My idea was to let my Beans be the base class and simply extend these with more sophisticated classes with the nessesary business logic
|
| Invisible signs in a text | 11 Mar 2005 11:41 GMT | 2 |
As i know a String can contain not only the visible characters, but also some invisible signs, like the tabulator ('\t'), newline ('\n'), carriage return ('\r'). My question is: are there any other characters expect the above?
|
| Using Access Database | 11 Mar 2005 03:08 GMT | 4 |
I'm fairly new to database programming with java but I have used odbc to make connections to my database and do basic sql commands. However, I want to connect directly to the database and not use odbc. Do I need to download any drivers and what code would I need to make this
|
| Destroy all constructors! | 11 Mar 2005 01:53 GMT | 2 |
Has anyone taken the approach of just forgetting about constructors in Java and instead using a conventionally-named initializer? I'm very, very tired of having to define (and often edit) the same ctor over and over again in subclasses. Ctors are not virtual, while an initializer ...
|
| inconsistent applet not inited error | 10 Mar 2005 17:37 GMT | 18 |
Been having trouble lately running a program I've been working on. Here's the backstory: I'm developing using Eclipse 3.0 and the Jigloo plug-in for the GUI. I can run an applet fine within Eclipse, but when I try to run the applet through a .htm file, I get an error 'Applet ...
|
| how to write a file in FTP server | 10 Mar 2005 16:48 GMT | 1 |
I'd like to write a file in a ftp server. If it necessary I can create an accaunt without password so I can refer to ftp folder as ftp:\\user@127.0.0.1 how can I do?
|
| Tomcat Virtual Host Setup | 10 Mar 2005 14:17 GMT | 1 |
I am currently running Tomcat 5.5 and IIS6. Up until recently I had only one site that was using servlets. But as of this week I have acquired a new site that will also be using a few servlets. Originally I placed copies of the servlets for the site in the sites directory,
|
| hangman | 10 Mar 2005 11:37 GMT | 4 |
Hey guys, I'm new to j2me and I would like to develop a hangman game are there any tutorials available online to tech me specifically how to do this. Salim
|
| Random playing cards | 10 Mar 2005 10:42 GMT | 4 |
I am a newbie in a jam. I need to write a program which creates five random playing cards, using a custom class to create the cards (suit & face value). I assume I would create something similar to the dice example below. Can someone please help? Thanks in advance to any
|
| how to manage a multi-source file project | 10 Mar 2005 01:28 GMT | 3 |
I actually have a java source file that makes the GUI using Swing. The GUI has 12 buttons each performing different functionalities. It even got a couple of text areas. I do not want to clog the GUI code by adding all the button's event
|
| Text output alignment and format | 10 Mar 2005 00:25 GMT | 1 |
Hi, i have a program in C++ which i want to convert to Java. #include <iostream> #include <iomanip> #include <math>
|