Page 1 of 1

Simple java program , plz help me

Posted: Sun Sep 10, 2006 9:15 am
by Rainy Day
I need to make a tiny notepad in java .The notepad consists a JTextArea , a JTextField
for selecting the file location, and 4 JButton . JButton save for save the text written in JTextArea , JButton Open for Open the file written in JTextField , JButton clean for clear the
text written in JTextArea and JButton Exit for exit from the JFrame.
I am now out of my mind . Is there any guru to give me a code for that ?

Posted: Sun Sep 10, 2006 10:23 am
by Darko
I think Java SDK still comes with examples, one of them being a Notepad. Look through the jdk directory. (in my case it is in C:\Program Files\Java\jdk1.5.0_06\demo\jfc\Notepad )

Posted: Sun Sep 10, 2006 12:53 pm
by Rainy Day
thanks for ur Help.