netbeans

What is netbean's Lookup ?

I have trouble understanding this. Basically, this Lookup API is used to keep loosely coupled intermodule nature. So basically a service provider and consumer modules can each communicate with each other using the Lookup API correct ? But what I don't understand is: is Lookup like a bag full of which objects for that Class? Can someone...

Formatting a complete project in NetBeans

To format a file in the editor, you press Alt+Shift+F. Is there a way for formatting the complete project(s) in NetBeans (6.8, if that makes any difference)? ...

Why does my simple hello world C++ app use 3 threads?

When I look in windows task manage it says it's using 3 threads? Why is this? I was expecting just 1 thread to be used. I used Netbeans IDE and MinGW-Windows g++ to compile it. Thanks Code: #include <iostream> using namespace std; int main() { cout << "Hello World"; int input; cin >> input; return (EXIT_SUCCESS); ...

Problem with NetBeans Web Service Client when xercesImpl.jar is on classpath

I am unable to create a Web Service Client in my NetBeans Web Application when xercesImpl.jar is included as a library. Using NetBeans 6.9 and GlassFish 3.0.1: 1.) Create new Web Application 2.) Create a new Web Service 3.) Add a new operation to the created web service (just let it return null - the implementation isn't important) 4.)...

[Netbeans / Rails] Debug after a POST request

Hi dear stackers, I'd like to debug my app step-by-step to see what happens AFTER the form submission (only via POST). The problem is the URL after submission is the same than the one before, and I do not know any way to tell the debugger to wait for the submission of the form... Any ideas ? Thanks in advance ! ...

Achieving Netbeans-style line moving and duplicating in VIM

In Netbeans, Ctrl-Shift-Up/Down duplicates the current line or selection and Alt+Shift+Up/Down/Left/Right moves the current line or selection. How can this be achieved in VIM 7? So far, I'm able to get Alt+Shift+Up/Down working using these mappings: :nmap <A-S-up> :m .-2<Enter> :imap <A-S-up> <Esc>:m .-2<Enter>gi :vmap <A-S-up> :m .-2...

Netbeans project references on a build server

I'm trying to setup the following: a couple of Netbeans (6.9) projects (Java and Java EE) buildable on my own computer and on our daily build machine build files (classes and jars/wars/ears) should be outside the project directories to avoid Clearcase view-private files my machine is a Windows machine, build machine is Linux. On th...

Program stopped working after creating a .jar file with Netbeans

I made a simple Swing application with some database connectivity, using Notepad++ and executing it from the command prompt. It was executing perfectly. Then I copied all of the code to Netbeans and tried to build to main project, in order to package my application as a .jar file. A .jar file was created successfully, but when I trie...

JTable Right-Click popupmenu in Netbeans

I want to add a right click popupmenu to a JTable in NetBeans IDE (seems like a simple task... lol) I got it to partly work by 1) adding a popupmenu to the form 2) adding menuitems to the popupmenu 3) go to properites of JTable 4) click binding tab 5) set ComponentPopupMenu value to my popupmenu But this only partly works. Now I when I...

Why did NetBeans show incorrect auto-completion?

I had an exam yesterday for Programming I at the end of my first semester. It was pretty basic, except I made a really, really obscure mistake that I wanted to ask the more experienced people here about: I basically had a class Library that contained a vector that contains elements of Loan* which contains a Customer and Book class. Kind...

Is Oracle killing Opensource Netbeans in favor of JDeveloper ?

To my surprise Netbeans UML plugin is no longer supported. Jdeveloper UML features is not equivalent to this plugin so my question. ...

Which plugins are needed for J2ME development in Netbeans 6.9?

I have installed Netbeans 6.9 Java SE version. I have then added the plugin 'Mobility'. Now although I see the wizard for creating Java ME applications, it stops at the following stage: http://i.imgur.com/WGEtl.png It says that there is no compatible platform for Java ME installed. And in fact, there is no "C:\Program Files\NetBeans 6....

Template engine JTPL how to work on netbeans 6.9

Hi All i'm coding jsp The First Step i coded the template html and css and now i want use template engine , i searching in goole.com and i found JTPL is simple template engine But i don't know how it work in netbeans IDE 6.9 Who can help me? ...

How can I use PIL with Netbeans 6.8 (Python version 2.6.5)

Hi all, I have installed Python Imaging Library (PIL) version 1.1.7 on a Windows 7 computer. I have configured Netbeans to use Python (instead of Jython). I added a reference to C:\Python26\Lib\site-packages\PIL to the project but when I attempt this code: import Image, ImageDraw img = Image.new("RGB", (100,150),(255,255,255)) I get...

How to open the 'Projects' panel in Netbeans

In Netbeans, to the top left of where the code is, there used to be two panels, one called 'Projects' where you could click a project name to open a tree of all the directories and files in it, and you could double click a file to edit it. Below it is the navigation panel which shows the class names, methods, etc contained in the file y...

How do you add Python Imaging Library (PIL) documentation (code completion, etc.) to Netbeans?

I am using Netbeans 6.8 as my Python IDE. I can use PIL (1.1.7) in my Python programs, but the code completion features are not working. I just downloaded the Source Kit edition of PIL, but I am unsure if it contains documentation/code completion entries that Netbeans can use. Does anyone know how to use the PIL documentation with Netb...

Drawable resources and NetBeans (Android Development)

Hey guys. I'm newer in android development. And after using eclipse about 1 month... i hate this. I've setup NetBeans IDE for android development. It's fast, it's looks like cool and i like it. But have one trouble. I cant find how to use drawable resources (just like R.drawable.icon) :( . Can anyone help me? PS: sry 4 my english )))))...

Using Netbeans 6.9 Palette to set setEnabled() default

I get the impression that a lot of GUI parameters, when using NetBeans, can only be set using the palette. Anyway, I have a method bound to the event of clicking on a JMenu, that prompts for a password and, if authenticated, enables all the JMenuItems on that JMenu, otherwise, it leaves them disabled. So I set each JMenuItem to be disa...

Debugging Java Application Over Network

I have a core java app running on a computer on my network. Can I attach a debugger (netbeans preferred) to this from another computer on the same network? Please advise how to do this if it is possible, or point me to an article I've had a terrible time googling for it. I don't see why it shouldn't be possible. Thanks ...

How to get Full Call graph for Documentation Purposes?

Our team is being required to document every method in our code, and describe what's getting passed in and out and such. Is it possible to auto-generate a document containing a full call hierarchy tree starting at a function and going down to all the possible call expansions? How? Using eclipse, spring, hibernate. Also we have access...