Using JTree to select information

In the previous post we looked at displaying information in a hierarchy using JTree.

JTree Hierarchy using TreeNode
JTree Hierarchy using TreeNode

Now all this is fine but, usually when we use a JTree it is because we want to be able to select an item, one or more.  For our example let us concern ourselves with selecting a single item and displaying the detail associated with that item. Continue reading “Using JTree to select information”

Using JTree to select information

Math Formula in Java

The other day I came across an example where a formula written in a Java program could be represented in standard notation on the screen.  I thought this was brilliant.  I recall back in my Uni days using the formula editor in Microsoft Word to present formulas.   Now I don’t have a use for this in Java yet but, you never know.  However in case anyone out there does have a requirement to represent a formula written in a programming language in standard notation then maybe this will help.  Continue reading “Math Formula in Java”

Aside

Java Executables

One of the challenges when writing Desktop applications in Java has always been deployment.  The write once run code anywhere concept has always been attractive but it has been the running of the code which has traditionally been the stumbling block.

Over the years there have been many solutions developed to overcome these challenges.  Initially there was Continue reading “Java Executables”

Aside