netbeans

Netbeans Profile JUnit 4 problem

I have a unit test that takes 200 sec to run. I am trying to use NetBeans profiler to speed it up. But the profiler doesn't run the unit test. It just creates an object of the test and exits. Doesn't run the actual test methods or @Before / @After methods. This is a maven project with surefire and junit 4. And partial output is bel...

Removing JPanel from a JFrame in netbeans

So, I have several JPanels that contain buttons, labels, etc. that I want to switch between from a main JFrame. Currently I am trying to use the this.add(JPanelname); method and this.remove(JPanelname); with the validate(); and repaint(); methods The problem is it will add the panel to the JFrame but it will not remove it. I am not sur...

netbeans 6.8 php, xdebug, mamp - cannot establish a connection

I'm having no luck whatsoever with debuggers either on Zend Studio or NetBeans. I cannot believe the difficulty I'm having with these IDE's. I've read all the prior questions on netbeans-xdebug problems. According to those answers, my configuration is correct. Nonetheless, when I try to run xdebug, NetBeans hangs. I cancel the connection...

Maven test failure xml FileNotFoundException

My Maven build is failing on Hudson with a FileNotFoundException, I do not get the same failure through NetBeans. The FileNotFoundException is for some xml files in the same packages as my test classes themselves. It would appear these are not getting copied as part of the build in the same way the class files are. Do I have to add somet...

How to include NetBeans Platform Source code into module dependencies

I am debugging a NetBeans Platform application. I have downloaded the NetBeans Platform source code .zip file. I would really really like to attach the source code to the debugger so that I can seamlessly jump to internal NB source code. Normally I would edit the Library configuration to tell NB where to find the source code, and it w...

Netbeans C/C++ object files name

Hello, I try to compile simple c/c++ application in netbeans. But netbeans generate object files .o with strange names. For example: if my project name is testapp, netbeans generate .o files - testapp-testapp.o. How to change this, I wish that the files would be called just testapp.o? Thank you. ...

Setting up a maven-web project(from an existing netbeans-maven-web one)

So, I want to change a project here in my company to work with some IDE agnostic settings. I have a very small experience with setting Java applications with Tomcat(I can barely remember how it worked). So, to help making our newest applications, independent from IDE's we are using Maven, which currently builds our spring applications n...

Generate PHP Documentation from NetBeans 6.8 project

All, Is there a way to generate PHPDoc documentation for a PHP project in Netbeans 6.8? Thanks ...

where are good netbean tutorial for building UI desktop apps ?

I've googled but can't seem to find dedicated tutorial series to building desktop UI apps on netbean. Can someone point to a good site ? ...

How to simply add jar files, as libraries in a Netbeans module suite?

Hi, I'm a bit confused with NetBeans (versions 6.5 and 6.7). I have a NetBeans Module Suite application, which consists of several NetBeans Modules. I need to add some code in one of the modules. The new code is using a library, distributed as several jar files. The problem is, that NetBeans does not allow me to add this library jars d...

Netbeans local varible table greyed-out

While debugging in Netbeans 6.5 on Linux all the values in the type and value columns are grey out and only readable if selected. Since you can't select the text in type column, it is not possible to know what the types are, a big problem for exceptions. There does not appear to be any option for changing the colours and a fair amount ...

NetBeans Platform - how to get a callback when a property begins / ends editing

Hi all, In my domain I have objects that are constantly being updated by a separate process, and I want a PropertySheetView to display the changing properties. The current implementation is set up such that the underlying domain model object is immutable, and thus when it changes, there is a new object published with a corresponding ID....

netbeans + hibernate for java swing application

Hi all, im developing a java swing app and i would use hibernate for persistance. Im totally new in jpa, hibernate and ORM in general. Im follow this tutorial, its easy but the problem is the java class that descrive a table in db are made from the table with reverse enginering. I want do the opposite process: i want make db table from...

Compiling cpp code in netbeans produce errors, how to solve it ?

i use the netbeans with MinGW and MYSY make /debugger but when i compile a basic cpp code in it and run it it produces two erorrs this is the code runned and the output![alt text][1] box #include <iostream> void main() { cout << "Hello World!" << endl; cout << "Welcome to C++ Programming" << endl; } output is /usr/bin/make -...

NetBeans Java code formatter: logical operators on new line

My code looks like this: if (firstCondition() && secondCondition()) { // ... code } The default settings for the code formatter in NetBeans wants to put the && on a new line, like this: if (firstCondition() && secondCondition()) { // ... code } The formatter works well so I would just like to find the settin...

Add to language syntax in Netbeans/Eclipse

Hey, This may seem like seem like a bit of a weird/uncommon request but I am trying to find out if it is possible. I would like to add to the language syntax in Netbeans or Eclipse easily without needing to create an entirely new language. According to this question http://stackoverflow.com/questions/281992/how-to-add-more-syntax-elemen...

import jgrapht package into my netbeans project

Hi I am not knowing how to use the classes written in netbeans for one of my project . in which folder should i place the jgrapht package . will i have to write the import statement if yes then what do i write ? ...

Guide for extern libraries etc

Do you know the guide how to compile extern libraries and source codes into one file with netbeans ? ...

Can I use netbeans modules independently of the platform?

In Netbeans 5 there was an Editor library that could be used independently of the Netbeans platform. The current version of the Editor appears to only be a module, without any mention of the prior stand alone capability. I'm wondering, can I use the editor module independently of the whole platform? Even evidence of other modules working...

Installing RESTful Authentication on netbeans

Hi I am using Netbeans 6.8 on ubuntu 10.04 and am having trouble installing RESTful Authentication. I have gone to Install Generators, selected restful_authentication and installed it - all messages from Gem show that it has installed and it shows under the Installed tab. However, when I come to use it by clicking on the Generator drop...