netbeans

How to configure Ant in netbeans 6.9 for my zend framework project

Hello, I switched to net-beans 6.9.1 to develop my php zend framwork projects. Now I want it to work with ANT. I have already an build directory with an build.xml. Can someone tell me how to configure and run my ant scripts from within netbeans? ...

Getting the url of a loacal jasper report (.jrxml) file in java

I'm using netBeans and I'm trying to generate a report unsing Jasper Report Can I get the url (of the local jrxml file) of the report which is stored in the the following directory structure My_project |_build |_dist |_nbproject |_src |_my_project |_META_INF |_report.jrxml |_report.jasper I dont want ...

How to dynamically add a new look and feel?

I want to make sure that the user himself could add L & F. But how to do this I do not understand. it is even possible? ...

Java EE 6 Maven Project Setup in Netbeans - some configuration issues?

I've been trying to set up a Java EE 6 Maven project via New Project -> Maven -> Maven Enterprise Application. However, when I try to run the application I've been running into a couple problems: I had to change the the http port that Glassfish listens on because the port it chose (8080) was already used. I went into the domain.xml fi...

Changing the default window close behaviour of Jasper report viewer to hide or dispose instead of exit

I'm using netbeans and Jasper report to generate report.The report gets generated but when I close the Report viewer window it exits my program /application.I want the Report window to be either disposed or hidden.Is there any way using which I can achieve this ? ...

Compiling libpng and using it with netbeans and mingw.

I have only previously used visual studio for developing c++ but I've just moved to netbeans and am having some issues. I got mingw installed so that my projects will compile but I dont know how to add external libraries to that. I want to use a static library, not a dll. The library I specifically am looking at is libpng I hope this ...

Upgrade Grails Version in Netbeans and Add Shiro Security

Hello All.. I have been working on the project where application is using grails 1.2.2.... Now I want to add the Shiro Security with the current project (using Netbeans), and I am very much new to the grails arena. So, I wanted to know that how can add shiro plugin to my current project (in netbeans) ? May be I also need to upgrade my...

Suddenly a NoClassDefFoundError when running Glassfish from NetBeans

I have been working on a demo project all day and everything went just fine. Suddenly (and, as it seems, unrelated to any of my actions) my application fails with a NoClassDefFoundError somewhere in the CDI internals. Strangely it worked before but I just cannot get it to work again. I am using a rather fresh NB 6.9.1 install without a...

Where to put a file in the netbeans?

Hi In which location I should put any file in Netbeans project directory structure? Also in the code how should I give the path(absolute or relative) to that file? Thanks ...

OnSave actions in NetBeans 6.9

Is there any way to tell NetBeans to execute a specific action when saving a file? e.g. removing unused imports while saving a source file? ...

Restore capability (plugin?) for NetBeans 6.9.1 after crash?

NetBeans 6.9.1 is the first version I've used that is only mostly stable (x86-64 Linux box). I find that I am missing the "restore" features found in word processors and web browsers--upon a crash, you only lose a small amount of unsaved work. Is there anything like this available for NetBeans? These are workarounds that I do not cons...

Netbean 6.9.1 library problem

I have just upgraded to Netbeans 6.9.1 from Netbeans 6.8 and the following problem arose what was not there in Netbeans 6.8: I have an own project jar (let's name it alma.jar) that is used in several other project. Some beans from alma.jar also appears on the Palette. alma.jar is in the dist folder of the alma project and all the other ...

How to deploy Web Services in GlassFish?

I am using NetBeans6.9.1. When I test my Web Services using "Test RESTful Web Services" inside NetBeans, the web services were properly deployed and I was able to do GET from my web services. I thought when I deploy my EAR (which contains those web services and other ejb and web stuff), the web services would be automatically deployed, b...

how to implement Jmf

how to implement jmf in netbeans?and how to build video streaming using JMF? ...

Java Netbeans error

I've been following the 'Netbeans E-Commerce tutorial', and have am currently on this step: http://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html I have fully configured my Window 7 account as per that page, with NetBeans 6.9.1, Glassfish server and MySQL. I'm getting an error 500 when executing 'Category' page (log extract ...

What is the default username and password in Tomcat?

I installed Netbeans and tryed to access the server's manager using: (id/pass)manager/manager, admin/admin, system/password... None of them worked. ...

Netbeans wizard to generate php classes

Hello. I want a wizard where I insert the database connection, and with some settings it generates the PHP classes. The wizard can use (internally) a template already created. Is that posible? Does that already exists? If not, any ideas of how to do it? Thanks! Edit I'm looking for something wich let me make my own class template or...

How to add a navigation case to a JSF project using netbeans

I have simple JSF2 application running on glashfish 3.1. I want to add a new index page, not change the actual one, but to set a new one that links me to the actual one, I have managed to set the welcome page to index1 (my new page). xhtml and set my link: <h:commmandLink action="/index/List"> But when I test it I get Cannot find nav...

How to set "columnWeights" and "rowWeights" for a GridBagLayout in NetBeans?

Apologies if I'm missing something silly... but I'm experimenting with NetBean's WYSIWYG Swing GUI builder, and am having some issues with GridBagLayout. When writing a Swing application from scratch, I'll typically establish the column and row weights in one fell swoop at the time I first declare the layout. Something like this: fina...

Is there a keyboard shortcut to go to a line number in NetBeans?

I'm using NetBeans for a project, and baffled that I seem completely unable to find a keyboard shortcut to go to a specific line number. Please tell me that it's my googling skills that are lacking, rather than the IDE. ...