Tutorial on how to install and setup JInput on Mac OS X using Eclipse

Tutorial on how to install and setup JInput on Mac OS X using Eclipse. This will enable you to use different input devices in your Java programs.

Using mouse, keyboard, joysticks and other input devices in your Java software is much easier using JInput. Unfortunately, the documentation on how to install and setup the software is short and difficult to follow. I was struggling for days getting it to work with Eclipse on Mac OS X 10.12.6. My first approach was to use Maven to install JInput. The excellent M2Eclipse plugin provides good support for Maven. Unfortunately, the pre-configured Maven Repository does not include JInput. I was unable to configure Maven/Eclipse to connect to The Central Repository to download JInput from there. Okay, I am not a fulltime Jave programmer and maybe it would become clear to me eventually. In the meantime I got it to work manually. I hope that this tutorial will help you in your project. I used Mac OS X and I cannot guarantee it will work on any other platform.

 

 

Continue reading “Tutorial on how to install and setup JInput on Mac OS X using Eclipse”

Tutorial on how to install and run Java on Lego Mindstorms EV3 using Eclipse on Mac OS X

This is tutorial on how to install and run Java on your LEGO Mindstorms EV3 using Eclipse and LeJOS.

We will be installing Java and the Eclipse Integrated Development Environment (IDE). This will allow us to develop your LEGO Minstorms EV3 software in Java and running it on the EV3 using LeJoS. Please let me know in the comments if you encounter any problems. I will try to keep this tutorial up to date.

You will need:

This tutorial will only get you started and you might want to dive much deeper into Java development for the EV3. These books might be useful for you:

My personal favourite for building amazing mechanism is Sariel’s book:

Continue reading “Tutorial on how to install and run Java on Lego Mindstorms EV3 using Eclipse on Mac OS X”

Neural Network Manager for Lego Mindstorms NXT

The Neural Network manager for NXT is a Java Graphical User Interface which allows Lego fans to easily create, manage and train a neural network which can be exported and used in any program to be designed to run on the LEGO NXT. The total system comprises of two main parts, a UI running on the NXT and the Neural Network Manager running on the PC. The Neural network is created by the Neural Network Manager and can once trained be exported to a Java file that should be compiled and uploaded to the NXT. The NXT side of the system handles the I/O with the sensors (in our application the LEGO Sound sensor) and the communication with the PC. It pre-processes the data and sends it to the PC side via a bluetooth or USB connection. Continue reading “Neural Network Manager for Lego Mindstorms NXT”

Design By Numbers Course

Most art and technology projects pair artists with engineers or scientists: the artist has the conception, and the technical person provides the know-how. In this assignment you will be both, an artist and a computer scientist. You will learn to view the computer not as a substitute for brush and paint but as an artistic medium in its own right. Design By Numbers is an assignment on both the philosophy and nuts-and-bolts techniques of programming for artists. Continue reading “Design By Numbers Course”

Step-by-step tutorial on how to install and run iText with Eclipse to create PDFs

This tutorial will show you how to install and run all the software necessary for you to create PDF files in Java. We will be using the Eclipse editor to write the Java code. Of course there are many other Java editors, but we consider Eclipse to be particularly convenient. This tutorial focuses on the Windows platform. You will work through the following five steps: Continue reading “Step-by-step tutorial on how to install and run iText with Eclipse to create PDFs”