When using IntelliJ to build a JavaFx project, eventually you man want to build a JAR to deploy the program to another system. The following plugin is required in the Plugin section of the POM.xml file to build a JAR file. There may be other ways than manually adding this plug-in. This method was shown on a Discord channel.
Continue reading “JavaFx Maven Assembly Plugin”Tag: javafx
Java Programming for Desktop Apps
The last time I wrote Java code was about five years ago in 2000. At that time I needed a program to display a series of LibreOffice Impress slide shows to build an artwork display using a Linux System with a large monitor.
Recently I’ve gotten bored with Gaming and have decided to go back to programming and have decided to rewrite QtScreenShotArchive in Java. QtSSA is a program that I wrote back in 2013 to back up and organize screen shots for games I play. The program works great, but it is complex enough to provide a challenge for some Java coding. If you are interested in the current C++ QtFramework based, QtSSArchive program, it’s available from the page above.
Things have changed quite a bit since I last programmed Java. As I recall I was using the Eclipse IDE. Eclipse is still around, but the flashiest guy on the block is now Itellij. If you go there to download, be sure you scroll down to the bottom of the page to get the free community version rather than the free trial of the paid version. Unless you wanna pay. LOL
Here’s what IntelliJ looks like:



I suggest you use two monitors for development. I use IntelliJ on one and web pages for research and sample code on the other. And GitKraken is waiting in the background to check stuff in. There is an example of the GUI for the SSArchive program as well.
Continue reading “Java Programming for Desktop Apps”JavaFx – Modify a Modal Dialog when Shown
Note: Post is back dated by a year to keep it off the front page.
The latest Java app is progressing well. The AboutBox needs some modification to the text after it launches.
The app is built in JavaFx using IntelliJ. It is far along enough to build a modal AboutBox. The Box has a TextArea containing a description of the program is not editable. All that works fine. But the area can’t be formatted with new lines in the SceneBuilder, so the fix is to load up the content when the DialogBox launches. The code works to modify the TextArea with new text, but not when the Dialog Box is Shown. At that time, the changes have no effect on the TextArea.
Continue reading “JavaFx – Modify a Modal Dialog when Shown”