netbeans

JDBC THIN Oracle with Java6

Hi all, I have a problem with JDBC Thin in Oracle 11g with NetBeans V6.7.1. I don't know how to configure it. I have already set classpath of ojdbc6.jar and orai18n.jar. But I still can't run this example in NetBeans: import java.sql.*; import oracle.jdbc.*; import oracle.jdbc.pool.OracleDataSource; class JDBCVersion { public stati...

IDEs Used for BlackBerry Developement

Hi Friends I have installed eclipse JDE plugin (ie BlackBerry_JDE_PluginFull_1.0.0.67.exe) , i can create a blackberry project only for BlackBerry JDE 4.5.0 . when i see in window ->preferences ->blackberry->installed components of eclipse ony BlackBerry JDE component package 4.5.0 is available, if i want to have multiple JDEs what sh...

Using the NetBeans GUI editor, how can I create a JTextField or JFormattedText field that must be validated against a regular expression?

I have a regular expression (\d{4}\w{3}(0[1-9]|[12][0-9]|3[01])([01][0-9]|2[0-3])([0-5][0-9]){2}) that I need to validate the input of a text field against when the user clicks the OK button or moves the cursor to another field. That I know how to do, writing the code. However, I'm interested in if it's possible to have the NetBeans GUI ...

java wait for dialog to be closed

Hi, i have a small program where an element is draged and dropped, when the drop is performed i open a dialog (extends Jframe) where some text should be entered. The Problem is, that i want to wait for this dialog to be closed (actually the ok button to be pressed so i can read out the data from the textfield), than analyse what the us...

How do I run JUnit from NetBeans?

I've been trying to understand how to start writing and running JUnit tests. When I'm reading this article: http://junit.sourceforge.net/doc/testinfected/testing.htm I get the the middle of the page and they write, "JUnit comes with a graphical interface to run tests. Type the name of your test class in the field at the top of the win...

JavaFx Source Code Auto Formatting

Question simple and quick: I have started to use Netbeans to write some code on JavaFx. I couldn't find working shortcut to make code beauty (auto formatting shortcut) Do you know where it is? PS: Alt + Shift + F doesn't works. ...

NetBeans as an editor for ColdFusion scripts?

Is there any known NetBeans plug-in for editing, formatting and colour-coding of ColdFusion scripts? ...

netbeans - scp after build

Hi I'd like to copy a file to a remote server with scp after building, using Netbeans. What I do now manually is: Clean and Build Main Project scp dist/project.jar login@dest/...../...... Is there some way to automate this task? I tried looking at the build.xml file, but it really looks like something I don't want to mess with. Th...

XSD, JaxWS, and Glassfish

I have a xsd with quite a few pattern restrictions in it and this xsd is used in our wsdl. When we deploy the ear to glassfish and bring up the wsdl and xsd in a browser all of our pattern restrictions are stripped out. Why? How can I eliminate the stripping of our restrictions. Here is a snippet: ...

Java: Netbeans debugging session works faster than normal run

Hello, I'm making Braid in Netbeans 6.7.1. Computer Spec: Windows 7 Running processes: 46 Running threads: +/- 650 NVidia GeForce 9200M GS Intel Core 2 Duo CPU P8400 @ 2.26Ghz Game-spec with normal run: Memory: between 80 MB and 110 MB CPU: between 9% and 20% CPU when time rewinding: 90% The same values for the debugging session...

How to handle two jar files in java?

I am using Netbeans IDE for a java project. In this project i need a jar file "htmlunit-2.6.jar". I have included this jar file in the project libraries folder. I have instantiated one of its class "WebClient" but this class needs other classes of "commons-httpclient-3.1.jar" file. Now I have also included "commons-httpclient-3.1.jar" ...

Is there a Netbeans plugin or issue tracker that provides connectivity to Fogbugz?

I would like to be able to create FogBugz cases directly straight from the editor in NetBeans. Specifically, I would like to be able to look at a JUnit run in the IDE, examine the failures and create cases directly using the information that is right in front of me (rather than cutting and pasting into a web browser, etc). I see that N...

Selecting a good Framework for web-development

Based the accepted answer to this question I've setup a NetBeans/tomcat environment. In testing this setup I'm trying to create a Java Web/Web application, but is stumped by the a choice of frameworks for this test-app. The choices are: Spring Web MVC 2.5 JavaServer Faces Struts 1.3.8 Hibernate 3.2.5 In my reading-up (googling & SO...

JavaRebel with a Multi-module Enterprise Project in Maven

Does anybody have experience working with JavaRebel, specifically for a large web application built using Maven? There is a JavaRebel plugin for Maven that seems under-documented, does anybody have comments on how it works, can you really update one class in a Multi-module Enterprise Project and have it "automagically" change on your Se...

netBeans gui problem

I have designed this gui in netBeans which has a canvas , a couple of JtextAreas and a Jbutton. It looks great in preview, the problem is when I run the actual program the text areas are shurnk until the program prints something in them, then they expand to their full size, the Jbutton is invisible until I mouse over it then it stays vis...

Calling web service requiring basic http authentication from a bpel process

I am looking to call a web service requiring basic authentication from a bpel process. I have configured my wsdl as close to what the "net" says as possible but it still doesn't work. It makes the call but without the all important line in the header of the request. Can anyone who has done this please help? Maybe an example or something...

What is the most elegant solution to managing various Java external libraries?

Perhaps the reason I stalled learning Java until now is because I HATE how Java handles external libraries. I'm stuck keeping them in one place, adding them individually, fixing problems with versioning and every time I move/rename them, and copying and writing the classpath over and over each time I release a Java application. There ha...

How can I make Netbeans 6.7 recognize JSF tags in facelets?

I would like to upgrade from Netbeans 6.5 to Netbeans 6.7. However, I've encountered an annoyance. Netbeans 6.5 recognizes jsf tags, but Netbeans 6.7 does not. Here are the screenshots: Why isn't Netbeans 6.7.1 not recognizing and matching JSF tags? ...

How to show/reveal hidden or invisible characters in NetBeans?

How can you show/reveal hidden characters in NetBeans? In other editors, if this feature is turned on, a space might be shown as a small centered dot, and a tab as a right arrow. (This feature is useful to see if a file uses tabs or spaces for indentation, among other things.) ...

Is there a NetBeans plugin for creating flow charts?

Are there any NetBeans plugins available for generating flow charts from Java code? ...