netbeans

Eclipse content assist improvement

Is it possible to make content assistant work as Netbeans code completion during typing "new "? I mean that Netbeans suggests all possible classes that fit to the type requirements including extending classes. Eclipse suggest only exact classes that fit to the required type. Here is example comparison: http://img12.imageshack.us/img12/36...

How can I accept multiple editor hints in NetBeans?

If I migrate java5 code to java6 a lot of @Override are missing => NetBeans gives me a lot of hints. How can I accept multiple hints at once? (The same would be nice to have for @SuppressWarnings and other hints) Or can I programmatically do this? some hacks are explained here ...

Java web-app debugging not possible due to direct undeploy on debug

When i try to debug my webapp it starts up the tomcat server and the application, but shuts down the debugger shortly before the app gets usable. I see the debugging toolbar for a second before it vanishes again, though the app keeps running. Tomcat-log: Listening for transport dt_socket at address: 11555 23.03.2010 01:24:35 org.apach...

Java application installer for linux

How can I create a linux installer for java desktop application? for an instance if we want to install netbeans on ubuntu there is a download which is named as "netbeans-6.8-ml-java-linux.sh" so how can i create "mydesktopapp-linux.sh" i have the properly working .jar file i want to distribute my java desktop app. Can anyone help me? ...

General Questions on setting up Subversion (w/Netbeans) and web development workflow.

Hey guys, I am web developer who currently works mostly on his own but, some projects require outside coding help (my brother.) Anyway, after running in to the problem of "working on the same files" and "saving over each others edits" I decided to research ways to avoid this. Through the help of stackoverflow I decided on subversion. ...

how to change swing look and feel in netbeans

i am new to netbeans ide , i have a swing desktop application and i want to change the default java look and feel (for it) to substance look and feel ( or other) , so how to add substance jar file to my project (i want to deploy the project to jar file) , and set a look and feel from it . thanks ...

How to step through debug twisted?

I'd like to be able to debug Punjab, a twisted python application, in Netbeans so that I can step through the code. How can I do that? Alternatively, how could I do it in a different debugger? ...

How to use BeanTreeView?

Hello. I have read through whole platform.netbeans.org and I do not find how to add some instance to existing children. I can add static array of diagrams(created in addNotify()), but how to add new Diagram object to the Children? I want to add it from an action that I will create(not included in code). See the code: public class Explo...

How do I make JPA POJO classes + Netbeans forms play well together?

I started using netbeans to design forms to edit the instances of various classes I have made in a small app I am writing. Basically, the app starts, an initial set of objects is selected from the DB and presented in a list, then an item in the list can be selected for editing. When the editor comes up it has form fields for many of the ...

Set next instruction in NetBeans IDE

Does NetBeans have something akin to "Set Next Statement/Instruction" when debugging in Java? ...

How do you make a Netbeans form automatically populate fields in a class?

If I create a Netbeans form, with say a bunch of string fields, how can I make the contents of the form fields automatically populate the class(object) I want to back the form? ...

What does this code mean?

Hello, I do not know, what is function of code lookups.singleton in code below public class ProjectNode extends AbstractNode { public ProjectNode(MainProject obj, ProjectsChildren children) { super (children, Lookups.singleton(obj)); setDisplayName ( obj.getName()); } } ...

Java EE deployment error

While deploying a particular project I'm getting deployment error like "module has not been deployed"... but I'm able to deploy other projects... the error shown is as follows In-place deployment at F:\onlineexam_1\build\web deploy?path=F:\onlineexam_1\build\web&name=onlineexam_1&force=true failed on GlassFish v3 Domain F:\onlineexam_1\...

Multiple webservices in 1 ear/ejb project

We have a ejb project (which is in an ear) that shares quite a bit of code between 2 webservices. The classes that the webservices expose are in different packages but they have different names. For example Web service1 com.d.trunk.Response WS1.process( com.d.trunk.Input ); Web service2 com.d.fwd.Response WS2.process( com.d.fwd.Input...

Netbeans weird quote behaviors

I've been having trouble with the latest netbeans ruby ide. Here is the weird behavior: "|" = my cursor some text |here I try to add a single quote. Expected: some text '|here However I get some text h'|ere It's worse when there is a linebreak: some text here | some other text here turns into some text here '| some o...

How do I make my java webservice client fetch and parse WSDL upon execution?

I've created java webservices and clients using Netbeans. However, the clients seem to have the WSDL already 'built-in'. Is there an easy way of making my client fetch and parse the WSDL code upon execution, so that if the webservice moves to another server, the client is just invoked with a different commandline argument for where to ...

Java program strange behavior, how to fix it ?

My notebook has Intel CPU, running Windows Vista. My program looks like this : public class Tool_Lib_Simple { public static void main(String[] args) { System.out.println("123"); } } When I run it, I expect to see : "123", but the output was : "Hi NM : How are you NM ?" which was the old output from two days ago before I chan...

How can I make one Maven module depend on another?

OK, I thought I understood how to use Maven... I have a master project M which has sub-projects A, B, and C. C contains some common functionality (interfaces mainly) which is needed by A and B. I can run mvn compile jar:jar from the project root directory (the M directory) and get JAR files A.jar, B.jar, and C.jar. (The versions for ...

BlueJ, NetBeans, Java

Hey: I just started with Java and downloaded Netbeans, i kind of like it, but i hear a lot about BlueJ and i was wondering wether if downloading and using BlueJ would be of any use when im happy with Netbeans .. or simply tell me if i am comparing two things that aren't comparable and should coexist :D thanks, Samuel ...

MarshalException: CORBA MARSHAL 1398079745 / Could find classes

Hi, we did a cleanbuild in netbeans, checked the jdk version and deployed everything at the server but still got the following error. Can somebody help? javax.servlet.ServletException: #{RegistrationController.register}: javax.ejb.EJBException: nested exception is: java.rmi.MarshalException: CORBA MARSHAL 1398079745 Maybe; nested excep...