Java Applets Linked To Application Code

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • willwmagic
    New Member
    • Feb 2007
    • 5

    Java Applets Linked To Application Code

    It has been a while since I have programmed in Java. However, what i am trying to do is create a simple Point-Of-Sale system for a restaurant. I understand the basic concepts for Java methods and functions etc... but from my classes I never actually learned how to connect a Java GUI to back end code.

    Essentially, what i want is that when a user clicks a button on the GUI, this will send a commend to a certain method that adds that item to a order.

    Does anyone have good tutorials that could be recommended for this? Thanks.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by willwmagic
    It has been a while since I have programmed in Java. However, what i am trying to do is create a simple Point-Of-Sale system for a restaurant. I understand the basic concepts for Java methods and functions etc... but from my classes I never actually learned how to connect a Java GUI to back end code.

    Essentially, what i want is that when a user clicks a button on the GUI, this will send a commend to a certain method that adds that item to a order.

    Does anyone have good tutorials that could be recommended for this? Thanks.
    The sun site has a good swing tutorial. You basically want to learn about event handling. In this case you want to use the actionPerformed method of the ActionListener interface.

    Comment

    Working...