Click to See Complete Forum and Search --> : How i create this Gui program? Or I use what component for this GUI ?


sunolinu
January 30th, 2010, 06:12 AM
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.

nuzzle
January 30th, 2010, 12:49 PM
You can use Swing to build a GUI. Here's a tutorial,

http://java.sun.com/docs/books/tutorial/ui/index.html

sunolinu
January 31st, 2010, 11:36 PM
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

nuzzle
February 1st, 2010, 10:50 PM
now i use what ?


You use Swing. See my previous post.

xlarsx
March 5th, 2010, 04:00 PM
Maybe you can use QtJambi for your GUI :)

Thanks