Archive

Posts Tagged ‘Netbeans’

How to Work Around Netbeans Failure to Start on Mac

July 25th, 2017 2 comments

NetBean is a great IDE because it’s not only free but also rich in features and good in quality. Its cross platform support with Java Swing is pretty good. It’s been my IDE of choice for Java after Eclipse.

Recently I upgraded NetBeans 8.2 on Mac and it failed to start by double clicking on the icon from the desktop toolbar. Maybe I did not correctly remove the old version?

Categories: Applications & Tools Tags: ,

How to Change Maven Offline Mode

June 30th, 2015 4 comments

Maven is a great tool when it works; otherwise it’s pretty hard to figure out what’s happening and how to fix problems. Instead of detailing steps to get something done, the Maven philosophy is to let developers to pick what they want. For the common use cases that fit in its convention, Maven is pretty easy. In general, Maven is easy to start, and hard to customize.

Categories: Applications & Tools Tags: ,

How to Run Maven Based Java Application From Command Line

October 28th, 2013 2 comments

It’s pretty straight forward to run Maven based projects in NetBeans IDE. For some projects that involve console related capabilities, you have to run it from OS console. One example is projects that use the JANSI APIs for colorful console output (see my last post for a sample). If you run the code within IDE, you won’t see the colors as would in a console.

Categories: Software Development Tags: , , ,

How to Add Copyright Notice in JavaDoc

October 8th, 2013 1 comment

While using Netbeans IDE to generate Javadoc for a Maven project, I noticed the generated pages has a default copyright notice at the bottom of every page, say “Copyright 2013. All Rights Reserved.” Because it’s default, it does not show the name of copyright owner. To change it, I found it’s not really straight-forward, therefore it may be worthwhile to share it.

Hack Workspace in Netbeans IDE

July 18th, 2012 7 comments

As a long time Eclipse user, I like its workspace concept and the ease of switching workspaces among many other things. The workspace provides a simple yet powerful way to isolate groups of projects into different workspaces under different folders, so you’re not distracted by other un-related projects.

This feature is, however, not available in Netbeans IDE, which is not a big deal most of time. By default, the Netbeans IDE creates a folder under current user’s home directory as follows (yours could be different):

Learning Netbeans Platform For Building Java Applications

April 2nd, 2012 3 comments

Recently I started to build a stand-alone Java application. The first thing I thought of was to use Eclipse, which I have been using since 2000. As you may know, the Eclipse family has a framework called Eclipse RCP (Rich Client Platform) for building standalone application. In fact, Eclipse IDE is now built on top of the Eclipse RCP framework.