Earlier on today I used Python (via Flask, some HTML and my Raspberry Pi) to help turn my Amazon Kindle into an eInk digital clock. This was cool and I was happy until I decided I wanted to do the same thing via Java and TomCat. For this project I am using: A Raspberry Pi … Continue reading Using a Kindle as an eInk Clock (Java)
Category: Java
Creating A GUI Form Window (Java)
As much as I enjoy creating programs that run in a command line / terminal, the majority of end users prefer a program to have a Graphical User Interface (GUI). I have managed to put a GUI on the front of some of my Python projects, so today I am going to look at creating … Continue reading Creating A GUI Form Window (Java)
Caesar Cipher (Java)
One of the earlier programs I wrote in Python was a Caesar Cipher (later updating it to add a GUI). As part of my recent Java learning I have created a Caesar Cipher in Java. If you want to read more about Caesar Ciphers then please check out: https://en.wikipedia.org/wiki/Caesar_cipher I have placed the Java file … Continue reading Caesar Cipher (Java)
Returning Values From Methods (Java)
As my Java adventure continues I look today at returning values from methods. So far the methods I have discussed have completed a task but have not returned any values to the main method. The previous methods have been defined as: public static void methodName(){ method } I've put the word void in bold because this … Continue reading Returning Values From Methods (Java)
Installing IntelliJ IDE On Raspberry Pi (Java / Raspberry Pi)
With my adventures looking at Java I have also been using a different IDE (Integrated Development Environment) called IntelliJ on my Macbook. However I also want to look at using Java on my Raspberry Pi. The Raspbian OS (Stretch) comes with a Java IDE called BlueJ, which is designed around Java and supporting beginners to Java. … Continue reading Installing IntelliJ IDE On Raspberry Pi (Java / Raspberry Pi)
Variables / Travel Planner (Java)
I am continuing on my Java adventure and taking a brief look at variables within Java before tackling my first Java assignment (creating a planning assistant). Declaring Variables Variables in Java must be defined by their type: int for integer (whole numbers) e.g. -5, 5, 100000, 0 double for decimal numbers (float numbers) e.g. 3.14, … Continue reading Variables / Travel Planner (Java)
Methods (Java)
Continuing on with my learnings about Java , today I am discussing methods. Within the public class there is a main method, which can then be used to call on other methods. The other methods can be named and defined in any order and then called by the main method in the order they are required. … Continue reading Methods (Java)
Java Basics / Hello World In Java (Java)
Way back in October 2016 I completed an introduction to Java course via MadLab, and other than dipping into Java whilst looking at Android development I have not really looked at the Java language. However in recent times I've been dabbling with C, and that got me thinking about Java again. Java was developed by Sun … Continue reading Java Basics / Hello World In Java (Java)
Android Studio / Android App
So I've had a quick play with Xcode and Swift on the Mac, and that got me thinking about Android. Android apps are built more on Java rather than C, and I've dabbled with Java in the past so lets see what I can do. I downloaded Android Studio 3 from https://developer.android.com/ and installed … Continue reading Android Studio / Android App
You must be logged in to post a comment.