I'm getting a NumberFormatException on the Integer.parseInt() method. I know this exception is produced when something like "ab" is passed to the method, but I'm at a loss finding where this is happening.
How can I fix this?
I'm using Netbeans and trying to debug putting a watch on the caseStartLineSplitted[0] variable and then hitting...
I made a Webservice Operation whose return type is STRING []
Following is the code
@WebMethod(operationName = "authorize")
public String [] authorize(@WebParam(name = "Username")
String Username) {
CAuthorization CA = new CAuthorization();
String [] Result= null;
try {
Result = CA.CheckAuthorization(Username);
...
We want to add command-line support to Netbeans, as in being able to run any program (using the full path of the current file as the argument) directly from the IDE. The same way you can do it already on Notepad++ with the Run tool.
Apparently there is a plugin called VCS Generic Command-Line Support that offers this functionality, but ...
I'm looking for a way to filter files in an "Open" window. I'm using NetBeans IDE 6.5.
I did some research, and this is what i came up with, but for some reason it's not working.
//global variable
protected static FileFilter myfilter;
//in declaration of variables
fchoLoad.setFileFilter(myfilter);
//inside main
myfilter = .... (i actu...
I am trying Netbeans subversion features, I found when I try to commit to my googlecode subversion repository, I always get authentication failure.
I am 100% sure didn't input the wrong username or password, and I have tested this on another computer and everything works just fine.
What might cause this problem?
...
I am running some Junit tests and Netbeans behaves strangely giving the report in "Output" window:
Testcase: warning(junit.framework.TestSuite$1): FAILED
No tests found in uk.ac.cam.ch.wwmm.chemicaltagger.ChemistryPOSTaggerTest
junit.framework.AssertionFailedError: No tests found in uk.ac.cam.ch.wwmm.chemicaltagger.ChemistryPOSTa...
Hello,
When I launch NetBeans (version 6.7.1) I get an error:
http://78.46.92.11/errors/netbeans-launch-error.jpg
It is the first time when I see it. I haven't had problems like this one before. It's the first time when I open NB and see such error.
Also, when I try to open a project I get another error:
http://78.46.92.11/errors/ne...
In NetBeans, there is an object called a JFileChooser.
I wanted to ask how you can set up a filter in order to just show files that have a .wds extension.
.wds is an extension I use in my program.
...
I want to use my args array.
I mean this array:
public static void main(String[] args)
Where can I run something like java Test one two three?
...
I wanna do something like
java -enableassertions com.geeksanonymous.TestClass
How do I do this?
...
I developed a java application with netbeans. It used jdk 1.6.
It works fine.
But now the requirement is I need to build the jar for the application from the .java files in another machine without netbeans and where jdk 1.5 is used. I cannot upgrade that machine to jdk 1.6.
Is there any way I could make my java files compile and work ...
I would like to specify html for my applet and debug it in NetBeans.
The helpful is following:
My applet class is MainApplet.
I put MainClass.html in the same folder with MainApplet.java.
After this I run applet via right click on file in NetBeans and selecting Debug "MainApplet.java".
It looks like applet tag from MainApplet.html is us...
Hi.
i'm using Zend Framework classes and i don't get code completion for them because the library
directory of Zend Framework in not inside my project. is there a way to tell netbeans to recognize the zend framework directory in order for the code completion to work? thanks
...
I'm trying to use miglayout within the netbeans IDE. Ive placed the miglayout files in the right place and then imported using:
import net.miginfocom.swing.MigLayout;
at the top of my file but it states that "package net.miginfocom.swing does not exist"
Any ideas on how I can get miglayout working withing netbeans? Any way possible?
...
in one of my questions ,somebody said that I have to make sure that I'm not using compiler 1.6 and 1.5 runtime when i want to execute or debug my program,but I don't know how can i check compiler and runtime in NetBeans ,I am beginner with NetBeans.
my question was:
**I debug my project and the result was :
debug: Have no FileObject fo...
What are the steps needed to setup an in-memory DB, build the schema automatically with Hibernate's 'hbm2ddl' tool within a Junit (3) 'setUp()' using Netbeans 6.5.1 ? I'm not using Hibernate annotations - just a mapping file.
For the actual code, I want to use an on-disk database of course. [that is the Junits live a separate 'test' pac...
I have three packages in NetBeans 6.7 that i want to generate a UML Class diagram automatically for. I have created the new Model by reverse engineering my project, but when i highlight all three packages under the 'Model' heading and select 'Create diagram from selected elements' i just end up with 3 green boxes. I can create separate d...
How does Eclipse PDT compare to NetBeans for PHP development?
I just bought a new computer with Windows 7 and I'm starting to set up a development environment for PHP. Has anyone used both IDEs lately and could make a quick comparison? If you know what major frameworks are supported, that would be great too.
...
After upgrading to NetBeans 6.8 on my Mac, some standard headers generate a warning. The warning is "There are unresolved includes inside <string>". <string> is just an example and <iostream> and <map> have the same warning.
The project builds and runs fine; however, I would like to resolve these warnings. Has anybody else seen this ...
Loving the switch from Eclipse to NetBeans. Anyone know how to increase the number of lines scrolled using the mouse wheel in the editor window? Currently it only goes one at a time -- i'd like it to do at least three.
...