netbeans

How do I turn a group of .java files into a working project

I am a crazy Java beginner, FYI. I want to compile a program (actually to answer an SO question) that uses the org.json package in these files: http://json.org/java/ I created a basic Java application in NetBeans, but how do I get these to be class files that my main class recognizes, and that they recognize each other. Do I need to j...

SQLite3 and Ruby - uninitialised constant SQLite3 ... API

I am using Ruby on Rails in NetBeans 6.7.1 under windows, and I'm trying to use SQLite3. I've installed the windows version of sqlite3-ruby, and I've placed sqlite3.def, sqlite3.dll and sqlite3.exe in NetBeans6.7.1>ruby2>jruby-1.2.0>bin When I try to run the db:create rake task, I get the error and trace shown below. Can anyone help pl...

How to run a Maven JME project in netbeans ?

I have created a maven project with j2me-archetype using netbeans. It creates a project with a default MIDLet (SampleMIDlet.java). But when I try to run the project it says that No Main Class Found. Can anyone tell that why it is going for Main class instead of existing Midlet ? ...

Anyway to get Netbeans to save before a compile and run?

I'm using Netbeans for Groovy/Grails development. I'm very new to Groovy/Grails and netbeans. Netbeans doesn't save all changed files before a compile and run. I looked through every Preference setting, the help, etc, and can't find an option to save on build. Does such an option exist in Netbeans? I waste a lot of time forgetting to s...

How do you use Netbeans to work with a Github project?

From what I can tell, nbGit doesn't talk to Github. The best idea I've had so far is to install msysgit, use it to clone the repository to the local drive, then point nbGit at the local clone (creating a second repository). Then I would use nbGit to talk to the repository on disk, and msysgit to sync the on-disk repository with Github....

NetBeans: Updating GUI Source is not reflected in Design or During Runtime

I'm new to NetBeans and am struggling with how to correctly use its GUI builder. I can construct the GUI just fine with the design editor, however, when I make changes directly to the source code, those changes are not reflected in the design editor, or during run time. How can you edit the source code for the GUI directly, and have yo...

Netbeans Module not being deployed

Original Question Title: C:\Documents and Settings\user\My Documents\NetBeansProjects\ConsultingAgency\nbproject\build-impl.xml:563: The module has not been deployed. hello I am new to javaserver face developing and following some netbean tutorials on this Generating a JavaServer Faces CRUD Application from a Database : http://net...

Can't not use ListCellRenderer

I'm using Netbeans to develop my Java application.I want to display list of items with icons. I have use ListCellRenderer but it just display item, but not icon. Here is my code //Item class public class Item { private String title; private String imagePath; private ImageIcon image; //getter and setter} //ItemRenderer publ...

Bundling native dll with jar

Hi, I need to include native lib (jnotify but I think that it does't matter) to my jar. I wont to do it with NetBeans. I added Bundle-NativeCode: /lib/jnotify.dll; osname=win32 to my manifest.mf file and added jnotify.dll to projektHome\src\lib\ folder. But unfortunately NetBeans is overidning manifest.mf file. How can I fixed? Can I ...

Can I add custom editor hints to Netbeans?

Is it possible to make Netbeans display hints for custom things? For example I want to display a hint whenever the developer uses the Date or the Calendar class: "Consider using JodaTime instead of the JDK date classes". ...

Is there a hot key for "go to test" in eclipse

In Netbeans there's "Navigate => go to test" which navigated to a class named currentClassTest if it existed (within the current maven structure). Anybody know if such exists in eclipse? Or how to setup a hot key for such? Sorry I'm somewhat of an eclipse newbie and this one escape google somehow. Thanks. ...

getting javadoc to work with netbeans

Hello I'm trying to make it so I can look at the javadoc with autocomplete in netbeans 6.7.1 but it tells me "javadoc not found". I tried adding it with the platform manager (I added c:/sun/SDK/docs/api) but it still doesn't work? What should I do? ...

Steps to "Mavenize" a Eclipse or NetBeans project with the help of Subversion?

The process of mavenizing Eclipse and NetBeans projects usually takes a lot of manual work, if all files are under revision control. So I am thinking of writing an Ant script which uses svn commands to rearrange the files in the working copy according the standard Maven directory layout. This would keep all file revision histories inta...

netbeans: the replace button is unclickable?

i want to find and replace a string in netbeans. but the edit -> replace button is unclickable. why is that and how do i solve it? ...

Windows Netbeans with PHPunit, not working

I ran into this question: http://stackoverflow.com/questions/1552130 But applying the fix mentioned there does not work. Netbeans keeps saying the version of PHPUnit is too old and that I need at least 3.3.0, while I am using 3.3.9. Screenschots: I haven't editted anything about the files, I just downloaded the tgz, unzipped it all ...

What exactly is the difference between the Dreamhost IDE and Netbeans?

I just started using Netbeans about a week ago, and really like it thus far. Now I'm seeing something about Dreamhost IDE which I guess is a program that is built using the Netbeans platform. I use Dreamhost as the hosting company for many of my projects. What is the benefit of using Dreamhost IDE over Netbeans? Documentation on the ...

What is wrong with runing app in tomcat server???

Recently I created a maven based web project and used tomcat as application server to debug ... But tomcat is frequently dead (pergem error which means out of memery ) after run app from the Project context menu directly. The worst is that It created many idle threads and they are all can not be killed by manually. And tomcat statu...

should i put .hpp and .cpp in the same fold or in ./src and ./hdr respectively?

Hi, it seems that separate them into src and hdr is a popular solution. however, this is not the case in Netbeans: by default, netbeans will put both hpp and cpp files in the same directory. questions: should I separate them or not? why? if 1 is yes, is there any way to automatically set this in Netbeans? ...

wsdl xmlns problems with NetBeans and wsimport

Hi Our application provides a SOAP API. Our wsdl starting lines are something like <wsdl:definitions name='ControlDServices' ... xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/' ... This usually works OK, but a customer complained that when they try to use our SOAP API in NetBeans with the wsdl we provide they got this error: Web S...

How can I remove the close buttons from editor tabs in NetBeans?

Variant three in this specification is what I want, but I see no info on how to enable it or whether it's something that's even been implemented. Is there a plugin or secret setting that will let me remove the close buttons on tabs. I always use middle click or the keyboard - the close buttons take up a lot of space. ...