Results 1 to 4 of 4
- 01-31-2010, 11:03 AM #1
Member
- Join Date
- Jan 2010
- Posts
- 15
- Rep Power
- 0
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
- 01-31-2010, 07:16 PM #2
These tutorials should be useful to you:
Trail: Creating a GUI With JFC/Swing (The Java™ Tutorials)
Trail: 2D Graphics (The Java™ Tutorials)
db
- 02-01-2010, 01:26 AM #3
Senior Member
- Join Date
- Aug 2009
- Location
- Pittsburgh, PA
- Posts
- 282
- Rep Power
- 4
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.
- 02-01-2010, 05:55 AM #4
Member
- Join Date
- Jan 2010
- Posts
- 15
- Rep Power
- 0
both them , i should create with GUI for user can to create its standard turing machinAre you learning about Turing machines or GUIs?
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
-
need help to create a GUI for this program
By placidphyll in forum AWT / SwingReplies: 1Last Post: 11-17-2009, 04:53 PM -
Create a folder within a java program.
By yellowfire7 in forum New To JavaReplies: 2Last Post: 10-26-2009, 10:14 PM -
After you create a program?
By sciguy77 in forum New To JavaReplies: 4Last Post: 01-17-2009, 06:41 AM -
Any ideas to create a filter program?
By paulachrist in forum New To JavaReplies: 4Last Post: 07-11-2008, 03:53 AM -
create a program that will extract particular records from a file
By acev in forum New To JavaReplies: 5Last Post: 07-11-2008, 03:26 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks