It can happen that things go wrong. For instance, you install that very cool plug-in somebody has developed and oops, the IDE starts to do strange things. Or...
It can happen that things go wrong. For instance, you install that very cool plug-in somebody has developed and oops, the IDE starts to do strange things. Or your hardrive capacity goes to zero because you're downloading latest DVD image of your favorite Linux distribution and oops, NetBeans has nowhere to write. Or you open many versions of JDK sources and your userdir starts to grow due to the cache.What to do now? A typical reaction of a Windows user is to reinstall the...
It can happen that things go wrong. For instance, you install that very cool plug-in somebody has developed and oops, the IDE starts to do strange things. Or your hardrive capacity goes to...
Last time I wrote about using dependent projects. I mentioned one drawback of using them: slower compilation time. There's a way to avoid it, you can choose in...
Last time I wrote about using dependent projects. I mentioned one drawback of using them: slower compilation time. There's a way to avoid it, you can choose in the main project's properties that the other projects do not get built automatically. Then you need to rebuild them manually when you do changes, but your compile time is again short.To achieve this, just uncheck the Build projects on Classpath checkbox in Libraries section of project properties:
Last time I wrote about using dependent projects. I mentioned one drawback of using them: slower compilation time. There's a way to avoid it, you can choose in the main project's properties that...
One NetBeans user asked me recently by e-mail when will NetBeans support dependent projects. So I replied how to define dependencies and asked if he wanted more...
One NetBeans user asked me recently by e-mail when will NetBeans support dependent projects. So I replied how to define dependencies and asked if he wanted more from this features... and the reply was no, he just didn't know that the feature exists! So here's a tip for people who didn't find it yet, hopefully easily accessible via Google (which puts texts from blogs on top of search results).Why would you want to use dependent projects? If your project gets big enough it is a...
One NetBeans user asked me recently by e-mail when will NetBeans support dependent projects. So I replied how to define dependencies and asked if he wanted more from this features... and the reply...
During my Matisse demo in Javalobby expert presentation I used one trick I'd like to share with you. Thanks to William Beebe for pointing out this is harder to...
During my Matisse demo in Javalobby expert presentation I used one trick I'd like to share with you. Thanks to William Beebe for pointing out this is harder to discover.You can use the Shift key to place multiple components into the form. This way you can insert many components of the same kind without having to go to the palette and back. It's a small tip, but may save some mouse movements. We are all lazy to some extent, aren't we? ;-)
During my Matisse demo in Javalobby expert presentation I used one trick I'd like to share with you. Thanks to William Beebe for pointing out this is harder to discover.You can use the Shift key to...
Note: this is rather a tip for beginners, so people who know Favorites view can skip it.From time to time it is useful to have access to files which are not a...
Note: this is rather a tip for beginners, so people who know Favorites view can skip it.From time to time it is useful to have access to files which are not a part of a project. I for instance use NetBeans to update the HTML pages on the netbeans.org website. Obviously, these files are not a part of a project, so how to open them? Simply use the Favorites view. Favorites ViewFavorites view is useful when you want to quickly open a file and take a look at it contents or for...
Note: this is rather a tip for beginners, so people who know Favorites view can skip it.From time to time it is useful to have access to files which are not a part of a project. I for instance use...
Did you know that it's possible in NetBeans to define easily a keyboard shortcut for an ant target? Just add your custom ant target to build.xml (through Files...
Did you know that it's possible in NetBeans to define easily a keyboard shortcut for an ant target? Just add your custom ant target to build.xml (through Files view). When this file is opened you can see the list of all targets in navigator. You can right-click on any of these targets to define a shorcut:When you invoke the shortcut, the corresponding ant target is executed. So you can take advantage of ant's power by pressing a single key combination. Similarly you can add a...
Did you know that it's possible in NetBeans to define easily a keyboard shortcut for an ant target? Just add your custom ant target to build.xml (through Files view). When this file is opened you can...
Well this tip is not from my head (thanks Gregg ;-)... You can navigate very fast to a method in source editor by following these steps:1. Press Ctrl-7 to get...
Well this tip is not from my head (thanks Gregg ;-)... You can navigate very fast to a method in source editor by following these steps:1. Press Ctrl-7 to get focus to navigator.2. Type in first letters of the method, e.g. "ma" for main.3. Press enter -> now you are moved to the beginning of the method.A nice small time saver - you don't need to use the mouse to scroll down or search for the method or field.
Well this tip is not from my head (thanks Gregg ;-)... You can navigate very fast to a method in source editor by following these steps:1. Press Ctrl-7 to get focus to navigator.2. Type in...
There is no Save As... action in NetBeans. But there are (at least) two ways how to perform this action:1. Copy and paste in projects view: Choose the file you...
There is no Save As... action in NetBeans. But there are (at least) two ways how to perform this action:1. Copy and paste in projects view: Choose the file you want to save as something else and press Ctrl-C. Then go to the package right above this class and press Ctrl-V. Voila, a new file appears and you can rename it through Refactor->Rename. Not very elegant but works like Save As...2. Second way is to download experimental refactorings from development update center. Then...
There is no Save As... action in NetBeans. But there are (at least) two ways how to perform this action:1. Copy and paste in projects view: Choose the file you want to save as something else and...
Did you know that NetBeans has built in diff which you can use to see differences between two files? Most people know the diff view from versioning support....
Did you know that NetBeans has built in diff which you can use to see differences between two files? Most people know the diff view from versioning support. Hovewer you can diff files even if you are not using versioning. The trick is that you have to select two files in the Projects view, invoke context menu and go to Tools | Diff. The submenu appears only if you select two files, otherwise it's perfectly hidden so that only experienced users can find it :-)Here is a...
Did you know that NetBeans has built in diff which you can use to see differences between two files? Most people know the diff view from versioning support. Hovewer you can diff files even if you...