Results 1 to 1 of 1
Thread: Swing
- 03-31-2010, 10:18 AM #1
Member
- Join Date
- Mar 2010
- Posts
- 17
- Rep Power
- 0
Swing
Hi again Guys: i am done with my notepad app: but now i want to extend it:
Given the code:
package za.mhgad.com.test.vehicle;
import java.io.Serializable;
public class Car implements Serializable {
private String weight;
private Integer topSpeed;
private String model;
private class Tyre {
Integer inches;
String make;
};
}
i want the "New" option to create a new Car object and allows the user to input values for each variable. "Save" option to serialize the object to fixed folder and Exit to quit the app.
The folder watcher should run concurrently with Swing app i.e contain a thread which polls the fixed folder every 10 seconds...if a new file is detected, it serialized and the contents are output to the console..once the file is output to the console it must be deleted. overload the toString() method to provide human readable data when object is displayed.
Your help will be appreciated guys: i am still new to Java
Similar Threads
-
swing
By mnatalka in forum New To JavaReplies: 5Last Post: 12-03-2008, 07:26 AM -
AWT or Swing
By bugger in forum AWT / SwingReplies: 4Last Post: 11-22-2007, 09:44 AM -
where is the swing jar?
By katie in forum AWT / SwingReplies: 1Last Post: 08-06-2007, 10:58 PM -
map javax.swing.text.Element to javax.swing.text.View
By elizabeth in forum New To JavaReplies: 1Last Post: 07-30-2007, 07:02 PM -
swing?? why use it
By javaforme44a in forum AWT / SwingReplies: 3Last Post: 07-18-2007, 07:51 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks