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.


>> REGISTER NOW TO START POSTING


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

Results 1 to 4 of 4

Thread: How i create this Gui program? Or I use what component for this GUI ?

  1. #1
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How i create this Gui program? Or I use what component for this GUI ?

    hello i want to create gui program for my "Language And Machines" lesson : Turing machine project

    Our teacher says that GUI program should have this abilities:
    1-user have a place on Gui that he can Create his standard Turing machine Graphicaly
    2-when he double-click on state(a fill circle that has lable) of machine he can see list that he can select one them
    that then create a ARROW from this stat to another state
    3-place that user inter his string (tape alphabetic of machin) graphicaly 4-click button then machin trace the machin graphicaly

    what component i should use for place that user can with drag and drop
    can create its state , arrow and other shapes?
    what component i should use for state ?
    what component i should use for arrow (my means thai is : -------------> of course it have to be able to be arc-arrow)

    i am good in java but i weak in its Gui

    best regard.
    Last edited by sunolinu; January 30th, 2010 at 07:09 AM.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,896
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: How i create this Gui program? Or I use what component for this GUI ?

    There are the JFC/Swing tutorials by sun which give numerous examples on how to use different components.

    Some good ones would be JButton because they handle clicking for you, JLabels for text/static graphical icons, and of course the JFrame to house your application.

  3. #3
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How i create this Gui program? Or I use what component for this GUI ?

    Quote Originally Posted by helloworld922 View Post
    There are the JFC/Swing tutorials by sun which give numerous examples on how to use different components.

    Some good ones would be JButton because they handle clicking for you, JLabels for text/static graphical icons, and of course the JFrame to house your application.
    thanks but my means is other thing . i can create gui but for example for
    fill circle that labled and when click on it you see a list of item and this fill circle can moved and
    animate . what i should use ?
    this this applet i want to create enhanced thing like this but in application and not applet
    thanks all
    ----------------

  4. #4
    Junior Member
    Join Date
    Jan 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: How i create this Gui program? Or I use what component for this GUI ?

    Are you learning about Turing machines or GUIs?
    both them , i should create with GUI for user can to create its standard turing machin
    then he inter data then program graphically trace what act turing machin for this data

    exactly , you think that i have gui that has two part left and right . at left user see
    the shapes that need to create its machin like fill circle for state of machin
    arrows and ...
    then user select shape at left and with drag&dropmove it to right part
    and create it's machine at right part.
    at right part at last this shape should be able to animate
    now i use what ?
    Sunolinu

Similar Threads

  1. Component/Widget creation
    By Hellops in forum AWT / Java Swing
    Replies: 0
    Last Post: October 15th, 2009, 10:31 PM
  2. how to create exe jar
    By ttsdinesh in forum Java Theory & Questions
    Replies: 1
    Last Post: September 27th, 2009, 08:21 AM
  3. How to Use the JList component - Java Swing
    By neo_2010 in forum Java Swing Tutorials
    Replies: 1
    Last Post: July 11th, 2009, 04:02 AM
  4. Com based component project using Java
    By jazz2k8 in forum Java Native Interface
    Replies: 1
    Last Post: October 7th, 2008, 10:54 PM