Results 1 to 3 of 3
  1. #1
    highfive is offline Member
    Join Date
    Mar 2010
    Posts
    1
    Rep Power
    0

    Exclamation creating java desktop application

    Hi

    i'm new to programming in java. for a uni project we have to design and develop a system. using the java desktop application it will simulate a PDA system.

    so far we have got the main interface, with buttons, label and texts fields. renamed all the variables and put in the events "actionperformed"

    after that we have no idea how to connect different frames with each other ie clicking a button and it takes you onto the next frame which would be the next page on the PDA system.

    this is what we have so far

    private void jButton2ActionPerformed(java.awt.event.ActionEvent evt)
    // this is where the code should be ?

    cant find much on connecting frames and getting buttons to work

    any help, tutorials,examples would be appricated so much just struggling

    thanks

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,949
    Rep Power
    19

  3. #3
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    5

    Default

    i don't really know what you are looking for how your pda-application looks like but here How to Use Various Components (The Java™ Tutorials > Creating a GUI With JFC/Swing > Using Swing Components) you will find a lot of swing componenent and how to use them. if your question can be a little more specific also the answers can be more detailed.
    Last edited by j2me64; 03-29-2010 at 04:17 PM.

Similar Threads

  1. Replies: 3
    Last Post: 12-04-2009, 12:10 PM
  2. Replies: 2
    Last Post: 10-18-2009, 07:27 PM
  3. run java application from desktop with double click
    By Rose88 in forum Advanced Java
    Replies: 4
    Last Post: 09-29-2009, 06:32 PM
  4. Problem running a java desktop application
    By chris@gaiag.net in forum AWT / Swing
    Replies: 2
    Last Post: 08-24-2008, 04:24 AM
  5. Installer for Java desktop application
    By nitingupta183 in forum SWT / JFace
    Replies: 0
    Last Post: 03-18-2008, 07:53 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
  •