JTree is a Swing class used display a tree like structure such as the one shown below.
I am a firm believer in code comments among other things. So when I came across a blog post at http://blog.jooq.org/2013/12/04/when-source-code-comments-indicate-trouble/ talking about amusing comments coders leave in their code for people to find later I followed the links and found this: Continue reading “Code Comments”
Lots of people set out to learn a language, take a course and then at the end of it don’t know what to do next. They don’t feel they are a coder, they still can’t do anything of substance. We all go through this. There is a chasm between knowing a programming language and being able to do things with it. The next step is to learn to write an application. Continue reading “Having learnt the language now what?”
If you ask this question, there will be an avalanche of responses. The responses will probably be of the type, learn this language because its new/it’s in demand/it pays well. Continue reading “What programming language should I learn?”
I see lots of posts around the web about people who are interested in learning to program. From the questions they ask you can tell they have aspirations to be the next best thing since sliced bread. While all of this unharnessed enthusiasm is great we all need a sense of reality. So, what does it take to be a programmer?
People often post questions on the internet about how to become a top class
programmer. When I look at these posts I think about how I got from knowing nothing to being confident about coding. Continue reading “So you want to be a programmer? – love programming”
In an earlier post I listed Five ways to faster learning. Now all these ideas centred around having a plan on how you are going to learn. You need to decide where you are going and how you are going to get there. All make sense? Continue reading “You Don’t Know What You Don’t Know”
- Focus on what you want/need to learn now – don’t read the book from cover to cover
- Create a learning plan of what you want to achieve
- Narrow your scope and learn about that, then move on
- Learn one thing at a time
- You can learn faster once you have some practical experience to relate to
When something goes wrong with your application in the field you will want all the help you can get to pin point the problem, or at least narrow it down. One tool that can help is a log file. Log4J is a great library that makes adding logging to you code easy. To download and use is simple Continue reading “Installing Apache log4j”
A few years ago I set out to produce examples of desktop applications written in Java because I could find so few examples on the web.
The idea was to write a complete self contained application and package it up into an executable program that a user could install and click to run. The tool I chose to wrap the Java byte code up into an executable was Launch4J. To see where to get this tool and how to install read on Continue reading “Wrap Java into an executable with Launch4J”