Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Creating New File types question.

  1. #1
    Junior Member
    Join Date
    Jun 2011
    Thanked 0 Times in 0 Posts

    Default Creating New File types question.

    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!!

  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Eastern Florida
    Thanked 2,636 Times in 2,586 Posts

    Default Re: Creating New File types question.

    How can I create a new file of type ikl
    There are no restrictions in java on what file extension you use when you create a file.

    when the user click on a button
    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.
    Go to this site and Search for Listener: The Really Big Index
    for details on how to write a listener

Similar Threads

  1. Creating JAR file in eclipse HELP !
    By Maheshkh in forum Java IDEs
    Replies: 3
    Last Post: September 16th, 2011, 12:37 PM
  2. Creating a binary dump of a file
    By NRDargie in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: July 20th, 2010, 05:24 PM
  3. Problem in Creating Jar file
    By sikriyogesh in forum Member Introductions
    Replies: 0
    Last Post: November 20th, 2009, 02:12 AM
  4. Creating a class file
    By ipatch in forum What's Wrong With My Code?
    Replies: 2
    Last Post: November 8th, 2009, 07:19 PM
  5. Creating variables from a text file
    By Larz0rz in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: October 4th, 2009, 11:57 PM