netbeans

Xdebug ignores breakpoints

Hey guys, i am currently trying to get xdebug to work on our development server. As client i am using netbeans and the connection so far works without problems. But when i try to set a breakpoint within netbeans it is just getting ignored. And yeah, i already googled for hours and also found some questions here that perfectly fit my d...

how to hide a text area in java swing form?

i used textarea1.setVisible(false); but still i can see the border of the text area at run time. i want the textarea to be completely invisible Can anyone help in this issue? ...

Change NetBeans 6.9.1 block comment format.

In NetBeans 6.9.1 editing a PHP file I start a block comment /*, hit return and the editor automatically adds the end block */. Where can I turn this feature off? Or customize it? I've checked Tool->Options and found nothing. I tried turning off all the Tool->Options->Editor->Hints but that didn't change block comment auto complete. Goo...

NetBeans refactor class: java.lang.NoClassDefFoundError

I just came across an error when using NetBeans, and I wanted to post my findings (possible this is old news). Perhaps this will save some people the headache of debugging a similar problem that I just encountered. I don't think I'm abusing anything here... stack overflow's SEO is pretty good :) I refactored a class in NetBeans (JavaFX ...

How do you handle NetBeans generated build files?

I'm working on a project that uses NetBeans to generate the ANT build files. I come from an environment where the build file is something checked into source control, but with it being generated by the local NetBeans application, that doesn't seem correct. I'd like to add some custom targets to the build file, which I see that NetBeans h...

Maven dependancy on another non-repository project?

I have 2 completely separate projects where one depends on the other. I've very recently mavenized the main project but can mavenise the dependency if absolutely necessary. Originally these were Netbeans projects, with the main project having several modules. What I liked is that I could declare the dependency as a dependent project. Th...

TODO comments in NetBeans 6.9 Python

How do I add a TODO comment in NetBeans 6.9 Python? I have taken a look under Tools > Options > Miscellaneous > Tasks However, when I add a comment to my source code: # TODO This won't appear in the Tasks panel TODO actually turns a different color, but the comment doesn't show up in my Tasks panel. Is there a way to fix this? ...

Java - setVisible(true) has no effect on GUI

I created a GUI (called ParameterUI) with the Netbeans GUI Builder and now I want to create an instance of it and display it. However, using ParameterUI gui = new ParameterUI(); gui.setVisible(true); doesn't cause any window to appear... Testing shows that after those commands, gui.isVisible() returns true, but gui.isValid() is false...

I don't see hints in Netbeans 6.9.1

When something is wrong in code, light bulb appears and when i moved over it, a yellow box with some information appears. It also says, Alt-Enter shows hints. This is my problem, i can't see those hints. I had no problem with hints in version 6.7, but now i don't know what happened. Any help would be appreciated! ...

Netbeans on Ubuntu not saving panel locations

Whenever I fire up netbeans on ubuntu the locations of the panels from my last session is not saved, unlike the behavior on windows. I installed netbeans using OS independent package not through the package manager, and placed the extracted folder to /opt/netbeans Everything works ok, but for example the netbeans "Output" panel always ...

NetBeans - How to import a class from an external library

I have a Java project in Netbeans and I want to use some classes from Weka within my project. I added the file C:\Program Files\Weka-3-7\weka-src.jar into my Libraries following the instructions here (project, properties, libraries ..) So how do I now import the classes I want? I tried importing like this: import weka.core.converters...

JavaDB - Checking if a database exists

hello, We created a java application which uses the JavaDB database in Netbeans IDE. We want the program to check every time it starts if the database's tables have already been created, and otherwise create them. How do we do that? thanx ...

How do I upgrade an existing enterprise project from Java EE5 to Java EE 6 in Netbeans (6.9)

The project has an EJB module & a web module. Changing the server is easy, but I'd like to switch to EJB 3.1 also but I believe I need to change all kind of configuration files since I can't do it from the project properties window(s). Any tips or links do useful documentation will be greatly appreciated. Thank you! ...

How to install OpenEJB as a JEE "server" in NetBeans 6.9?

When trying to configure a new service under "servers" one has to chose a pre-defined server profile (Glassfish, JBoss, Sailfin, Sun or Tomcat). How can I create a new definition to use OpenEJB? Thanks ...

Change modifiers to final in netbeans

Is there any equivalent command in Netbeans for Eclipse's "Change modifiers to final where possible"? ...

Automatically change special constants on deplyoment?

I was wondering if it's possible to instruct Netbeans to modify php code before uploading sources to remote web site. In my case I use XAMPP to test locally on my pc the project I'm working on. However my remote webserver hosting the "release" version of my sources could have some peculiarities requiring altering the code on upload, lik...

Java - Accessing Static Method Sleep - What's wrong?

When I put the code below in NetBeans, NetBeans gives me a warning next to it saying "Accessing static method sleep". try { Thread.currentThread().sleep(2000); } catch(InterruptedException ie){ //continue } Am I doing something wrong? Should I be calling this differently? I'm n...

What's wrong with this JavaScript object literal assignment?

Perhaps I'm just being dense, but I don't understand why Netbeans is telling me this is bad syntax: var events = { 'onkeyup' : 0, 'onchange' : 0, 'onclick' : 0 }; Lines 2-4 are squiggled red. ...

How to get netbeans working git?

Hey Guys, I want to use a repository i hosted on github but it seems like netbeans uses a wrong fingerprint. So I get an Exception everytime I try to clone the repository. Its like : UnknownHostKey: github.com. RSA key fingerprint is xxxxxxxxxxxx etc. And it aborts. Any idea? Ive tried it with tortisegit and it works fine ... but I th...

Netbeans. "Entiry classes from database" and Postgresql domains

I am trying to create entity classes form database with Netbeans wizard "Entiry classes from database". But if the field type in database table is an a custom domain the type of field is set to "Serializable", but it should be String or Integer. Because domains are just wrappers around "normal" Postgresql datatypes. And if my table cont...