netbeans

How to select nodes in Netbeans Visual Library?

I create a graph based visual applicaion using a Netbens Visual Library. Can somebody post a code sample that enables a selection of nodes with mouse clicks (and Ctrl key fo multiple selection) ? Thanks in advance. ...

Help me run this netbeans quickstart program

Hello, I am new using java and netbeans. I want to make a swing gui, and I already followed this step (http://www.netbeans.org/kb/60/java/quickstart-gui.html#top) but when I run this, nothing happens and I don't see anything. What should I fill in here? public void main (string args[]) { ??????????????? } ...

Context help for Java API & language in NetBeans

Is it possible to set up context help for Java API & language in NetBeans. For example something like pressing F1 on ServletContextListener (for API) or on word while (for language) in source code and obtain help on these words. (something like in Visual Studio for instance) I am using NetBeans 6.5. ...

Is there a way to increase virtual memory in an application started from NetBeans?

In my project I often encounter Java heap space errors, i.e., there isn't enough space to run the program any more. Is there any way I can increase virtual memory? I am not using the command-line. I am using Net Beans. ...

Java heap space in netbeans.. but I've increased the heap size already!

I'm having an issue with netbeans and Java. My program needs to be able to cope with large files being uploaded via an arraylist. So I used -Xmx512m to increase the maximum heap size via the netbeans.conf file. I know that netbeans is catching the change, and I've restarted multiple times to make sure it is. Still, my program continues ...

How to control the file permissions when the netbeans php plugin uploads a file with FTP.

Whenever netbeans preforms an ftp upload the files are uploaded with the permissions set to 640. This causes PHP to throw the following error: Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error: Unknown: Failed opening required '/Library/WebServer/Documents/notes/index.php' (include_path='.:/usr...

How to compile & run a project-less file in Netbeans?

Netbeans, indeed any Java compiler and executor, needs to know the classpath to compile and run a file. When you just open a file in Netbeans, you do not tell it any of that information. When you set up a project, that process tells Netbeans where the Java resources are. Yet other IDEs can easily do this. It's not good...

java.lang.OutOfMemoryError: Java heap space with NetBeans

This is the error I get when I run my web application using NetBeans (using servlets). To fix this I even changed the heap size in netbeans.conf, but still it shows the same error. How can I keep this from happening? HTTP Status 500 - -------------------------------------------------------------------------------- type Exception rep...

VM options in project properties in netbeans

I got a problem with the java heap space while using servlets in netbeans5.0 and got a solution to resolve it too,they asked to change the VM options of run category in the project properties.But,i couldnt find such option in my properties.Please do tell me what to do with this error. This is the picture of my project properties. ...

Netbeans and Rails: Is there a way to make the Run option in netbeans also start thinking_sphinx?

I don't want to keep sphinx running all the time on my dev machine. I'd like a way to automatically execute rake thinking_sphinx:start when I run my app via netbeans. Is there a way to do this [also - I am using Windows] Thinking sphinx needs to run as a separate process. ...

Using the Netbeans 6.5 profiler to profile a remote web app ?

I'm having trouble using the Netbeans 6.5 profiler to profile the memory usage of a java web app, remotely. I have followed the steps in the tutorial, and was able to customize a Tomcat instance to start with the profiling agents. I can also attach the Netbeans profiler to the running server: for some seconds, the profiler shows graphs ...

Un-indentation in Netbeans

In netbeans, if I select some text and press Tab, it works correctly and the text is indented to the right side as expected. But if I then try to backspace behind the text, it only removes one space at a time. Very annoying. Is there any way to change this setting, so backspacing behind a tabbed line causes the whole tab to be removed ...

Need some help to create .jar file using NetBeans

I downloaded NetBeans 6.5 complete pack with Java ME. And then I downloaded and installed Sun Java Wireless Toolkit too. And I have tried in all ways to go to New Project -> And in under Java ME -> Mobile Application Then I enter name and location. And then when to select the emulator platform, "Sun Java Wireless Toolkit 2.5.2 for CLDC...

Is there a way to hide annotations in Netbeans or Eclipse?

Maybe a dumb question, but it would be nice if there was a way to hide or collapse Java annotations when viewing source in Netbeans (or Eclipse). I'm not finding an option and a quick search didn't turn anything up. Is this one of those "you should never want to do that, code folding is a sin!" things? Personally I'd find it useful fo...

Setting up a Gallery of Images with NetBeans

I want to display a set of images (with associated text) on my window. I want to iterate through them using a previous and a next button. So far, I have only been able to associate the image with a JLabel. =/ How do I go about doing the rest? Should I use a different container for the complete set? Should I load the images on a data str...

Web Services with Netbeans

After having done a web service with netbeans and having tested it. What is it that I should upload to the server so I can use it? I have been going around tutorials but none (of the ones I've found) say what to upload. They just finish when you deploy the web service =/. ...

Is there a way to autoscroll vertically in NetBeans editor while typing?

I couldn't find this feature in docs and google. I would like to have Netbeans autoscroll vertically 3 or more lines before I reach the bottom of the screen. That is how I've had emacs setup, and it is really hard for me to almost always code in the bottom line of the screen. if there is a third party plugin that I don't know about that ...

Is there a way to center code text in Netbeans to the screen?

I'm trying to emulate my prior darkroom setup I've had with emacs, but with Netbeans. I'm pretty much all the time in alt-shift-enter full screen mode, and then shift-escape to maximize the code editor screen. However, this results in all of the code text editor block, along with line numbers, to be aligned to the left of the screen. Is ...

Create an array of JButtons with the Netbeans 6.5 GUI Builder

Hello, I want to create an array of JButtons with the GUI Builder (not actually writing the code, but drawing it). I can only figure out how to change the name of the element, not add it to an array. Thanks. ...

IDE plugins for developing JMX Model MBeans

I am looking for a plugin that helps developers create JMX Model MBeans that works with either Eclipse and/or Netbeans. I am aware of the JMX Plugin for Netbeans that allows for creating of simple MBeans but looking for something more advanced. ...