Is is possible to use windows common controls in java

Please support our Java advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 8
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Is is possible to use windows common controls in java

 
0
  #1
Jun 28th, 2004
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
Reply With Quote Quick reply to this message  
Join Date: Jul 2004
Posts: 1,749
Reputation: nanosani is an unknown quantity at this point 
Solved Threads: 54
Team Colleague
nanosani's Avatar
nanosani nanosani is offline Offline
Unauthenticated Liar

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

 
0
  #2
Jul 15th, 2004
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();
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC