netbeans6.5

Ruby and Netbeans problem

Hi , I'm reading a file line by line in a simple program and when I print the the lines to the screen the last line can't be seen at the ouput window in Netbeans 6.5.1 IDE on Windows XP but when I run the program directly from the command line as "ruby main.rb" there is not a problem (i.e the last line can be seen).I'm using Ruby 1.8.6....

SVG error in my j2me NetBeans6.5 project.

I use svgForms, svgMenus and svgSplashScreen, but one annoying error always appears in the pre verification (last) step, which is the following: Error preverifying class org.w3c.dom.svg.SVGElement java/lang/NoClassDefFoundError: org/w3c/dom/Element It seems like it needs a library to be added, but I have hit the wall here. My sv...

Is it possible to clear the Netbeans output window from my application or temporarily disable all outputs?

Some background: I've created a Swing application which uses the Substance LaF (Thanks again, Kirill!) Unfortunately Swing creates a panel somewhere outside the EDT thus leading to an exception message from Substance every time I start my application. By itself this exception is great, I already saved me from creating nasty multithread...

JComboBox getSelectedItem() not changing

I'm binding a JComboBox to an observable List. I clear and add Objects form the observable list. This works fine and reflects the changes in the JComboBox correctly. The problem is I can't select the content of the list using the mouse although the newly added items are correctly displayed in the combobox when expanded. The getSelected...

Netbeans OutOfMemoryError when running j2me apps

I always get java.lang.OutOfMemoryError: Java heap space error when I try to run any J2ME program in Netbeans (with the big green play icon). How can it be fixed? (I can run J2ME programs after I build them in netbeans and double-click on the generated JAD file.) ...

Ruby on rails scaffolding in Netbeans 6.5

I am playing with the scaffold feature of rails in Netbeans 6.5. Right click->Generate gives me a menu that allows me to create the scaffold but asks for "attribute pairs". I have some tables with quite a few columns and would rather have the scaffolded pages include them all instead of specifying each one individually. Does anyone know...

A new version of Netbeans just came out. Is there anything I can do to avoid having to manually hunt down my plugins again?

6.7 is out, and although going to the web and finding some .nbm-s and copying over a few update center URL-s isn't the biggest chore...it's still a chore. Any tips for this? Is there maybe a hidden directory somewhere that I can just copy into the new 6.7 install? Edit: for people like me who use both, I've asked this question in Ecli...

java JFrames

hello every one? is there a way i could make a button display a form only once? that is i have two jframe(courses and main page);at one jframe (main page),i have a jbutton that when i click on it the other jframe opens(the code at the button's event: courses frame=new courses(); frame.setVisible(true); but the issue is that i want w...

netbeans php debugger

Hi, I am using Window VISTA, XAMPP server. The X-debug is working. It stop when I put the xdebug_break().. after which it doesn't stop on any break points. nor it will do stepinto or any of those.... what am i missing.. THnks Cool ...

2 problems with netbeans

when i do an insert or delete in a table, all go ok but i have to close and open again to see the result of the operation. The aplication don't refresh the table. the other problem: i can delete in a table if i look for one object, for example a login. But i can't delete if i look for two object, for example login and name. Thank you!!...

How to upgrade Subversion version for Windows Netbeans

I installed Netbeans then I tried to checkout my projects inside Netbeans. During the process Netbeans informed me something about an old client version of subversion, and now I want to upgrade it. But I don't know where the client is, nor how to update it. BTW I have TortoiseSVN on the same machine and it works fine with the same repos...

How do a run a bash script on save in NetBeans?

Dear Gurus, I am using NetBeans 6.5 and whenever I save a LessCSS file I would like to run less compiler to compile it to native css. How do I go about achieving this? Many Thanks. Ravi EDIT: I can do a build file as Kim recommended below. I am searching for a solution where I can run an external command. So the question now is How Do ...

How can I speed up Netbeans Task Marker resolution?

I'm trying to quickly navigate and fix problems in code in Netbeans, and it just takes too long. I'll fix a problem, and it will take seconds to re-compile. While this is happening, the marker remains, and all the others that depend on it will too (requiring multiple next-marker key strokes to get to a "new" problem). If I'm doing a f...

Organising Imports in NetBeans

Netbeans is able to organise imports in a similar fashion to eclipse, but: it seems unable to remove unused imports for classes that can't be resolved (and are no longer used) I can only organise one class at a time - eclipse allows import organisation on packages and projects etc. Is there some way that I can fix these problems? ...

Netbeans with Oracle connection java.lang.ClassNotFoundException

I use NetBeans 6.5 . When I try to run the following code : package com.afrikbrain.numeroteur16; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; import java.util.logging.Level; import java.util.logging.Logger; /** * * @author */ public class NumeroteurTest { public NumeroteurTest() { } ...

Netbeans 6.5 debug issue

I am debugging the following lines of code if (var.getvar2() != var3) { var4.add(var); } else { isNeeded= true; if (incomingPublishedDate.compare(modifiedDate) < 0) { importNeeded = true; } else { var4.add(var); } } Here var.getvar2() a...

Open Implementation (type hierarchy) functionality in NetBeans?

When I have Java code like this: someInterface.someMethod(); how do I get Netbeans to show me which classes have implementations of someMethod() (not the interface). In Eclipse this is done with Ctrl+T, but pressing Ctrl+T on the method did nothing in Netbeans 6.5 and I can't where the type hierarchy functionality is in Netbeans 6.5....

Is there any way to set items in htmlselectmanycheckbox?

Actually I am developing an application which uses a panelseries. Inside the panelseries I have some outputtexts and a HTMLSelectManyCheckBox. Is there any way to set the alyes in the backing bean? ...

Facing problem in Netbeans 6.5

Hi, I am using Netbeans 6.5 IDE. In the IDE, errors and warnings are highlighted as and when code is being written. I recently installed a plugin and since then, none of the errors are being highlighted in any code that I type in. Only after I build a project do I get to know about all the errors. The plugin I installed may have deactiv...

Netbeans not copying source files to web folder

I'm using Netbeans to develop an HTML/PHP site and I have the Run Configuration set as follows: Project URL: http://localhost/JEB Project Folder: C:\Documents and Settings\John\My Documents\NetBeansProjects\JEB Source Folder: C:\Documents and Settings\John\My Documents\NetBeansProjects\JEB Web Root: The "Copy files from Sources Folder...