78
votes
21answers
22k views

NetBeans Tips and Tricks [closed]

I just saw an Eclipse tips & tricks post and was wondering if anyone had any tips & tricks for my IDE of choice: NetBeans. Here's a few I know and find to be useful: Removing a package: ...
35
votes
28answers
24k views

What is the best *free* IDE for Java programming? [closed]

There are two free IDEs for Java: Netbeans and Eclipse. Netbeans seems to have better auto-complete support and compile/debugging support. However, it lacks support for auto-completing ...
35
votes
8answers
8k views

Using both Eclipse and NetBeans on the same project

Eclipse is a really great editor, which I prefer to use, but the GUI design tools for Eclipse are lacking. On the other hand, NetBeans works really well for GUI design. Are there any tips, tricks ...
34
votes
14answers
36k views

How to improve Netbeans performance?

Is there a real way to get Netbeans to load and work faster? It is too slow and gets worse when you have been coding for some time. It eats all my RAM. I am on a Windows machine, specifically ...
33
votes
8answers
12k views

Code cleanup in netbeans

Is there something similar to the Eclipse cleanup rules (Preferences > Java > Code Style > Clean Up) in NetBeans? The cleanup rules in eclipse will allow you to clean things up like organizing ...
32
votes
7answers
33k views

How do I autoindent in Netbeans?

In eclipse you can click Ctrl+I at any line, and it'll automatically indent the line or group of lines according to the indentation scheme you chose in the settings. I'm really missing this feature ...
32
votes
12answers
5k views

To check in, or not check in, the entire Eclipse project?

I'm soon going to check in the very first commit of a new Java project. I work with Eclipse Ganymede and a bunch of plug ins are making things a little bit easier. Previously I've been part of ...
27
votes
11answers
77k views

Log4J properties file - where to put it

I wrote a web service project using netbeans 6.7.1 with glassfish v2.1, put log4j.properties to the root dir of project and use static Logger logger = Logger.getLogger(MyClass.class); in ...
26
votes
7answers
12k views

Is there a way to stop NetBeans scanning projects?

I don't have much memory on my PC and a pretty weak processor. Although netbeans is by far my favorite IDE it is almost unbearable to use on my present computer because of the project scanning that ...
23
votes
4answers
17k views

How can I create a bar in the bottom of a Java app, like a status bar?

I am in the process of creating a Java app and would like to have a bar on the bottom of the app, in which I display a text bar and a status (progress) bar. Only I can't seem to find the control in ...
21
votes
4answers
16k views

NetBeans / Java / New hint: Thread.sleep called in loop

In NetBeans, there's a new hint that says: Thread.sleep called in loop. Question 1: How/when can it be a problem to sleep in a loop? Question 2: If it's a problem, what should I do instead? UPDATE: ...
21
votes
1answer
12k views

Netbeans 7 vs Eclipse 3.6 for Java, git and vim [closed]

Both of them have a lot of features and are very popular, but which is better? To reduce subjective answers, please answer this points: Code Refactoring. Unit testing, debugging. Git support. Vim ...
20
votes
7answers
16k views

Java - Leaking this in constructor

I'd like to avoid (most of the) warnings of Netbeans 6.9.1, and I have a problem with the 'Leaking this in constructor' warning. I understand the problem, calling a method in the constructor and ...
19
votes
18answers
18k views

Word Wrap in Net Beans

Netbeans is great but there's no way to wrap text in it (or hopefully I haven't found it yet). Is there any way to do this, and if not, is there any similarly good IDE for Java with this functionality ...
19
votes
7answers
6k views

Simultaneous Java and Scala development within the same project

I want to leverage the Scala's Actor Framework while I develop the user interface in the familiar Swing way. Is it possible to have a mixed Java - Scala project in Eclipse, NetBeans or any other IDE? ...

1 2 3 4 5 301
15 30 50 per page