Results 1 to 4 of 4
  1. #1
    sunolinu is offline Member
    Join Date
    Jan 2010
    Posts
    15
    Rep Power
    0

    Default Re: 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.

    best regard.
    -------------------
    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

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,458
    Rep Power
    20

  3. #3
    zweibieren is offline Senior Member
    Join Date
    Aug 2009
    Location
    Pittsburgh, PA
    Posts
    284
    Rep Power
    6

    Default

    Are you learning about Turing machines or GUIs?
    I ask because the task of building a graphical editor
    is so much harder than exploring Turing machines;
    and not useful for learning about Turing machines.

    If you are doing a graphical editor,
    the first step is to draw some diagrams illustrating
    what the user will see.

    In general, the GUI tool basis for a drawing editor is a JPanel.
    When the user clicks to create a circle, the coordinates
    are added to a list. Then the paintComponent() plots
    circles for all the points in the list.

  4. #4
    sunolinu is offline Member
    Join Date
    Jan 2010
    Posts
    15
    Rep Power
    0

    Default

    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. need help to create a GUI for this program
    By placidphyll in forum AWT / Swing
    Replies: 1
    Last Post: 11-17-2009, 05:53 PM
  2. Create a folder within a java program.
    By yellowfire7 in forum New To Java
    Replies: 2
    Last Post: 10-26-2009, 11:14 PM
  3. After you create a program?
    By sciguy77 in forum New To Java
    Replies: 4
    Last Post: 01-17-2009, 07:41 AM
  4. Any ideas to create a filter program?
    By paulachrist in forum New To Java
    Replies: 4
    Last Post: 07-11-2008, 04:53 AM
  5. Replies: 5
    Last Post: 07-11-2008, 04:26 AM

Posting Permissions

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