Im working on netbeans IDE and I already made a new file type with extension .ikl
what i wanna now is after I create it. How can I create a new file of type ikl when the user click on a button for example. Thank you!!
Printable View
Im working on netbeans IDE and I already made a new file type with extension .ikl
what i wanna now is after I create it. How can I create a new file of type ikl when the user click on a button for example. Thank you!!
There are no restrictions in java on what file extension you use when you create a file.Quote:
How can I create a new file of type ikl
You would use an action listener added to the button. When the button is clicked, the listener is called and you can then do whatever you want.Quote:
when the user click on a button
Go to this site and Search for Listener: The Really Big Index
for details on how to write a listener