netbeans

Using both netbeans and eclipse to edit a netbeans project

Hi Netbeans is the default IDE at my workplace. I want to use Eclipse to edit the Netbeans projects. How easy or difficult is it to do this. Can someone outline the steps involved for this. ...

web integrated mobile application

i want to built an application, using the netbeans mobile application software(ME), which gets data from a website and then display it on the screen may be in a text box. ...

Are there any templates to make Ruby code in Netbeans look as sexy as in Textmate?

As much as I love Netbeans for Ruby programming the traditional white background and drab color coding leave me with Textmate envy. Is there any solution to this in the absence of buying a Mac? ...

netbeans and producing a web service best practice w.r.t dto's

I am just starting to use netbeans and web services and I want to implement a web service with netbeans and glassfish from an existing wsdl with standard netbeans short cuts. The dto's are generated and placed in a a source directory in the web project (it must be a web project). Is there a way I can change this generated source code d...

How to include a *.pri in NetBeans?

So I've downloaded an add-on for Qt and now I'm trying to use it in my project. I've moved the src files to /usr/include/qt4/QtPropertyBrowser to be consistent with the other qt modules, but how do I add it to my project now? The standard ones have checkboxes that I can just tick off in the project properties dialog, but not this one. Th...

compiled Jar file contains excess class files

In a NetBeans Mobility Project I have attached a zip file to the Resources folder, this zip file contains around 10 .class files. In my mobility application I am actually using 4 classes from the zip file, however when I compile and build my project the destination jar file seems to contain all the 10 .class files from the zip file. I...

Error creating javax.microedition.rms.RecordStore in NetBeans 6.0

I'm trying to write an application with J2ME that uses javax.microedition.rms.RecordStore to store persistent data. I'm developing this project in NetBeans 6.0 and J2ME 2.2 on Gentoo. When I try to run the project, I get an error because apparently the record store can't be created. Here's a sample of output including the stack trace: j...

How do I start unit testing?

I know that unit testing is desirable, and I am interested in doing unit testing. The only problem is I have no idea how, or even where to start really. So my question is: How do I learn about and start unit testing? Specifically I frequently write Java code in NetBeans and C# code in Visual Studio and am interested in what tools to u...

How to profile and understand output for a Java Web App

Hi. I am currently trying to profile a java web app. I used Netbeans Profiler in conjunction with Eclipse. My server (Tomcat) is running through eclipse plugin and I dynamically connect to server using Netbeans profiler. I have a primary problem, that after sometime server runs out of memory on an environment. I read about the memory l...

Disabling automatic build in NetBeans

I am using Netbeans IDE 6.7.1 and I wish to disable the automatic build feature. Or somehow change the priority of this automatic build thread. Its always building, and slow down my computer alot. I think because of this, at times, Netbeans takes around 80% of my CPU. I dont really want this feature, I can do a build when I want. ...

Can I import codestyles into Netbeans?

I have tried NetBeans for some time, but have not made my final move yet. I need to be able to import codestyle settings from Idea or Eclipse. Anyone know it that is possible? Or if some plugins allow that? ...

Netbeans Go To File Search Dialog Is Very Slow

The Netbeans "Go To File" feature (accessed with shift+alt+o) is extremely slow compared to the same feature in Eclipse, which is fast enough to do as-you-type matching. It seems that Netbeans is searching my entire project every time I return to this dialog. I updated to the latest Netbeans and this is still happening. Am I doing somet...

Netbeans - Source classes don't have access to Test classes?

I have a NetBeans project set up with a bunch of source classes and about 10 jUnit test classes in a separate Test folder. From within the Test files I can import any other test file or source class. However, from within the normal source files, NetBeans acts as if the Test classes don't exist. Autocomplete on them won't work, and if I ...

Netbeans with Oracle connection java.lang.ClassNotFoundException

I use NetBeans 6.5 . When I try to run the following code : package com.afrikbrain.numeroteur16; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author */ public class NumeroteurTest { public NumeroteurTest() { } ...

How do I autoident in Netbeans?

In eclipse you can click Ctrl+I at any line, and it'll automatically indent the line or group of lines according to the indentation scheme you chose in the settings. I'm really missing this feature in Netbeans. Is there any equivalent feature? I'm aware of Alt+Shift+F but it's not good enough. I want to indent a group of lines, and not...

JAX-WS returning a complex object?

Hi, Im pretty new to Java Web Services, but I cant find a good explanation anywhere. I have 2 Java web projects within NetBeans. One as a web service and one as a client for that web service. I have also created my own class called "Person", which has what you'd expect: name, dob, etc. I would like to have a web service method called "...

Where is the Groovy/Grails support in NetBeans?

After repeatedly hearing good things about the Grails support in NetBeans and being frustrated by eclipse's lack thereof, I've decided to give it a try, but now said support doesn't seem to exist: I've downloaded the bunde containing NetBeans 6.7 along with the latest Java 5 JDK from Sun The About box says: NetBeans IDE 6.7 (Build 2009...

linux usb-hid :add libhid library to eclipse(C++) or netbeans IDEs or native input.h or hiddev.h ?

Hi i have problem with libhid . i found that there 2 way 4 accessing the usb-hid in linux 1)linux default libraries like input.h and hiddev.h and ... 2)using libhid i found libhid some confusing and try to use input.h but i have problem with that 2. i dont know how to get information about my device from ubuntu i use open() to op...

How do I set Tomcat Manager Application User Name and Password for NetBeans?

I'm trying to follow a tutorial to make an extremely basic Java web application in NetBeans. When I try to run it, a dialogue box appears title "Authentication Required". Inside the dialogue box there the heading "Tomcat Manager Application" and fields for "User Name" and "Password." Investigating this, I've come to understand that I ...

can't step into c++ program pixel city in netbeans on ubuntu

I'm using NetBeans 6.7 on Ubuntu, and I downloaded a linux port of shamus young's pixel city, http://github.com/BryanKadzban/pixelcity/tree/master but I can't step into it (it compiles and builds and runs fine (a little slow but fine)). I can step into a c++ sample project in netbeans which seems to mean that gdb is working properly. ...