| Thread | Last Post | Replies |
|
| Help: Using a method or a variable from another class | 12 Aug 2004 04:46 GMT | 5 |
I am unable to to transfer either a variable or method form one class to another when creating new instances. I have two classes, Date and Slidecard_Entry, I want one to have a method which looks to the variables of another and do a sum on those variables.
|
| what's this? | 12 Aug 2004 00:44 GMT | 2 |
I have seen this snippet of code on a Java book (JSP 2.0 complete reference): outputStream = new ServletOutputStream() { public void write(int c) throws IOException {
|
| getting reference to main class | 11 Aug 2004 22:40 GMT | 1 |
How can I get a reference to main class which is created by JVM at startup. I need it because of the following code structure: class app
|
| Catching control characters from a string | 11 Aug 2004 21:47 GMT | 5 |
Hello, shouldn't: if(field[0].equals("\r\n")){do stuff} be enough to catch a carriage return and linefeed pair in a string? I'm just wondering if I have that bit right, otherwise the control
|
| array of classes - one change hits all - help! | 11 Aug 2004 21:20 GMT | 13 |
I'm at my wits end trying to figure this one out. I have this: public class FirstClass { ... public class SecondClass{ int n; }
|
| Can I open an FTP client from a link? | 11 Aug 2004 19:10 GMT | 11 |
I have been grinding myself against this off and on for a while now. I want a link on my intranet's Web page (small LAN in my home) that will give users access to a shared directory on my file server. I'm serving the Web page on my file server via Apache2 and the server
|
| GOF | 11 Aug 2004 16:40 GMT | 4 |
Does anyone have the book "Design Pattern" from Gamma, Helm, Johnson and Vlissides in electronic form and is willing to send me? Thanks
|
| JCombobox selection | 11 Aug 2004 06:45 GMT | 4 |
This is a simple one(aka I'm a newb). I have a box with a list of numbers. (2,4,6,8,10,20) I would like to have the user select several jcombobox's and then hit a button to perform some calculation.
|
| Heap corruption | 11 Aug 2004 04:40 GMT | 2 |
Java newbie. Eclipse 3.0. Windows XP Pro, 512MB RAM. I'm getting runtime errors that, if it were happening in a C/C++ program, I'd almost certainly conclude was due to heap corruption. The exact sequence of runtime errors varies from program run to
|
| automatic apache + tomcat installation | 10 Aug 2004 23:18 GMT | 1 |
i hope someone can help me with my problem concerning the installation of apache + tomcat: i need to set up an installation of apache + tomcat under Windows by script (unattended).
|
| sort a TreeSet? | 10 Aug 2004 22:27 GMT | 2 |
I'm using a SortingListModel as ListModel for a JList, as found in the reaction on this posting: http://www.jguru.com/faq/view.jsp?EID=15245 As you can see, this model uses a TreeSet to store it's data in. This is a
|
| Help for WindowListener | 10 Aug 2004 22:06 GMT | 4 |
I need help to solve this problem: In a JPanel I add a JButton. To this JButton I add an ActionEvent. When the button is pressed a JDialog is opened.
|
| Java streams eof problem | 10 Aug 2004 20:01 GMT | 2 |
I'm having a little catch-22ish problem with Java's streams. I'm writing a client/server networking program, and I'm using a BufferedReader on the server to read from the client's socket. Here's a portion of the code where I'm reading data from the client; "in" is
|
| converting strings to numbers.. | 10 Aug 2004 19:27 GMT | 10 |
in java.sun they give following example: String piStr = "3.14159"; Float pi = Float.valueOf(piStr); but if I want to do this w/just an integer (whole no., no decimal) and try
|
| writing wrapping code around C code | 10 Aug 2004 19:10 GMT | 2 |
My boss wants me to write some Java wrappers around some old C code... I'm just an intern so I don't know the first step to take to do this. Could you point me in the directions of some classes or documentation I should consider to write java wrappers around C?
|