netbeans

change jframe("java") logo using netbeans

how to change jframe logo of java in netbeans ,what is the code to change the logo Thanks, Khoyendra ...

Custom realm/starting Tomcat 6.0 from Netbeans 6.8/first HTTP request

I'm using NetBeans 6.8 and Tomcat 6.0.xx. I've created a custom realm and updated the NetBeans project build.xml to deploy the realm to Tomcat. When I debug the project, NetBeans starts the Tomcat server and makes an initial HTTP GET request for 'manager/list'. Tomcat graciously hands this request off to my custom realm for authentica...

Can i add a component in jframe in netbeans at runtime?

I am having a form built up in netbeans and want to add or remove a component with an actionperformed event of a button or a combobox is it possible? if yes, how? ...

How to pass initialisation parameters to a web service in Netbeans

I have built a web web service with Netbeans 6.8 using the "Web Service from WSDL" wizard. It has generated the binding classes and a skeleton for the class implementing the web service. I've set some initialization parameters in web.xml, under the servlet corresponding to the web service. Now I'd like to pass those parameters to the c...

Setting up a (web) development environment

Hi, I would like to know how I can improve my development environment. At the moment: I'm using Netbeans as my IDE. My local Dev server runs on a RHEL5 VirtualMachine similar to my production server. My Netbeans project is editing the VM files via ssh (I have mounted the server as a local drive) But: It's slow Files can disapear (...

Netbeans 6.9 and nbgit plugin

Does anyone here has working nbgit plugin with Netbeans 6.9? I've seen some patches for 6.9 in the repo, but the release 0.4 is not available for download yet on the project page. Is there any compiled version of nbgit 0.4 available to download somewhere? When I try to install nbgit 0.3, I keep getting the message: Some plugins req...

[Java] NullPointerException

After compiling my application in Netbeans and running the application in Netbeans it works just fine. All images load fine. Trying to double click execute the application results in nothing happening. Trying run from command line gives this error: Exception in thread "main" java.lang.NullPointerException at Entity.<init>(Entity...

Unable to add Tomcat server instance in Netbeans 6.9 (touch: cannot touch `/usr/share/tomcat6/logs/catalina.out')

I'm learning JSPs and servlets and I wanna use Netbeans. I've been unable to set Tomcat as the server instance. Netbeans says: The /conf/server.xml can't be read I'm running Ubuntu 9.04, what should be done? EDIT: I've found that my CATALINA_HOME VARIABLE is set to /usr/share/tomcat6, so what the hell is happening? Apparently, th...

Where can I find mirrors for Netbeans?

We can download Netbeans from main website using their decision concerning which server to use. Is there available mirror lists for Netbeans IDE downloads? I don't see any mirror out there though the main website can point to many servers (after testing with different proxies). Is there any policy concerning about the download of free...

How to change the default project directory (folder) in Netbeans 6.9 ?

How to change the default project directory in Netbeans 6.9 for Java SE\ME\EE? ...

How to get Webpshere to work with NetBeans 6.9

I have seen that on nightly builds of Netbeans RC 6.9, there was Webpshere support, as in some previous versions. Does anyone have any clue why it is still not supported on latest Netbeans 6.9 and when will it be available? ...

Netbeans error code 1 ?

Hi everyone, I want to try developing a mobile programme. But when I run project as Java application, the project don't compile. The Netbeans output like this: Could not create the Java virtual machine. Error code : "Execution failed with error code 1." in:"../build-impl.xml:898" How I fix it ? ...

NetBeans6.9 C++ runtime error

In NetBeans 6.9 in windows version I use CygWin for C++ programming.I can compile my simple program and BUILD SUCCESSFUL message show by output window in NetBeans but when run my project this message show in external terminal : /cygdrive/c/Users/SjB/Documents/NetBeansProjects/CppApplication_3/dist/Debug/Cyg win-Windows/cppapplication_3....

Finding event handlers in source trees.

Hello. So, I'm trying to implement a looping mode in the totem movie player. I would like to do this by adding a checkbox under "Edit" that turns looping on. I'm trying to figure out what code gets called when "Edit" and the "Shuffle Mode" option under it is clicked. Is there any easy way to find where the appropriate event handler is? ...

NetBeans: Force external class to be statically compiled into JAR?

I have a NetBeans project that relies on one specific Java class in another project. Right now, when NetBeans compiles the project, it only adds a reference to the other Java class, which leads to a NoClassDefFoundError since the external class isn't in the JAR. How can I force NetBeans to compile that external file into the JAR when i...

Netbeans 6.8: Lib-Import works, but "package does not exist" when compiling

Hello, I'm working on a JavaME project and need to import external libraries, which are available to me as jar files. So I selected the project properties -> libraries & resources -> add Jar/Zip and added the jar file there. When editing the code, everything works. I can import the classes from this library and use them as expected. B...

NetBeans program linking

1 main program 2 JFrame programs. How do I use the main program to call the JFrames to run during the main programs execution chromatically? (One at a time, one pops up user interacts and hits ok, the next frame pops up) I've tried using this, but it executes both of the frames at the same time. EventQueue.invokeLater(new Runn...

Netbeans creating a dist jar with all images etc included

Hey! I am trying to distribute a netbeans project however the jar it creates and the contents of the dist folder are dependant on some image files which i included into the project - however these images are not in the dist folder and I cannot workout how to make things work so I can export the project in a distributable format includin...

creating own scripting language in Java desktop app ?

I have a simple web application testing desktop application. I am wondering how I can create my own scripting language for it (Domain Specific Language). The purpose of this is to offer a very intuitive scripting even for non programmers, and able to define user scenario specific details. I hope this is clear, basically the question is...

netbeans: linking the app and view ?

when you create a gui application in netbeans IDE, it generates 2 files, the App.java and View.java is it okay to include the application logic in view.java ? my intuition tells me this is a bad idea. However, I don't know how I can call the methods or somehow "hook" the App.java with View.java So instead of having to put all my code ...