netbeans

How to change Ant script with EMMA code-coverage so it can find runtime coverage data?

I have following script: <?xml version="1.0" encoding="UTF-8"?> <taskdef resource="emma_ant.properties"> <classpath> <pathelement location="lib/emma.jar" /> <pathelement location="lib/emma_ant.jar" /> </classpath> </taskdef> <target name="compile"> <mkdir dir="build"/> <!-- vytvori adresar bu...

Netbeans + tomcat on Ubuntu

I migrated to Ubuntu from windows recently and am going to use Netbeans on it now. I have installed Netbeans using synaptic but I do not see services option in tools tab. Will i have to install Tomcat separately ? ...

JavaDB dual installation

Hello, on WIN XP SP3 and Netbeans 6.7.1 IDE, I have installed Java SDK 6.17 which includes JavaDB. I set the JavaDB directory to ...\Java\JavaDB at the Java installation script with %DERBY_HOME% set accordingly and %PATH% including %DERBY_HOME%\bin Later on I installed GlassFish-V3 Prelude which - surprise surprise - comes with its o...

Auto generate header files for a C source file in an IDE

I am trying to use Eclipse and NetBeans for programming in C (not C++). Is there a feature/plugin for them which automatically keeps the source and header files in sync? As in, when I implement a function in the source file, does it automatically insert the correct lines in the header file? I did look at solutions like lzz, but they ar...

Where do I put jstl.jar and standard.jar so that Netbeans don't give errors/warnings?

Where do I put jstl.jar and standard.jar so that Netbeans don't give errors/warnings anymore about the taglib. ...

Netbean does not refresh JPanel after adding new components

Hi, this title may not best describe my problem. I'm using Netbean GUI builder to create a JFrame and several JPanels. I create each JPanel in a seperate class, then I drag the JPanel class to JFrame. The problem is after dragging the JPanel to JFrame, if I add components to JPanel, it does not show the additional components in the JPane...

Keyboard shortcut to fix error in netbeans

Whats the keyboard shortcut to open the list of possible solutions to an error. The button is to the left of an error and looks like a little light bulb. I would like to use this without reaching for my mouse. ...

What happened to JAXB's NamespacePrefixMapper in JDK6u18

Hey I've been using com.sun.xml.bind.marshaller.NamespacePrefixMapper in my project, and i had no problem with it in JDK 6u17. Now I just updated to 6u18, and I saw that it has been replaced to com.sun.xml.internal.bind.marshaller.NamespacePrefixMapper. However if I import this class and try to compile my classes, I get the error: pac...

Java program only works with Breakpoints in Netbeans

I'm working on a multithreaded program in Java that uses a shared array to pass data between threads. It's being developed in Netbeans 6.7.1. One of the threads only seems to work when a breakpoint is placed in it, it doesnt matter where it is. Running in debug mode with no breakpoints acts the same as running in release - the expected...

Screencapture in NetBeans for Android

I am thinking of making a move to Net Beans but one thing I cant figure out is how to take a snapshot of the screen. I know eclipse has this capability. ...

make RMI Stub with netBeans

I see some where in the web that we can make Stub dynamically with Netbeans and it`s a good feature of it. I search a lot but all hits are from Old version (4 or 5) and others told a complete reference is in Netbeans website but the links is removed and i couldn`t find it in the site. Broken Link : rmi.netbeans.org Please if there is ...

How do I get SQL Server auto-complete working in NetBeans?

I'm using NetBeans with the jTDS JDBC driver connecting to a Microsoft SQL Server. However, I've been unable to get the SQL auto-complete functionality to work. Any ideas how to enable this? ...

How to create web service on netbeans?

I am trying to deploy my class project as web service on glassfish. I was told that this is really simple and netbeans does all the work and even creates the WSDL for you. I see where you can make a webservice client. But where do you go to make the webservice? ...

NetBeans on OS X: Cannot connect to SFTP server: ArrayindexOutOfBoundsException

I am running NetBeans IDE 6.8 (Build 200912041610) with the PHP plugin on Mac OS X 10.5.8, and when I try to SFTP files up to my remote server, I get the error: Cannot connect to server: 1.2.3.4. Reason: java.lang.ArrayIndexoutOfBoundsException: 233 Where 1.2.3.4 is my server's IP address. I get this error with every server ...

Adobe Flex Development on Ubuntu...

I'm thinking the following: Netbeans + FlexBeans Maven + FlexMojos However: FlexBeans just doesn't compare with FlexBuilder Not sure FlexMojos supports Flex 4 How do you guys manage to develop Flex apps on Ubuntu? I personally prefer Netbeans to Eclipse. Netbeans has very good Maven project support. So I am thinking of: "E...

Glassfish encoding

I'm using the code in this example example and in the runUpdate() function which i put in a javabean in a web application in Netbeans 6.8 with Glassfish v3. It seems i have an encoding problem because question marks appear in the table. I have tried so far: In nbproject->private->private.properties add runtime.encoding=UTF-8> In proje...

Compiling Issues For Java 7 In NetBeans

So I have Java 7 (64bit Windows build 84) and NetBeans 6.8. I want to use the new invokedynamic stuff in Java 7 and compile from NetBeans but I can't figure out how to get NetBeans to run the program with the right options except when I build it (run fails, build works). The code needs to be compiled with the option -XDinvokedynamic and...

netbeans 6.8 and zend framework

hello i installed netbeans 6.8 but in php framework list it dose not show zend framework , should i config it? how? same this one : http://blogs.sun.com/netbeansphp/entry/zend_framework_support_added any one may help? ...

sample code for 3d games!

Hi, would you sent me some links that has some code for 3d games ??also is there special kind of library for coding such a game (I use java language and netbeans environment)thanks ...

Developing any Network based 3D Game

Hi, if I have a 3d game(using java language and netbeans environment) I want to make it like those game that can be run by network(RMI/sockets) would you help me that how can I do that?I have too make a new java project in my netbeans??thanks ...