netbeans

Netbeans subversion right margin

How do I change the color coding in the right margin of Netbeans? The part where subversion keeps track of the changes, deletes, adds, etc. The only reference I've found was the Netbeans subversion guide that tells you what they are, but doesn't explain how to configure or disable it. (is it even configurable?) So I did some more sea...

Netbeans, Ant and RMIC (Java RMIC Compiler) (Help with)

Hi guys, I'm rather miffed / baffled at the moment. I've got a Netbeans project, that compiles fine. I've edited the build.xml file to create a "-post-compile" target, which does an rmic ant task. So now, when I "clean and build" it compiles my main code, then generates the rmic stubs for me. However, when I chose to 'Run' my netbeans...

Swing Reuse

I'm writing a Java Desktop App using NetBeans 6.5 and a Swing Patterns that keeps repeating. Each and every one of my dialogs has a "Save Button" and "Close Button" with different mostly different behaviour behind the Save Button and identical code behind the close button. How can I reuse this code without copying and pasting and at th...

Netbeans - Executing files in different projects with [SHIFT]+[F6]

In Netbeans you can run a file by pressing Shift+F6 (on Windows) So I have three projects open at the moment. What I want to do is jump between the three projects and compare the results of executing a program in each of these three panes. Netbeans seems to have a problem with this. It doesn't seem to be able to recognize that I want ...

Moving focus from JTextArea using tab key

Hi guys, As stated, I want to change the default TAB behaviour within a JTextArea (so that it acts like a JTextField or similar component) Here's the event action private void diagInputKeyPressed(java.awt.event.KeyEvent evt) { if(evt.KEY_PRESSED == java.awt.event.KeyEvent.VK_TAB) { actionInput.transferFocus(); } } ...

how to extract the output of the sourcenav tool and store it in database

How the directory can be chosen as the input for the project ? Please tell me the code for it in java. How to extract the output of the sourcenav tool and store it in database... ...

removing junit testing to build in ant

Not so much a programming question but I figured I'd ask anyway. How do I make it so ant doesn't require that all the junit tests pass before building? In netbeans I can build the project without it testing first. However, when I run ant, it makes sure all my junit tests pass first. I am running ant from the command line in my netbea...

Java bean event in netbeans 6.1

I'm having a JPanel bean which inside has two JToggle buttons.I compile and add this bean to the netbeans palette and then i add it to a frame.Then i right click the bean and from events i choose a mouse event let's say 'release'.This event corresponds to the JPanel and NOT in the two buttons inside.Thus i cannot catch mouse events comin...

NetBeans PHP and XDebug - jumping to methods on call stack?

Hi everyone, I'm having trouble with debugging a PHP project through NetBeans using XDebug, and was hoping someone out there might have had this problem before. Debugging works fine for the requested php file - so if I go to index.php on the remote server, I can put a breakpoint anywhere in index.php in NetBeans and the code stops there...

How do I keep Netbeans from printing line like this // <editor-fold defaultstate="collapsed" desc=" UML Marker "> when printing code?

I am trying to keep Netbeans from printing statement like this // <editor-fold defaultstate="collapsed" desc=" UML Marker "> // #[regen=yes,id=DCE.B7E25FE1-C10B-ED91-77... // </editor-fold> without deleting them from the code. ...

j2mewtk - adding files to DefaultColorPhone temp settings.

I am using Netbeans and j2mewtk to develop and test mobile applications. If I want to do file IO on an image the emulator uses ...\j2mewtk\2.5.2\appdb\temp.DefaultColorPhone[####]\filesystem\root1 to store files for the current, temporary emulation. If I want to operate on a pre-existing image I have to start the emulator, check which t...

How can I turn off current line highlighting in Netbeans ?

I've been looking for half an hour over all the options several times but I can't find it; googling also fails me at the moment. This is on Netbeans 6.0.1 ...

Stop Tomcat when run inside of Netbeans

I run Apache Tomcat 6 using NetBeans. When there is a failure in my code such as a NullPointerException tomcat fail and will not run any other request. My problem is I cannot get tomcat to stop and I must restart the entire Netbeans IDE. Any Ideas? ...

GroupLayout: Is it worth learning?

I'm relatively new to java (specifically swing) and have recently been making some fairly simple applications, learning as I go. The latest one has lots of form components such as JLabels, JTextFields, JButtons, etc etc. All were placed in NetBeans using a visual builder. I have to say I'm not really taking to NetBeans and have really ju...

Netbeans has "Print to HTML" - is there a way to add this feature to Eclipse?

I want to print out some syntax-highlighted Ruby and Python code and Netbeans has a feature on the File menu for "Print To HTML". I'm wondering if there is a plugin or some add-on for Eclipse that enables a feature like this since it is my preferred IDE? ...

Netbeans occasional non-compliation using Ruby MRI - solution?

Quite frequently when I save changes to a Ruby file in Netbeans and try to run the file, the interpreter simply doesn't do anything. The only way around it is to temporarily switch to the JRuby interpreter and then switch back to the default Ruby interpreter (1.86). Besides this hack, is anyone aware of a fix for this problem? It has pre...

Microsoft Intellimouse Scroll Wheel Not Working with Netbeans 6.5 on Vista

I would appreciate any help with this problem, I have spent hours trying to diagnose it myself to no avail and haven't received a single response when posting it to the Netbeans user list and the bugs list. Netbeans is an excellent IDE, and I have loved it since switching over from Eclipse a few months back. I do Java on Unix and Win32...

How can I follow a webapp log in NetBeans for the included Tomcat server?

I'm running a webapp using the included tomcat server in NetBeans. NetBeans shows me the Tomcat log in the output window, but I also want to see my webapp's log. Is this possible? Can I configure NetBeans to do this? I can't find any options in the server or project settings so far... ...

What useful macros have you created in Netbeans?

I use Netbeans (nightly build) for Ruby on Rails development and I'm looking to beef up my macros. I've created a few myself: copy identifier: select-identifier copy-to-clipboard paste clipboard over identifier: select-identifier paste-from-clipboard double quote element select-element-next "\"" single quote element: select...

Netbeans Forwarded over X11 Font Problem

I'm trying to forward my IDE, Netbeans, over ssh to the Xming server on my Windows Desktop. I'm able to get Netbeans to launch and run, but the fonts look terrible because they aren't being anti-aliased. I've uploaded a screenshot here. If I launch Netbeans from Gnome on the linux box itself, the fonts look fine, so it must be a probl...