A blog aimed at users and students of Java. May contain traces of design patterns, casual game programming and random silliness.
Does this example work from browsers too?
Honestly, I've never tried it, as I couldn't care less about it. My personal opinion on applets is that they should have been deprecated over a decade ago. All they do is give Java a bad name anyway.
Very nice! I was looking for this! But when i doesn't start the server in Netbeans the app doesn't work (derby's localhost doesn't start).How can i start the server by launching from a .jar file without starting the server?Thanks.
See the "How to use this application" section above. You can run from a .jar file just fine, as long as you set up the database first.
If it's a problem using it outside of Netbeans, you need to use another driver for Derby and another url to use it outside of netbeans.Search this in Google, you'll find plenty of solutions.
Thanks for the tip, but I can run it just fine outside of NetBeans, by double-clicking the jar-file.
Muchas gracias por el aporte, yo tambien estoy trabajando con java fx y JPA 2.0 me ha servido de mucho
Very nice example! Did you use some swing? Because when I ran it and switch reminders(switch lines) I got a annoying delay and a hard drive reading. I don't know maybe Netbeans! I am trying to learn JavaFX with Netbeans, but Netbeans lastest versions are buggy, all JavaFX project just works in DEBUG MODE or when I run the main class and there are lot of others strange things happening, I don't know. I am using Linux Mageia 3. Do you think JavaFX is ready for big applications? Is JavaFX faster than Swing?
No. Yes. Yes.;)
very helpful tutorial, i have already build an entire application with your Demo help.just i have one question about Dialogs, if i want to work with more than one dialog, from your Demo: if there's another Dialog above Reminder Details.(the parent is Reminder Details) how to mange that.Kind Regards
I guess you could refactor the code so you can set the owner (parent) of a dialog yourself. In theory this should work. All that happens in the Dialogs class is that the current Stage is faded out, a new undecorated Stage is shown on top and, once it's closed, the parent Stage is faded back in. This should work equally well if the parent Stage is a dialog itself. If you're using JDK8, you might also want to take a look at the dialogs in ControlsFX: http://fxexperience.com/controlsfx/features/
thanks so much for your help, i am using JDK7, i will try it and feedback.
StevenI admit, I might be getting old now.But, how do I download the source code?I get redirected to a screen that shows all file but only allows me to download the file one-by-one.The URL also doesn't look like a GIT or SVN repo, what is it?
It's just a zip-archive (with a NetBeans project inside) uploaded to Google Drive. This makes it easy for my students to download and use the code. Google probably shows you the contents of the archive. You can download the entire archive by using the File > Download command (from the site's menu bar, not from your browser's menu bar).