I have not posted recently as I am spending all my available time on my new application but I though I post some new code example for those that like learning by example. So here we have for today I have example how to. 1) Created a JLabel final JLabel currentNumber = new JLabel(“0”, JLabel.CENTER); […]
Posts with the string tag
Lesson 03 – simpleGUI
Lesson 03 is starting to get a little interesting as we will setup instructions to perform an action when a button is clicked and in this instance the instruction is to close the simpleGUI when clicked. We will implement an ActionEvent, ActionListener, JButton and we will be using BorderLayout to place the button at the […]
Java Check URL connection
I have recently created a versionControl in my Calculator pulling a version file from a URL and it works great the example can be found here . Well that is great but when I was running some tests I noticed if there was no internet connection or there was no version file available it had […]
Lesson 02 – simpleGUI
In order to start given your SimpleGUI some personality without making much changes to the exiting code you only have to add a couple lines more and that can be achieved by creating a container, getting the current details from the pack we created earlier and add a REG background colour to it, obviously it’s not going to stay RED forever […]
Java simple versionControl
I have not had much time today but managed to implement a version control function in the calculator that will allow you to check for new version when available as I am constantly improving and changing it will be good if you know when there is a update. I am still deciding where to run […]