| Thread | Last Post | Replies |
|
| inner-inner class referencing outer class's inherited method | 29 Apr 2005 00:11 GMT | 1 |
i have a class called NonRepeatedDefaultMatrix NonRepeatedDefaultMatrix has an inner class KeySet<E> KeySet<E> inherits from HashSet<E> KeySet<E> has an inner class KeySetIterator<E>
|
| Java Swing | 28 Apr 2005 21:03 GMT | 1 |
Hi, I'm pretty new to Swing, and I'm at the hello world example code from java.sun.com. I'm trying to add next to the JLabel a JButton, and next to frame.getContentPane().add(label); I do the same for the JButton created, but in the GUI only shows the button. Can you explain to me ...
|
| newbie question | 28 Apr 2005 18:37 GMT | 1 |
In the java programs I have written so far, when using swing to create a GUI, I always get a command window (Microsoft OS) that must be closed manually. Is there a way to create a GUI where no command window pops up? Thanks,
|
| Class within a class | 28 Apr 2005 17:26 GMT | 2 |
I'm not sure what it is called but in Java you can define a class inside another class. I have a GUI (extends javax.swing.JFrame) which, among other things, allows some file selections based on a file extension, to achieve this it
|
| exception inside constructors and finalize | 28 Apr 2005 17:24 GMT | 5 |
i have some doubts.... please clear them. 1.how can we handle exception inside constructors and finalize method? 2.what will happen when an exception occur inside constructors and finalize()?
|
| Learning Java - How should I go about it? | 28 Apr 2005 17:13 GMT | 3 |
I borrowed the book "Java - How to Program, 3e, Deitel & Deitel" from my local library. But it didn't come with a CD. This book is a tutorial for Java 2, using Java 2 SDK v1.2.1 with either NetBeans dev. x2 2.1 or JBuilder 3 University Ed.
|
| connecting to MySQL db from Tomcat.. | 28 Apr 2005 16:36 GMT | 4 |
I have managed to connect fine to a db on my website server, thus: String url = "jdbc:mysql://localhost:3306/francesdelrio_com?user=frances&password=XXXXXX"; Statement stmt;
|
| JMF and video from jar file? | 28 Apr 2005 08:45 GMT | 1 |
I tried to play video from the jar file on the next ways: 1. java.net.URL url = MyClass.getClass().getResource("movie/x.avi"); player = Manager.createPlayer(url);
|
| Redirecting error page 404... | 28 Apr 2005 07:51 GMT | 2 |
Hi, i try to make an error page with jsp on a tomcat 5. Everything is ok, but i only want to show the name of the URL the user has typed and isn't found.
|
| newbie with object problems | 28 Apr 2005 07:33 GMT | 6 |
Here are my error messages from javac - C:\j2sdk1.4.2_02\bin>javac xx.java xx.java:125: <identifier> expected Vector<Object> king =new Vector<Object>();
|
| Which one is better AWT or SWING ? | 28 Apr 2005 03:37 GMT | 4 |
|
| Finding the path to the program folder with JSP tags. | 27 Apr 2005 23:55 GMT | 1 |
I'm making a program which uses JSP (custom tags) to get information from a form at the page and save it as an .xml document. I use Apache Tomcat to run my program. Problem is, the .xml files are automatically saved where Java is run from, in my case C:/Windows/System32. That's not ...
|
| Saving and Opening an Array List | 27 Apr 2005 23:20 GMT | 14 |
I've recently begun to look at Array Lists, I know some of the basic methods that you can do such as clear(), remove() and add(). However now I would like to be able to Save an Array List to a .txt file, and then open it from the .txt file.
|
| Tomcat: importing a package.. | 27 Apr 2005 22:47 GMT | 7 |
I really don't understand what I'm doing wrong here.. I'm on chapter 8 of the Java Servlet & JSP Cookbook.. I dl'd the package he says (com.jar) and put it in <webappRoot>/lib.. servlet is here..
|
| syntax of sslext with a url parameter | 27 Apr 2005 22:28 GMT | 1 |
I'm trying to figure out the proper syntax for sslext with a url parameter: In a jsp page, <sslext:link page='/showTable.do;table_name=<%=objectName%>'>
|