netbeans

how to instal netbeans enterprise 5.5 upon netbeans IDE 6.5

netbeans IDE standard edition 6.5 is already installed in my computer. now i had to install netbeans enterprise edition 5.5 upon it. but i could not do so. can anyone help in this regard. ...

Making Controls public/Global in Netbeans with Java.

So I have multiple forms for my current project and I have made classes that interact and do some utility work behind these forms. However I am unable to access controls on other forms. Say I have a text control on Form A and I want to use a class that receives/manipulates data from a completely different Form B. My classes and Form ...

Why do certain JUnit tests not get executed in NetBeans and/or Hudson?

When I right click a project in NetBeans and choose Test, certain unit tests aren't running. If I right click the .java file that contains the unit tests and choose Test File, the unit tests do run. Also I have this project in Hudson CI and those same unit tests don't get run. ...

What to do in build.xml to add parameters in java command in the execution of the program?

I can only execute an application i made, with the following command in the command line: java -jar -Djava.net.preferIPv4Stack=true P2P_network.jar I would like to know, how can i put this in the jar file, so i can execute it automatically, without needing to go to the command line. The IDE used is netbeans. ...

In Netbeans IDE, desired behavior is when i press b then space, it creates two curly brackets with cursor in middle

when I press b-space for code block it does: { (cursor here) } How can I go about accomplishing this? Thanks. ...

What PHP editor should I use ?

What PHP editor should I use? I now have NetBeans 6.8 (the PHP version) but it´s always freezing for a long time. I previously used version 6.7.1, but the auto scan feature rendered the editor useless for too long, like 10 min on each restart. I used Eclipse as well but had the same experience as in Netbeans. Always freezing for a lon...

Running JUnit test in NetBeans gives NoSuchMethodError error on a method whose return type was changed

I have a project in NetBeans with JUnit tests. I made a change to a method return type in a dependent project, and the app runs fine. But when I run the JUnit test from inside NetBeans I get a NoSuchMethodError. I made sure to clean and build. ...

Can I use Ant with NetBeans PHP projects?

I would like to use Ant with some of my PHP projects but I'm not sure how. I tried creating a build script with a few targets but couldn't execute any of them from within Netbeans - there's simply no option to. Is this feature supported in this context or not? If yes, then how do I use it (I must obviously be missing something in this ca...

How can i open C++ or Java project S60 5th Edition SDK 1.0 with Netbeans

i installed S60 5th Edition SDK 1.0 but i cant open project on netbeans? what can i do? maybe install some netbeans plugin. ...

Compiling Java LWJGL project with NetBeans (package org.lwjgl does not exist)

I try to compile a (LWJGL) Java project using NetBeans. I clicked on the project -> properties and under Libraries -> Compile. I added the Jars location, the source files location and javadoc location. Still when I try to build the project I get the error: package org.lwjgl does not exist. What can I do to resolve this error? ...

hpricot in netbeans

hi I am trying to use hpricot in JRuby. My problem is the following. If I have this code: #!ruby require 'hpricot' require 'open-uri' # load the RedHanded home page doc = Hpricot(open("http://redhanded.hobix.com/index.html")) where do I put it? Into my controller? Because its not accepting it there. And if I'm supposed to put it...

difference between addig library and .jar file in netbeans ?

i have .jar file of lwuit and its also in there in netbeans library . when i add it as .jar file my proograms runs good and wheni add it as library my outpout is not shown correctly . whats wrong with this ?> ...

C++ Netbeans debugging issues

hi all ,I installed netbeans6.7.1 ide for c/c++ also i have mingw/msys cygwin installed and i have given C:\Msys\bin as environment variable path.It has gdb7 version.However wheni run dbugging thru netbeans it prompts that GDB version 0 not supported on this platform.Pls help I have made the project from existing files by giving netbeans...

Source generation in Netbeans and Eclipse

I now use Netbeans rather than Eclipse but find that the Source code generation seems more limited than Eclipse. For example Eclipse has a function that generates delegate methods but I cannot find this in Netbeans. Is there a comparison of the functionality in the tools, and any suggestions for overcoming deficiencies? ...

Java auto boxing

I switched a project I'm working on over to maven and suddenly auto boxing seems to have broken. My IDE (NetBeans) complains on lines such as the one below with the error "Incompatible types" Integer order = 4; ...

How to link PHP library help to NetBeans ?

Hello, How can I get NetBeans to automatically detect and show help for the core PHP functions ? Thanks ! ...

Java: Comparing memory heap dumps in Netbeans

How do I compare memory heap dumps in Netbeans? What I have done is to configure my project to use profiling, then added several profiling points at chosen lines of code (similar to setting breakpoints). These profiling points trigger a "snapshot", which creates a memory dump. As my application is running, the profiling tab lists each ...

Variable type hinting in Netbeans (PHP)

Just curious if there's a way in netbeans to give type hints for regular variables, so that intellisense picks it up. I know you can do it for class properties, function parameters, return types, etc. but I can't figure out how to do it for regular variables. It's something that would really help in situations where you have a method tha...

Deleting extra spaces in NetBeans

How can I delete automatically extra spaces (especially at the end of line) in NetBeans during saving a Ruby file? ...

Select, copy or cut the current line in Netbeans

In Netbeans I find keyboard shortcuts that deal with the current line of code very helpful, like Ctrl-Shift-Down: duplicate Shift-Alt-Down: move Ctrl-E: delete Is there a shortcut for selecting, cutting or copying the current line of code? I've looked through many cheat sheets and thought I'll ask here before attempting a macro....