netbeans6.8

Exclude folder from WAR file in Netbeans 6+

Guys, I have I think simple problem, but somehow it's causing some trouble. I have WAR project in Netbeans, and the contents look like this: WEB-INF images lib src stylesheets Now, folder 'src' contains some other folders with javascript code, that is minified during build process and placed in 'lib' directory. Oviously as js is ...

Cannot see the gui for the SingleLaneBridge java applet example

Hi, I went to the this java site and loaded the files in a new project in netbeans 6.8 . I removed the package declaration and put them in the default package of the project. I tried to compile it by right clicking and selecting run(Shift + F6) on the SingleLaneBridge.java file. This program compiled without errors. This is what I got...

open source netbeans platform projects that I can use ?

I've looked at sourceforge and other places for an example netbeans platform project source code but couldn't find any besides the Pain netbeans platform app that comes included in the IDE. ...

netbeans 6.8 word wrap

Does anyone knows of a way to wordwrap in NetBeans 6.8? I have been looking around and I can't find a solution for that problem, yet it is really hard to believe that such a basic feature is still missing in NetBeans. I like very much working in NetBeans, but not having wordwrap prompts me to add hard returns inside my code where they...

web service problem in netbeans

hi friends i have a problem with netbeans IDE. i created a web project , i can run it by index.jsp. it`s deploy and running successfully but when i create webService in that, the project can deploy but not running and web service dont run . when i test web service, i see this warning: Unable to open web service tester page: http:...

Netbeans 6.8: Actionlistener confusion

I have 2 modules: BrowserLibrary and BrowserViewer. Browser contains gui like any browser should. so inside BrowserLibrary module I have a class like so: public class BrowserController implements ActionListener{ public void actionPerformed(ActionEvent e) { if (e.getSource().getVarName() == "navButton") System.out...

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...

IllegalStateException error on appending UI element to Form

Hello, I wrote a simple j2me app for order tracking using Netbeans 6.8. The app allows the user to insert a new order, and search for orders by their order id. The app consists of just a single Midlet and the code is shown below. I have also put up the same code at http://pastie.org/1044069 . Im getting an error "Error:java.lang.Illega...

Eclipse & NetBeans and using SVN & Maven

Hey, I have an issue, I've created a Maved project with Eclipse, and committed into a SVN repository. from here I tried two approaches: Import the project into NetBeans from the folder of Eclipse workspace. Check the project out of the repository into NetBeans. in both cases, once I clean and build the project, NetBeans deletes the ...

drawing a graph in a JPanel in Net Beans

Hi Is there a possible way to override the paintComponent() method in the auto-generated GUI code in NetBeans? I managed to manually draw a graph without using the drag-and-drop components, and I need to make adjustments (e.g. adding radio button group) which I find really time consuming and tedious work. I created a GUI using the Net...

NetBeans with c++ using (cgin)

when i run my project in netbeans this statement appear in terminal and also it doesnt run my programme /cygdrive/c/Users/PC/Documents/NetBeansProjects/gift1/dist/Debug/Cygwin-Windows/ gift1.exe: error while loading shared libraries: ?: cannot open shared object fi le: No such file or directory Press [Enter] to close the terminal ... ...

How do I distribute a JOGL application?

Hi, I've written an application the builds fine on my machine but when I move it to another machine the dependent JOGL libraries cannot be found. Is it possible to create a build that sets up all the required JOGL files so that you can distribute your Java application with the necessary JOGL libraries? If someone could explain this in...

Using Canvas & MIDlets

Hi, I am using Netbeans,with the given emulator for writing MIDlet programs. I really need a simple,understoodable good example of using canvas. Additional question:can I have TextField,buttons on a Canvas screen? If I can,then how,and if not what do you suggests? And last thing: is it possible to make some buttons by canvas and add it t...

Getting "NOT FOUND" error when runngin zend framework project using NetBeans ...

I followed tutorial on http://netbeans.org/kb/docs/php/zend-framework-screencast.html, but I am getting not found error whenever I try to run the project. When I check the box "Copy files from Sources Folder to another location" while creating project and enter path to Apache2/htdocs, it works fine. I am just curious why I need to do th...

How do I create a breakpoint at a specific place without there being any code after it.

Hi , I am creating breakpoints to debug my java application , and am using netbeans 6.8 (if this is relevant). Basically the problem I have is that when I set a breakpoint and debug the program will break before it executes the code at that line. So for example if I have the following. public static void someMethod() { Object iWantT...

I am using netbeans and webstart. When I launch my application I get an error -PersistenceUnitLoadingException

When I launch my application using webstart(from webserver), I get the following error Exception [TOPLINK-30005] (Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))): oracle.toplink.essentials.exceptions.PersistenceUnitLoadingException Exception Description: An exception was thrown while searching for persistence archives w...

[GUI newbie] KeyPressed event

I'm trying to learn something about GUI, using NetBeans6.8, starting with the GUI section in The java tutorial. There is a simple exercise for a Celsius-Fahrenheit converter. I want that to have two TextFields, one for Celsius and one for Fahrenheit temperature; if the user types in the celsius text field he got the result "printed" in ...

Add Property to javax.peristence Entity

I right click into the editor of the Entity class. then select Insert Code but do not see the Add Property box. I want to add a birthday property which must be annotated with the javax.persistence.Temporal annotation to mark the property as date field to the underlying database table. I am unsure how to use the Netbeans 6.8 IDE to add ...

Netbeans "unable to resolve identifier using"

Hi, i've configured netbeans 6.9.1 with cygwin (i'm under windows 7) but i have had same problem with nebeans 6.8, i upgraded hoping in a resolution but nothing.., i've checked all c++ include paths, i have an issue that show tons of red lines.. like in this example, it seems to not recognize the command "using" or "bool" have someone ...

How to run the Java file in Netbeans to get the xml file generated

Hi , i am new to using Jersey to call my Rest API's . i have written a BlogBean in NetBeans and i run the code which shows me Build successfull . But the result xml is not coming in the output.. What could i have to do for resolving this ?/ ...