943,662 Members | Top Members by Rank

Ad:
  • Java Discussion Thread
  • Unsolved
  • Views: 3548
  • Java RSS
Jun 28th, 2004
0

Is is possible to use windows common controls in java

Expand Post »
Hi
My name is richard west and i am wondering if anyone knows how to use windows common controls in java. By common controls i mean open file dialog, save as dialog, font dialog and etc. Please if someone knows please
e-mail me the codes at freesoft_2000@yahoo.com or show me the codes and how to do it in this forum.

someone please please help me

Thank you

Yours Sincerely

Richard West
Similar Threads
Reputation Points: 25
Solved Threads: 10
Practically a Master Poster
freesoft_2000 is offline Offline
623 posts
since Jun 2004
Jul 15th, 2004
0

Re: Is is possible to use windows common controls in java

this is the code for opening file dialog ... save file dialog is implemented similarly with jFileChooser

private JFileChooser jFileChooser1 = new JFileChooser();
if (JFileChooser.APPROVE_OPTION == jFileChooser1.showOpenDialog(this)) {
// Call openFile to attempt to load the text from file into TextArea
openFile(jFileChooser1.getSelectedFile().getPath());
}
this.repaint();
Team Colleague
Reputation Points: 45
Solved Threads: 56
Unauthenticated Liar
nanosani is offline Offline
1,767 posts
since Jul 2004

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Java Forum Timeline: simple program tokenizer problem
Next Thread in Java Forum Timeline: Credit card payments assignment





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC