Tag Archives: java

Android Volley Sending data twice

When you use Android Volley Library to make a http post request, the default situation is that the data will be send twice. In order to avoid this, you would need to add the line 2 of the below code … Continue reading

Posted in Android, Java | Tagged , , , , | Leave a comment

Creating Jar for JavaFX Application

This is a step by step guide to creating a Jar for a JavaFX Application using IntelliJ IDEA. It is only tested on IntelliJ IDEA 2016 with Java8. Steps might be slightly different for Java7. First, open up File > … Continue reading

Posted in Java, JavaFX | Tagged , , | Leave a comment

JavaFX load data on launch

To load data on launch for a JavaFX app, you would simply need the following in your Controller. The initialize method is the first piece of code that is run when you launch the JavaFX app.

Posted in Java, JavaFX | Tagged , | Leave a comment

Installing Apache Tomcat on Raspberry Pi

In this post, I will be documenting the process of running Apache Tomcat on Raspberry Pi 2. Before we start installing Tomcat, it would be good to do a update. After the update, verify that you have java 8 installed. … Continue reading

Posted in apache tomcat, Raspberry Pi | Tagged , , , , , | 1 Comment

Getting Started on Raspberry Pi as a Server

This will be part of a series of posts on how to get started on using Raspberry Pi 2 as a Server to host a java web service. I am currently exploring the possibility of using Raspberry Pi as a … Continue reading

Posted in Raspberry Pi | Tagged , , , , , , | Leave a comment

JavaFX: Include Button into cell for TableView

There are times when you need to have an Button for each of the row in the TableView, hence in this post I will go through how we could add a Button into the row of the TableView. c3 will … Continue reading

Posted in Java, JavaFX | Tagged , , | Leave a comment

Finding JAVA_HOME on Windows and Linux

For windows: In general, this is not required for Linux system but if you need it, it is here. For Linux: Specials thanks to http://srcode.org/2014/05/07/detect-java-executable/

Posted in Uncategorized | Tagged , , | Leave a comment