netbeans

Netbeans 6.8 C++ IDE: program crashes while debugging in cygwin on windows

Whenever I try to debug my project in Netbeans 6.8 C++ IDE with cygwin on windows, it gives me the message window "Application crashed".(Netbeans IDE does not crash but only my program)There is no problem while running only, but while debugging, it crashes. Please help ...

For someone coming from Visual Studio/C# background and wants to learn Java - Which should I get: Netbeans or Eclipse?

I'm looking for the following: A nice debugger that allows me to easily view variable values if I use breakpoints. Works very nicely in Windows 7. Has something similar to the Toolbox pane in Visual Studio. Built in intellisense, and code completion with the TAB key. Long term support. I mean something that will last and stay in act...

Netbeans GUI Form corrupted?

I was making a java gui application through netbeans IDE. All was working fine but yesterday when I opened the form in Netbeans, it said that the form had been corrupted and it could only open that form in read-only mode. When I opened that form in read-only mode, I found that the code was incomplete as severals lines of coding wasn't t...

Is there a way for NetBeans to automatically create brackets in a seperate line? [details inside]

When I create a new class for instance, I get this: /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package helloworld; /** * * @author Sergio */ public class WordManipulations{ } I hate it when brackets are placed this way. Is there a way to make it create things like t...

Getting rid of inadvertent "actionPerformed: code in Java Netbeans.

I am just getting started with Java and NetBeans, and I will probably ask a fair number of questions here in the next week or two. So here's my problem. When I create event-handling code for a component on a form, it shows up with grayed-background lines and a "do not edit" warning. They don't need to post the warning, because the cod...

NetBeans should be named "Mexican Jumping Beans"

I have been trying to set up a Java form in NetBeans with 15 - 20 visual components (buttons, textfields, etc.) and I have been using the Free Design layout paradigm on the MAC. According to what I've read, the Free Design layout gives me various alignment guides, but does not try to force my alignments to specific row and column deli...

Enclojure NBM file turns out to be a folder

I'm trying to install Enclojure. I've downloaded the latest zip file from GitHub (http://github.com/EricThorsen/enclojure/downloads), but when I unzip it, I get a folder ending in .nbm, not a file. The install directions say to point NetBeans to a .nbm file, not a folder, and NetBeans won't let me select the folder, either. The folder co...

try, catch and if error in a combo box with java and netbeans

BEFORE ANYONE SAYS ANYTHING THIS IS NOT (I REPEAT NOT) HOMEWORK i have a combox and the combo box try { double input = Double.valueOf(input1.getText()); double output = 0; my combo box code here: if (output < 2.50){ answerField.setText("£2.50"); } else{ answerField.setText("£" + String.valueOf ...

Connecting to Oracle DB through NetBeans

Hi, I'm using NetBeans and I need to connect to Oracle Database. I set up the driver and the connection and it all works fine. I can run queries on this connection just fine (through the IDE). The problem is this- The tables I want to work with are not defined on the same schema that I use for the connection, although, my schema does ...

NetBeans is not debugging correctly after I copy sources

Dunno why this happens... Ok here is the situation: I have a nb project on my laptop. I have the same project on my desktop. I copy the sources (not the entire project) on the desktop, overwriting the desktop sources. Everything cleans and builds ok. Then I start the debugger. On the main class I can debug step by step. If it goes into a...

Netbeans: Navigate -> Go to declaration?

I'm finding that with Ruby or RoR code, Netbeans' "go to declaration" doesn't show as lit up. Is there some way to turn this on? Also: Eclipse with RadRails seems to have this for Ruby? RubyMine seems to as well... surely Netbeans can't be missing this normalish feature. ...

How to convert a JButton into JToggleButton in Java?

I have created hundreds of JButton using Netbeans in my Java Desktop App. Now I want to replace all of them with JToggleButtons. Can I do that by selecting all the buttons in the "Inspector" window of Netbeans and perform some task? Is there any short-cut method? It will take a lot of time to manually replace all of them. ...

When SSHing into system, is there a way to launch netbeans from command-line like I do VIM?

VIM seems integrated to the terminal. Can I open a remote file from the command-line with netbeans? Does it have shell integration? Any further explanation on this so I can better conceptually understand it would be very appreciated. ...

How to add add a TreeModelListener to the NetBeans Outline?

I'm using the NetBeans Outline model to create a TreeTable, the technique is described here: Everything looks nice and clean and I now want add a TreeModelListener to my model to listen for changes in the model: Outline outline = new Outline(); MyNode root = new MyNode("data", 0); //... TreeModel treeMdl = new MyTreeModel(root); Outli...

Netbeans: PhpDoc formatting

How to automatically format PhpDoc comments in Netbeans? I'd like to have comments aligned like this: * @author Author Name <[email protected]> * @package Doctrine * @subpackage Table * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @version $Revision: 67999 $ * @link www.phpdoctrin...

Hibernate doesn't work anymore... why?

Hello, I was doing simple things with hibernate, as I have to learn it for a project. I created this simple example: package hibtests; import hibtests.beans.newBean; import org.hibernate.Session; /** * * @author dario */ public class Main { public void test(){ Session session = NewHibernateUtil.getSessionFactory().ge...

Visual GUI Buider

Is there a visual GUI builder, such as GWTDesigner that one could use in developing with Grails? I am new to Grails and am presently working from the command line and using a text editor. I have briefly looked at using Eclipse and Netbeans as IDEs. Any help would be greatly appreciated. ...

How does C++ builder stack up against other RAD IDEs?

It has been a few years since I did any development for PCs (I usually do embedded software). At that time I was highly proficient with (Borland, now CodeGear) C++ Builder. Time has moved on, C++ Builder has become extremely expensive and there are alternatives (MSVC stufio, NetBeans, QtCreator, maybe even Eclipse with the right plugi...

Debugging with xdebug, netbeans and a mounted remote server

Hi, I've using Netbeans to develop on a windows machine, the files I'm editing are on a remote LAMP server. The document root is mounted on my windows machine as a drive letter (Y:). So, netbeans things I'm developing locally, whereas I'm actually developing remotely on a local mount. My problem starts when I want to use xdebug and net...

How to develop an asynchronous web service in Netbeans?

Hi, Netbeans has a very nice setup for creating and testing synchronous web services with Axis2. However, I'd like to develop an asynchronous web service in Axis2, again in Netbeans. Is there a link somewhere I can look at? Is my best bet to check the example code in the Axis2 distribution? Thanks! ...