List of JavaFX Simple Properties


May 18, 2017

List of JavaFX Simple Properties

I’ve been playing around with JavaFX (the desktop/windows application interface for Java) recently and was trying to find a list of the different “Simple...Property” to use in TableColumn’s setCellValueFactory() method.

Android Virtual Device Download Problems in IntelliJ


March 1, 2017

I’ve been wanting to play around making Android apps for awhile now. Though difficult, I was able to setup things using Maven and IntelliJ. Almost everything was working - I could even build an APK and install it on my phone - but when I tried to run it on my computer via an Android Virtual Device, I needed to download some components via IntelliJ. Unfortunately, I received the following error:

When Can Using If/Else Be Considered Unfavorable in Object Oriented Programming?


October 21, 2016

When Can Using If/Else Be Considered Unfavorable in Object Oriented Programming?One way using if/else would be bad design, from an OOP standpoint, is if you’re using a chain of instanceof checks instead of polymorphism.

What are some unique ways in Java to loop through an array?


October 5, 2016

What are some unique ways in Java to loop through an array?Kenny Yu mentioned the standard ways to loop through an array. A unique way, I suppose, is to use recursion.

What is the meaning of the "default access specifier" in Java?


September 21, 2016

What is the meaning of the "default access specifier" in Java?There are four access specifiers in Java: public, private, protected, and default. Three of them use their associated word, while default uses none.

What does "+" mean in Java?


September 15, 2016

What does "+" mean in Java?When dealing with numbers, it adds them like you’d expect. When dealing with string, it concatenates them. That is, puts one after another into another string.

How long is the shortest possible Java program?


August 5, 2016

How long is the shortest possible Java program?You can even do a little shorter than Garry Taylor’s solution, by giving main’s argument a shorter name:

The Difference Between a JavaBean and a POJO


July 6, 2016

The Difference Between a JavaBean and a POJO

If you’ve programmed in Java for any amount of time, you’ll inevitably come across the terms bean, JavaBean, and POJO. What are they and how do they differ? Let’s start with some definitions:

Four Java Limitations You May Never Encounter


April 14, 2016

Four Java Limitations You May Never EncounterI'll start with one you probably have encountered... Or least covered in an introductory class.

Autoboxing & Equality


October 28, 2015

Autoboxing & Equality

I was curious as to the effects of autoboxing on equality, so I wrote this short class:

Polymorphism


October 26, 2015

Polymorphism

Interesting problem / assumption I had with polymorphism recently. Take this code:

Oracle Certified Associate, Java SE 7 Programmer


September 2, 2015

Oracle Certified Associate, Java SE 7 Programmer

So at my midpoint review for this year, my boss wanted me to get some kind of certificate.