Results 1 to 3 of 3
Thread: Need some help with kode, Cinema
- 11-09-2009, 03:46 PM #1
Member
- Join Date
- Nov 2009
- Posts
- 1
- Rep Power
- 0
Need some help with kode, Cinema
Hello
Im stuck at this point, so i hope there is anyone that can help me with my problem. The kode you find
pastebin.com/m49465ad4
The problem is that i want the buttons in Forestilling1 and 2 to get disabled when they get pushed, and when they are disabled they are supposed to change the image to a new one.
Second problem is that i want the actionCommand "..." to get somekind of textbox that i can type what name is gonna reserve that seat.
As you se im new to java so ill take any help there is.
My english is not perfect so please correct me or post if there is any doubt of what i mean.
Thanks to the people that have time to answer.
Mvh
spotLast edited by spot; 11-09-2009 at 03:49 PM.
- 11-09-2009, 05:23 PM #2
You might like to post a question that has a better chance of being answered, and you can get some good guidelines here:
How To Ask Questions The Smart Way
db
-
1) Instead of disabling the button, how about showing a new JDialog rather than a new JFrame.
2) The main class should be a JFrame (Swing), not a Frame (AWT).
3) To answer other questions that may require more inspection of your code, you should create a smallest compilable program that demonstrates your problem and post it here with code tags. Delete all code not related to your problem for this example. This is a Short, Self Contained, Correct (Compilable), Example or SSCCE for short. Please see the link for details.
Similar Threads
-
Kode Java Website
By wsaryada in forum Reviews / AdvertisingReplies: 4Last Post: 01-18-2008, 09:16 PM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks