Skip to content
Software Pulse

Software Pulse

Teaching novice computer programmers how to turn their ideas into working applications

  • Applications
  • Blog
  • Tutorials
  • Courses
  • Publication

Author: John McNeil

Posted on October 12, 2018

Java with SQLite embedded database

If your java desktop application needs to store data in a database then a good solution is to embed a database into your solution.  This tutorial takes you step by step through embedding an SQLite database into your Java desktop application. Continue reading “Java with SQLite embedded database”

Posted on October 12, 2018

Getting started with JTree

JTree is a swing class used to display a tree like structure such as the file directory structure. If we want to create a JTree we could simply call any one of a number of constructors and it would give us a JTree. To demonstrate the point Continue reading “Getting started with JTree”

Posted on October 12, 2018October 12, 2018

JTree Select

Example of using JTree to select and display information

This tutorial runs through how to change information displayed based on selecting a JTree node.  As each tree node is selected the information displayed on the right changes.

Continue reading “JTree Select”

Posted on October 12, 2018June 12, 2019

The only right way to write code!

I was reading a blog the other day and the author was talking about writing a Java application in 10 minutes as a test.  They finished off by saying that even with time to consider the solution they do not think they could improve upon it.  When I looked at the code my first thought was “what a mess”, Continue reading “The only right way to write code!”

Posted on October 2, 2018October 1, 2018

Math Formula in Java

The challenge in this tutorial is to present a mathematical formulas written in LaTeX within our application. This example makes use of the third party library “JLaTeXMath – A Java API to render LaTeX” Continue reading “Math Formula in Java”

Posted on September 28, 2018September 26, 2018

Using JTree to display a hierarchy

In the last post we saw how you can easily create a JTree using an array of strings.  The JTree however did not display the values in a hierarchy but displayed all the values at the same level.  So in this post we will build our Java Desktop Application using JTree with a hierarchy.

JTree Hierarchy using TreeNode

Continue reading “Using JTree to display a hierarchy”

Posted on September 24, 2018September 22, 2018

Getting Started With JTree Part 1

JTree is a Swing class used display a tree like structure such as the one shown below.

JTree example
An example of a JTree swing object

Continue reading “Getting Started With JTree Part 1”

Posted on September 21, 2018June 12, 2019

Code Comments

I am a firm believer in code comments among other things.   So when I came across a blog post at  http://blog.jooq.org/2013/12/04/when-source-code-comments-indicate-trouble/ talking about amusing comments coders leave in their code for people to find later I followed the links and found this: Continue reading “Code Comments”

Posted on September 17, 2018September 13, 2018

Using JTree to display a hierarchy

In this tutorial we will take a look at displaying JTree information in a hierarchy. We will introduce the Tree Node object that works alongside JTree. As we go through the tutorial we will see how the Tree Node handles the tree data and the JTree takes care of displaying the information. Continue reading “Using JTree to display a hierarchy”

Posted on September 15, 2018September 13, 2018

Select files using file filters

In this tutorial we walk through the files in a file system. As we go through the directories and sub directories we identify specific file types using file filters. In this example image files of various formats are selected. Continue reading “Select files using file filters”

Posts navigation

Previous page Page 1 … Page 4 Page 5 Page 6 Page 7 Next page

Recent Posts

  • Creating an executable file with Launch4J and Java 11
  • Using JLink to build a Java 11 JRE
  • SunLounger
  • JWT Decoder
  • Rendezvous

Categories

  • Applications
  • Blog
  • Courses
  • Publication
  • Tutorials
  • About
  • Blog
  • Copyright statement
  • Privacy Policy
  • Comment Policy
Privacy Policy Proudly powered by WordPress