Simple java program , plz help me

Write here if you have problems with your Java source code

Moderator: Board moderators

Post Reply
Rainy Day
New poster
Posts: 8
Joined: Sun Sep 10, 2006 9:03 am

Simple java program , plz help me

Post by Rainy Day » Sun Sep 10, 2006 9:15 am

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 ?

Darko
Guru
Posts: 580
Joined: Fri Nov 11, 2005 9:34 am
Location: Calgary, Canada

Post by Darko » Sun Sep 10, 2006 10:23 am

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 )

Rainy Day
New poster
Posts: 8
Joined: Sun Sep 10, 2006 9:03 am

Post by Rainy Day » Sun Sep 10, 2006 12:53 pm

thanks for ur Help.

Post Reply

Return to “Java”