netbeans

Applet is empty with absolute layout

Hi there, I want to create a hangman game as an applet, so I have some labels and buttons that will be initialized by the generated code of the gui designer but I also have some labels I create on my own, after knowing how long my word is. Therefore I use absolute layout for my applet. In netbeans my applet works finde when I run it bu...

NetBeans GlassFish ESB POJO Component Broken?

Okay, not quite sure how to completely articulate this challenge, so I'm just going to dump. I've been working in a whole new area creating a JBI to do some processing. Basically, the application is organized as a BPEL front end to process emails that appear in an IMAP INBOX. This, then triggers a POJO to process the contents of the ema...

java.util.logging.Logger and log4j

I am trying to compile the code from here: http://www.brackeen.com/javagamebook/#download (Chapter 6) and am having trouble. I don't understand how java.util.logging.Logger and log4j work together, but that seems to be the issue. The errors I get are all on the log.error() or log.warn() method calls. Here is the output from NetBeans: ...

Why do my Swing application windows intermittently not close when the application exits?

Why are my Swing applications not closing when using Netbeans 6.5 on Ubuntu 8.10 with Sun JDK 6. Even the Netbeans tutorials downloaded from the Netbeans website do the same. When I close the application I'm left with a dead window. I then have to manually kill the process. It comes and goes, but I can't figure out what triggers this beh...

How to link opened file with project tree in NetBeans

I feel dumb asking this question, but I can't find solution to this myself. When I open several files in editor and switch between them, I have problem finding currently opened file in project or files tree. I used Eclipse before and every time I changed a tab with file, the project tree set focus for the same file. Is there a way to d...

Netbeans and .NET web services

Hi, I'm not an experienced java developer so any comment will be welcomed ... I've written a web service using c# and I wanted to consume this service from java - used Netbeans for this task. All methods works well beside one: the method expecting a type called BusinessDataField2 - this type contains 2 fields: name(string) and value(o...

Producing executable jar in NetBeans

I'm using NetBeans 6.5 and for some reason it won't produce executable jar "out of the box". I set my project to be the main project, defined main class in the project properties "run" menu and it works flawlessly when I press F6 to run it. I looked at the manifest file and it indeed didn't define the main class there, and also omitted...

using Swing components in javafx if they're not in the NetBeans javafx palette

I'm just getting started with javafx in NetBeans, and I have it doing simple stuff (windows with buttons + the like) but would like to try something slightly more realistic. The "Swing/AWT Components" palette has a whole bunch of stuff that the "JavaFX Script Code Clips" palette does not (it has Button, CheckBox, ComboBox, ComboBoxItem,...

GhostDoc for NetBeans

Anyone know of a product similar to GhostDoc for the NetBeans IDE? ...

Fail to install my NetBeans plugin

Playing around with creating a NetBeans plugin but I am making very little progress since the process of installing the module fails. What I am doing is right-clicking on the and choosing the 'Install/Reload in Development IDE' option and it fails with the following exception: Enabling StandardModule:org.willcodejavaforfood.com jarFile:...

Desktop icon image missing

I installed Netbeans two days ago on Vista, it created a desktop icon, then I installed some other programs, now I suddenly find that NB desktop icon is blank, with a shortcut arrow on it, it works fine when I double click it, but how to let it find it's own icon image ? ...

Netbeans 6.5: Change an environment variable during run/debug/test?

Up until Netbeans 6.1, I was using the following recipe to change the PATH environment variable during run/debug/test tasks: in the build.xml file I included: <property environment="env"/> <target name="-init-macrodef-java"> <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1&quot;&gt; <at...

How to get Netbeans 6.5 shareable libraries working

I created a Web application in Netbeans 6.5. Now I want to use the Joda Time library. I want to share this library via subversion, because I don't want my team mates to be dependend on some Netbeans configuration. Just to get the project working, I first added the library to the Netbeans library (Tools->Library). This worked OK. The JAR...

Running several instances of Netbeans RCP application simultaneously

Hello We have an application based on the netbeans rich client platform. Default behaviour is that only one instance of the software can run, and this can be overridden by specifying a different user-dir as argument when starting the application. Are there any alternatives to this? Our clients rely on being able to run several instan...

How do I install a RubyGem from NetBeans that I created?

Is it possible to install a RubyGem that I created in NetBeans, through NetBeans without uploading it to RubyForge? ...

Is there a "reverse statement" feature in Netbeans?

Is there a feature or plugin which can change these statements x = y; jTextField1.setText(entity.getValue()); ... into these: y = x; entity.setValue(jTextField1.getText()); ... ...

How to run a NetBeans project in command prompt?

...

NetBeans Tips and Tricks

I just saw an Eclipse tips & tricks post and was wondering if anyone had any tips & tricks for my IDE of choice: NetBeans. Here's a few I know and find to be useful: Removing a package: After you remove a package in NetBeans, it sticks around as a grayed-out package in your Project view. To get rid of that, switch to Files view and d...

Why am I getting a Hibernate LazyInitializationException in this Spring MVC web application when the data displays correctly?

I am attempting to create a web application using Spring MVC, with Hibernate as its ORM layer. However, due to my inexperience with both frameworks I'm struggling. The following code will properly display all the records I am looking for but still throw a stack trace into my logs. I'm having trouble finding thorough documentation concer...

Jython Netbeans with JavaSE

Hello everyone, I want to develop a Java application mixing java with jython. I am using the IDE Netbeans with the python plugin. How do i work on this? (There is a built in support for Groovy with javaSE from IDE call Groovy classes from Java code, and Java classes from Groovy code but not for jython) ref: http://www.netbeans.org/fe...