Results 1 to 6 of 6
  1. #1
    NetJava is offline Member
    Join Date
    Nov 2011
    Posts
    7
    Rep Power
    0

    Default Program for interface

    Hi All!
    I would like to create an interface of a java program that I wrote.
    How can i do?
    Thank all!

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Program for interface

    1) Read a tutorial on the structure of an interface
    2) Extract out all the methods that you want to make part of the interface.

  3. #3
    NetJava is offline Member
    Join Date
    Nov 2011
    Posts
    7
    Rep Power
    0

    Default Re: Program for interface

    Yeah i've searched in internet and i found only codes that i have to put in the program to the interface. But i want to know if there is a program where i can put buttons and assign their task

    Grafic interface i mean
    Last edited by NetJava; 11-20-2011 at 07:00 PM.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Program for interface

    Ah, I see your meaning. You must be extremely careful on use of the term "interface" as it has a very specific meaning in Java. So I gather that you wish to make a GUI of your program, using Java and if so, your best bet is to learn and use Swing. You may find the tutorials here: Using Swing Components.

    Note that there is no automatic way to transform a non-GUI program into a GUI program, but it's fairly easy to do if your non-GUI program was adheres well to object-oriented programming paradigm. If it's mainly a large main method console program, then all bets are off and your best bet is to re-write it from the ground up.

  5. #5
    NetJava is offline Member
    Join Date
    Nov 2011
    Posts
    7
    Rep Power
    0

    Default

    "Ah, I see your meaning. You must be extremely careful on use of the term "interface" as it has a very specific meaning in Java"

    Sorry :P
    And thank you

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default Re: Program for interface

    You're welcome, and good luck with this project!

Similar Threads

  1. writing a program to interface with other programs
    By gib65 in forum Advanced Java
    Replies: 4
    Last Post: 11-04-2011, 11:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •