netbeans

Frequent Netbeans freezes

I'm using Netbeans 6.8 for PHP projects located on network drives in a Windows network. Frequently, the IDE gets really slow (like a temporary freeze) to a point where it's totally unusable. At first it seems like a total crash, but after some time (might be sevaral minutes) the IDE works again as before. This happens with Netbeans 6.7 ...

Netbeans - *Easy* way to tell which Netbeans project a file belongs to

I was wondering if there is a way in Netbeans (v 6.8, or whatever) to have the editor tabs colored based on which project the file belongs to? Or some other easy way to distinguish which project a file belongs to. Basically my problem is that I have 3-4 netbeans projects, which all have a very similar code base (production version, st...

Landau notation (ide) tools support

It is good idea to have impotant information during developing like Landau notation to know functions's time costs. So it should be documented in sources isn't it? I'm looking for tools that can calculate it. ...

Eclipse or Netbeans for Swing based application?

Hi, My next university project is going to be Java based. We will have to develop this with Swing and I was wondering what's the common preference for that? A quick glimpse through Netbeans website and I could see a powerful Swing editor, or what it looks like one; since I never used it, I don't know. As for Eclipse, I'm sure there are...

Diff directories with content in Netbeans

Hello ! I duplicated some folder with project's config to a new project a few days ago and made there some modifications (project name, paths, etc). After few days a source config dir has changed and I am wondering how to diff that folders in 2 projects to apply that changes in new project. If I select source file and then new file and...

how to setup the sphinx with netbeans

i have successfully configured sphinx4 with eclipse. for that these steps i have used. copy my java and config files to SRC folder all the necessary jar files (in the lib). the lib folder added to the root of the project build those jar files (jsapi files too) change the configuration file and give the proper path test the java file...

Exception in inserting data into data using JPA in netbeans

SEVERE: Local Exception Stack: Exception [EclipseLink-7092] (Eclipse Persistence Services - 2.0.0.v20091127-r5931): org.eclipse.persistence.exceptions.ValidationException Exception Description: Cannot add a query whose types conflict with an existing query. Query To Be Added: [ReadAllQuery(name="Voter.findAll" referenceClass=Voter jpql="...

Eclipse - Handling Java Exceptions like in NetBeans

I recently moved from NetBeans to Eclipse and I very much miss one great feature - whenever I use method which throws some kind of exception, NetBeans alerted me and I needed to add try-catch and NetBeans automatically generated exception type for me. Is there something similiar for Eclipse? f.e. : Integer.parseInt(new String("foo")); ...

Java Swing - How to bind a JComponent in Netbeans?

I am using Netbeans Swing GUI builder to design my app's GUI. I have a JTextField tf and a JCheckBox cb. Now, I want that the tf is enabled only when the cb is both enabled and selected. I am performing the below steps to perform this in Netbeans: Right click on tf >> Properties >> Binding Click on button ... at the right of enabled ...

When I change templates in Netbeans, why doesn't anything happen?

I want to modify the "Java class" template, so that the class javadoc comment includes more than just the author. In Netbeans 6.8., I go to Tools > Templates > Java > Java Class, and modify the template. However, nothing seems to change. I tried restarting Netbeans, just in case, but the old template is still used. How do I get Netbeans...

Netbeans JLabel Icon/Text Does not Display when Project is Built

Hello, in Netbeans, I am using Jlabels to display images and text within a JFrame. The Jlabels display correctly in the IDE, but when I run or build the project, some of the Jlabels don't show up(Labels that are added later on after the first few). To fix this problem I have to start all over again and add the images all at once. This su...

Bugzilla 3.6 with Netbeans 6.8

When I tried to configure bugzilla with netbeans 6.8 a msg told that the bugzilla's version was newer than the netbeans' plugin compatibility. I've been searching and can't find any updated plugin (and it is not in the plugin manager, at least for what I saw) Any idea where to find it? ...

NetBeans Platform Unit Test Library Dependencies

I am working on a Netbeans Platform RCP application. I use jmock in my unit tests and I have created a Library Wrapper Module to import the necessary libraries. The Module has an section named 'Libraries' and another section named 'Unit Test Libraries'. I hoped that I could add the JMock Library Wrapper to the 'Unit Test Libraries', h...

Web Start Application built on NetBeans Platform doesn't create desktop shortcut & start menu item

I've created a NetBeans Platform application that is launched using Java Web Start. I built the WAR file using the 'Build JNLP Application'-command in Netbeans 6.8. I've added a desktop shortcut and menu item to the JNLP file, but for some reason, these are not created when the application is launched. However, when I go to: Contro...

First time - including lobo to project

I am programming in netbeans and I downloaded Lobo browser. And I've got a question. What next ? Because after I've included (as classpath in ant) lobo and lobo-pub(jars) they are still unknown for netbeans (imports don't work). Do you know what could I do wrong? ...

Consuming Web Services in Netbeans

Hi. I've setup a project in Netbeans 6.5 with some web services that I've created myself and some web services that I've imported from WSDL files. I've setup a couple of desktop application through Netbeans in order to consume these web services. I'm not too sure where to go from here. I have the GUI setup but not sure how to reference...

[netbeans] inlcude H2 database to use netbeans GUI with it

Hi all, is possible include H2 database in netbeans to use it with the GUI to create table ecc ecc? Like javadb integration i means.. ...

Netbeans PHP autocomplete

Hello, how could I add an autocomplete for PHP build-in functions like htmlentities or var_dump? The autocompleter work for my classes but there's not autocompletion for functions like mentioned above. ...

Hibernate exception

Hi all, im new to hibernate! i have followed the netbeans tutorial on creating a hibernate enabled application. after sucessfully creating a database in mysql workbench i reversed engineered the pojos etc and then tried to run a simple query(from Course) and got the following org.hibernate.MappingException: An association from the table...

Just curious, in NetBeans IDE 6.1 how can i get icons for my custom GUI components in the GUI editor

This is by no means really important, i was just wondering if the community knows how to put icons for my custom GUI components that show up in the NetBeans GUI designer. What i did was make several Swing components and then i use the menu options to add them to the GUI pallete, but they show up with "?" icons. It would be nice if they...