netbeans

Netbeans GUI Builder with Java Swing; What's the easiest way to organize Widgets?

I'm developing a GUI application rapidly using a GUI buidler (Netbeans). I am frustrated with the Swing widgets... when I resize one the rest seem to "reorganize" themselves in the wrong places. What do you guys use to tame such chaos? I was thinking of tables.... but couldn't find any in the Netbeans Palette. Regards ...

Java Deprecated Class using a Deprecated Class -- Can I turn off the compiler warning?

I am working on deprecating a set of Java classes so they aren't used anymore. I don't want to turn off the compiler warnings for deprecated usage, but I'm finding that if one of my deprecated classes imports another deprecated class I get a warning on that, too. I don't want to modify the code I'm deprecating, but I also don't want the ...

"Run project" opens an "Index of /..." tab - NetBeans

Ok, I've searched high and low. Last chance. Specs: win7, netbeans php 6.9.1, php works fine (it's all fine; ide's the problem) Problem: when I run (F6) a file from netbeans, it opens Firefox with "Index of /..." tab. Your everyday FTP-style tab. It doesn't point to the actual php file. He's drowning at seashore. Instead of "http://loc...

Netbeans & Maven: different compilation behavior

Hi all. I am using Netbeans and Maven projects. In some case Netbeans show me compilation failures (red ballon) BUT Maven compile everything without any problem! What can be the reason of this difference. I already checked that both are using the same JDK version. ...

Netbeans building GUI; how do I disable Netbeans from disallowing me to edit text?

I find it annoying that Netbeans tries to disable editing the source code whenever I use the GUI builder utility. I have searched in Google but could not find an answer: How do I disable Netbeans from disallowing me to edit my source code? Is this a bug because whenever I right click the .java file, I am able to edit again. ...

How to fix NetBeans6.9 UI inconsistency ?

I bought a new PC, so I installed NB6.9 on it, but I want to use UI configs from my old PC, so I copied "???.netbeans\6.9\config" from old PC to the new one. The default key for F6 in NB is "Run Project", but in my old PC, I've set F6 to "Run File", while shift+F6 was assigned to "Run Project". Since I set them by hand on the old PC, th...

Netbeans Matisse GUI Builder ... separate GUI containers in more than one class?

Hi. By default, Netbeans will create all of your drag and drop components into a single class file. I am using a JPanel with 3 tabs. I would like to separate each tab as a separate class in Netbeans Matisse. Is there such a way of doing that, or am I stuck with a one class implementation under this GUI builder? ...

Sqlite undefined reference to `sqlite3_open' error in Netbeans C++ on Ubuntu, Integrating SQLite into Netbeans C++ Ubuntu

Hi! I am trying to use Sqlite in my Netbeans C++ and following the tutorial here http://www.dreamincode.net/forums/topic/122300-sqlite-in-c/ When i build it,its giving me undefined reference to `sqlite3_open' and the other sqlite3 functions. I included the sqlite3.h too. What am i missing here? When i added the linker to static libr...

Netbeans Java Debugger crashing with Out of Memory Errors

Recently, while working on a JSF web app, using Netbeans 6.8, I am constantly getting PermGen: Out Of Memory Errors. I have also noticed that this is not related to hot swapping the code, as some people suggested on the forums; I generally restart my local web server, Tomcat 6.0, whenever I redeploy the code. This used to happen to me on...

Testing Python console programs with Unicode strings in NetBeans 6.9

I try to run the following simple code in NetBeans 6.9 s = u"\u00B0 Celsius" print u"{0}".format(s) But I get the following error: UnicodeEncodeError: 'ascii' codec can't encode character u'\xb0' in position 0: ordinal not in range(128) ...

Remote debugging with netbeans and xdebug on windows CLI.

Hello, I hope someone can help, I'm having some difficulty using remote debugging with netbeans on the windows 7 (professional) CLI. I'll outline the process I have gone through thus far: 1) Set up php.ini: xdebug.remote_enable=On; xdebug.remote_host=localhost; xdebug.remote_port=9000; xdebug.remote_handler="dbgp"; xdebug.remote_mod...

Java package declaration: Netbeans says: 'Incorrect Package'

Hello List, I am new to Java, Netbeans, and the IB Java API. I downloaded the IB Java API software and I am using Netbeans to look at it. On one of the files, Netbeans is indicating a problem with the file. At the very top of the file, the author has placed a package declaration: package samples.rfq; Netbeans is using a red-dot to ...

re: Java package declaration: Netbeans says: ‘Incorrect Package’

orig post: Hello List, I am new to Java, Netbeans, and the IB Java API. I downloaded the IB Java API software and I am using Netbeans to look at it. On one of the files, Netbeans is indicating a problem with the file. At the very top of the file, the author has placed a package declaration: package samples.rfq; Netbeans is using a...

NetBeans-Xdebug works, but won't expose some PHP variables

UPDATE -- working on getting WAMP with phpDeveloper/Xdebug going. I still want NetBeans -- I just want to compare, see if I get some insights. I am using NetBeans 6.9 with LAMP and Xdebug to work on PHP code. The Variables display works well, but lately it works less well. For example below, $authorized should be visible in the Var...

java netbeans commadline argument passing

I am passing a command line argument using Netbeans but I get an ArrayIndexOutOfBoundsException. My code is: public class CmdLineArgumentPassing { public static void main(String args[]) { System.out.println("Count : " + args.length); System.out.println("i : "+args[0]); } } The output is...

How to get the SVN URL for a file in netbeans

In eclipse you can right click on a file to get its properties. These include the SVN URL of the file. I can't see how to get the SVN URL easily in netbeans. I'm using 6.8. ...

How to fix Google App Engine location value ?

I moved my projects from old PC to new PC, on the new PC I downloaded the latest Google App Engine 1.3.5 and the directory is "C:\appengine-java-sdk-1.3.5", yet when I build my projects, NetBeans kept saying : C:\Dir_PayPal_Monitor\build.xml:12: The following error occurred while executing this line: C:\Dir_PayPal_Monitor\nbproject\buil...

JCAPS little boxes of hell

Has anyone out there in SO land had to deal with this...when you go to build a new deployment profile in JCAPS, you have quite a few little boxes that you have to minimize before you can do the actual mapping (black boxes added to hide company specific info): We've tried autohotkey and are looking into Sikuli - does anyone know of a go...

Netbeans/Java: Changing binding when changing the underlying model object

I make a form, to display & edit user information, say "[b]userForm[/b]". The form contains an underlying user object model "[b]user[/b]", and binds, for example, [b]JTextField userName[/b] to the underlying field of the user model, [b]user.name[/b]. However, when a new user is selected, and I call "[b]userForm.setUser(user2);[/b]", I ...

Deciding among with Java technologies should use - beginner

Hello fellas. I am not new to software developing, but in the last years I was almost completely involved with web applications development, most likely to PHP with MySQL/PostgreSQL. Now I am changing focus. I would like to start programming for desktop applications, with Java. The decision about language was motivated by the following ...