Results 1 to 4 of 4
  1. #1
    alan2 is offline Member
    Join Date
    Mar 2013
    Posts
    42
    Rep Power
    0

    Default Building a form based application using Java FX

    This continues from my (erroneously named) thread 'savew'!

    I am trying to develop the ability to create form-based aplications, to eventually port my existing accounts package from vb6, and no doubt to write other applications.

    I've downloaded Java FX, as recommended. However, on looking at the sample project and a tutorial it seems that I cannot just drag and drop 'controls' on the form, but must hard code everything, even sizes. This seems a tremendous step backwards from what I am used to in vb6 or even dot.net. I wonder where I'm going wrong. I am used to setting up the user input form(s) purely graphically with all the buttons, text boxes and so on, and only when it is set up then coding the actual actions to take place when eg buttons are pressed, text boxes are filled etc.

    For example, I am used to seeing a list of available controls so I know what is available at a glance, and also an editable list of properties in each case. I cannot seem to do this or find a pane names 'design' using FX

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: Building a form based application using Java FX

    In your earlier thread I had provided a link to the JavaFX 2 documentation. Have you gone through JavaFX Scene Builder User Guide: About This User Guide | JavaFX 2 Tutorials and Documentation. linked from that page?

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  3. #3
    alan2 is offline Member
    Join Date
    Mar 2013
    Posts
    42
    Rep Power
    0

    Default Re: Building a form based application using Java FX

    Thanks for bearing with me Darryl. I may come back to this. In the meantime I have made great strides with Swing in Netbeans. I can go from form to form and close an application. I am now looking again at the print to laser printer problem, and have already got some idea of formatting strings. I will then move on to random access files.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: Building a form based application using Java FX

    Quote Originally Posted by alan2 View Post
    I can go from form to form
    Most Swing applications use only one JFrame. Other windows are JDialog, usually modal. These may be launched using JOptionPane's static methods.

    And then there's CardLayout.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Java Based Application to Map Network Drive
    By Wraithier in forum New To Java
    Replies: 15
    Last Post: 05-24-2012, 11:09 AM
  2. building a web-based tracking application in java
    By ddatta8 in forum Advanced Java
    Replies: 5
    Last Post: 02-26-2011, 03:33 PM
  3. Replies: 14
    Last Post: 10-12-2010, 07:16 PM
  4. Java based Web Application architecture
    By AmmarKhalid in forum New To Java
    Replies: 1
    Last Post: 11-05-2008, 08:20 AM
  5. Building small web application in java for practice.
    By Saurabh321 in forum New To Java
    Replies: 1
    Last Post: 02-01-2008, 03:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •