Page 2 of 2 FirstFirst 12
Results 21 to 28 of 28
Like Tree2Likes

Thread: How to periodically savew my work

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

    Default Re: How to periodically savew my work

    Quote Originally Posted by alan2 View Post
    Probably I'll need to start a new thread, but re FX2, it appears that this is for web based applications.
    Not only for web based applications. See the page linked above ^^

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

  2. #22
    alan2 is offline Member
    Join Date
    Mar 2013
    Posts
    44
    Rep Power
    0

    Default Re: How to periodically savew my work

    Quote Originally Posted by DarrylBurke View Post
    ... those I used for almost 20 years, creating small applications that made life easier wherever I worked (I'm not a programmer).


    JavaFX Documentation Home | JavaFX 2 Tutorials and Documentation

    db
    Well that is something we have in common (now) so I'm encouraged. I want to be able to create user-oriented form-based applications that are actually useful to the non-technical user, much as my accounts system is. My wife, who is totally non-technical can use it with ease and minimal instruction.
    Last edited by alan2; 03-26-2013 at 12:42 AM.

  3. #23
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: How to periodically savew my work

    You'll want to install the Scene Builder software for Netbeans, which is linked to in the link Darryl gave you.
    That's the GUI builder.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  4. #24
    alan2 is offline Member
    Join Date
    Mar 2013
    Posts
    44
    Rep Power
    0

    Default Re: How to periodically savew my work

    Good morning from dark and still very hot Australia!


    I'm now just a bit confused. Is Scene Builder part of FX2? I already have installed the Java SDK with Netbeans. Is Scene Builder the only thing to add?

  5. #25
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: How to periodically savew my work

    It interacts with Netbeans. Think of it as a plugin for the IDE so it can do GUI building for JavaFX.
    The tutorial here would be a good start.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  6. #26
    alan2 is offline Member
    Join Date
    Mar 2013
    Posts
    44
    Rep Power
    0

    Default Re: How to periodically savew my work

    OK I have had a look at that and my mind is spinning! It all seems much more complicated than vb6 or even dot.net, where there are excellent GUIs. I am used to toolboxes with controls like buttons, text boxes and so on. It is so easy with those languages to build a good user-friendly screen and then to code for actions arising from each control. Is there a simpler alternative to this?

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

    Default Re: How to periodically savew my work

    Quote Originally Posted by alan2 View Post
    OK I have had a look at that and my mind is spinning! It all seems much more complicated than vb6 or even dot.net, where there are excellent GUIs. I am used to toolboxes with controls like buttons, text boxes and so on. It is so easy with those languages to build a good user-friendly screen and then to code for actions arising from each control. Is there a simpler alternative to this?
    It's a trade-off. For the added complexity of learning which listeners respond to which components in which way, you gain the flexibility that an object oriented approach provides. For example, in VB6 (as far as I know) you can write only one code segment for a button click whereas in Java you can add multiple ActionListeners to the same button*. Another area where Swing shines is in the ability to customize UI components, often by reading the JDK source code for inspiration and guidance. You can see an example of that here: problems with custom JSpinner UI (Swing / AWT / SWT forum at JavaRanch)

    JavaFX2 isn't open source, so customizing may not be quite as straightforward.

    db

    * edit: or, conversely, the same ActionListener to several buttons -- or text fields / menu items. This is specially useful with Actions for synchronizing the enabled state of buttons and menus without having to code it all up.

    Key Binding is another very useful feature in Swing -- look it up in the Oracle tutorials. And last I looked at VB6, it didn't have layout managers. In VFP6, each time I added or removed a widget I would have to spend time updating the resized event code.
    Last edited by DarrylBurke; 03-28-2013 at 07:20 AM.
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  8. #28
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,006
    Rep Power
    20

    Default Re: How to periodically savew my work

    Quote Originally Posted by alan2 View Post
    OK I have had a look at that and my mind is spinning! It all seems much more complicated than vb6 or even dot.net, where there are excellent GUIs. I am used to toolboxes with controls like buttons, text boxes and so on. It is so easy with those languages to build a good user-friendly screen and then to code for actions arising from each control. Is there a simpler alternative to this?
    Just start doing some of the tutorial stuff and it will start to make sense.
    Remember, Java is supposed to function in the same way on multiple different platforms, so has to be more open than something like VB which has the advantage of plugging directly into the OS and short cutting some elements.
    DarrylBurke likes this.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 2
    Last Post: 11-25-2012, 02:51 AM
  2. Why. Does. This. Not. Work.
    By Kaytes in forum New To Java
    Replies: 1
    Last Post: 04-06-2012, 07:50 PM
  3. applet call dll work in Win2000 but not work in WinXP
    By manhcuongtin4 in forum Java Applets
    Replies: 1
    Last Post: 07-14-2011, 01:45 PM
  4. Server/clients connection periodically
    By akis3110 in forum New To Java
    Replies: 4
    Last Post: 06-28-2011, 03:03 PM
  5. Cant seem to get this to work
    By nivekeleets in forum Java 2D
    Replies: 4
    Last Post: 11-13-2010, 07:09 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
  •