netbeans6.5

Can I make one Netbeans project depend on another without hacking a Makefile?

In Netbeans 6.5, I've got two different C++ application projects - my application and the unit tests. I want to set it up so that if my main application is rebuilt, the unit tests are rebuilt as well (and vice versa). Netbeans is good at resolving the dependencies for library projects, and rebuilding them if necessary, but I can't see ...

How can I make NetBeans not stop on the first line with xdebug?

I'm using NetBeans 6.5 for developing PHP and I have xdebug setup. Is there a way I can tell it not to stop on the first line of the file on every request? JIT mode won't fix this because I don't want it to stop on every exception that I catch. ...

No Such Method Error when creating JUnit test

I've tried figuring out this problem for the last 2 days with no luck. I'm simply trying to create an annotation based JUnit test using the spring framework along with hibernate. My IDE is netbeans 6.5 and I'm using hibernate 3, spring 2.5.5 and JUnit 4.4. Here's the error I'm getting: Testcase: testFindContacts(com.mycontacts.data.d...

How do you add files to a jar using Netbeans 6.5?

I am working on a Java project using Netbeans for the first time. I would like to use Netbeans 6.5 to create a jar including about 50 text files. Is there a simple way to do this? ...

Netbeans 6.5 generates a lib folder when creating a GUI...

How do I create a jar that incorporates the lib folder so I can email a single jar. As it is if I don't include the lib folder and the jar folder the jar will not work. I would like to add the lib folder to the main jar so I only need to send someone a single jar. ...

Bypassing Lock on Generated Code in NetBeans 6.5?

In NetBeans the GUI Builder generates code that is off limits to you from the editor. I know you can switch to Design Mode and specify custom code and then enter edit in indirectly that way, but it's a pain to not be able to edit text that's 2 lines from your cursor. Can I allow editing within those regions... I promise I'll be careful...

seam-gen, netbeans and completion

How can I make seam-gen work with NetBeans 6.5 so that completion of tags (s:, ui:, rich:, ...) works? In the free-form project that seam-gen creates, this does not seam to work. If I create a standard NetBeans web application (File -> New Project), completion does work though. Thanks, m. ...

Netbeans 6.5 Diff Tool

I'm very happy of Netbeans 6.5 diff tool, I have to ask some questions about it: which is its name? there's an equivalent for eclipse? is there any standalone version (without netbeans)? Thank you very much!! Valerio ...

Can a layout manager spawn several JPanels?

I have to build a rather large form with many controls. The controls are divided in basic controls/settings and extended controls/settings. The user can decide if he wants to see only the basic or both basic and extended controls. I've dropped all extended controls onto their own JPanel so that I can easily switch between the two views ...

Where can I set the JRE/JDK which is used to run Netbeans besides the command line?

First of all, I know about the command line parameter, but I don't want to use it because I want to learn, not just get it done, so... Where can I set the JRE/JDK which is used to run Netbeans? A little background: I installed JDK 1.6_10 (The system is Windows Vista Business 64) I installed Netbeans 6.5 After a few weeks I uninstalle...

How to link opened file with project tree in NetBeans

I feel dumb asking this question, but I can't find solution to this myself. When I open several files in editor and switch between them, I have problem finding currently opened file in project or files tree. I used Eclipse before and every time I changed a tab with file, the project tree set focus for the same file. Is there a way to d...

installing jdk1.6 and netbeans on opensolaris2008.11

i installed jdk 1.6 using both the .sh( jdk-6u12-solaris-x64.sh ) and the .tar.Z(jdk-6u12-solaris-x64.tar.Z) files but neither the command prompt nor the netbeans installer is detecting the installation. wat is the correct way to install the jdk on opensolaris? ...

Where is user settings file in Netbeans 6.5 on Vista ?

I can't seem to find my settings file, where I can find my IDE Editir color settings file and save it ... So if I need to install NB on another machine I can just copy my settings from this machine to the new one. Or if my PC crashes and need to restore to factory setting, everything will be erased, but if I have this settings file, it w...

How to get Netbeans 6.5 shareable libraries working

I created a Web application in Netbeans 6.5. Now I want to use the Joda Time library. I want to share this library via subversion, because I don't want my team mates to be dependend on some Netbeans configuration. Just to get the project working, I first added the library to the Netbeans library (Tools->Library). This worked OK. The JAR...

Is there a "reverse statement" feature in Netbeans?

Is there a feature or plugin which can change these statements x = y; jTextField1.setText(entity.getValue()); ... into these: y = x; entity.setValue(jTextField1.getText()); ... ...

Hibernate is calling public methods on the entities after a query, why?

I'm using hibernate 3.0 (with posgre 8.3), Java 1.6 and Netbeans 6.5. I've created one native query to return all the unique most recent entries like this: String query = "SELECT DISTINCT ON (origem) * FROM entrada " + "ORDER BY origem, horadata DESC"; SQLQuery sqlQuery = this.getSession().createSQLQuery(query); ...

using buttons in netbeans gui frame

Ok, so I'm pretty noob at JAVA, and programming in general really. I'm trying to make a rock, paper, scissors app that with run with a GUI interface. What I'm trying is the simplest thing I thought of, press a button for your choice (r, p, or s) and that will make a variable used in the rest of the program to compare to the computer's ...

How can I prevent PermGen space errors in Netbeans?

Every 15-30 minutes Netbeans shows a "java.lang.OutOfMemoryError: PermGen space". From what I learned from Google this seems to be related to classloader leaks or memory leaks in general. Unfortunatly all suggestions I found were related to application servers and I have no idea to adapted them to Netbeans. (I'm not even sure it's the s...

Using XOM with NetBeans

I am attempting to install XOM so I can use it in my Java apps. The only problem is, I don't know where I can place it so NetBeans can find it. It would make sense to put it where the other .classes files are, but I can't seem to find them either. The README file for XOM says to install it to the Classpath variable, but I don't know wha...

How do I set up the JBoss Maven repository in NetBeans 6.5?

I tried to configure the Maven plug in (version 4) to add the JBoss Maven repository at http://repository.jboss.com/maven2/ following the guide at http://wiki.netbeans.org/MavenBestPractices#section-MavenBestPractices-UtilizingAndManagingMavenRepositories. The new repository appears in the list of Maven repositories, but I can not see a...