David Baron | 22 Jul 21:16 2014
Picon

Migrating 32-bit C++ projects to 64-bit

Several C++ projects now fail to build in my new 64-bit install. They do build 
on clean folders outside of netbeans. How do I regenerate these projects so I 
can use netbeans=8?

These are cmake compiles.

Stefan Sperling | 22 Jul 16:23 2014

Who uses a Java Compiler?

We are massivly thinking about moving our Java project from JAR-file to machine code distribution. The
compilers of choice are the Excelsior compiler which costs a hell a lot of bucks. Or the GNU compiler,
either from Cygwin or MinGW. Unfortunatly I was unable to get the CygWin gcj to run. And the MinGW starts up
but I cannot generate even a simple "Hello world" application as several libs are missing and/or
duplicate symbols.

Our goal would be to publish our software for Windows as EXE file. Linux and Mac OS could still be a JAR file as
the installation base is not that big.

Has anyone of you (positive) experiences with either the Cygwin or the minGW compiler for Java?

Thanks!  :D 

Stefan Sperling
Software Developer / Network Admin
N.A.T. GmbH, Bonn, Germany

akiaWT | 22 Jul 14:35 2014
Picon

openCV in NetBeans

How to use the openCV library functions in a NetBeans Java project?

uzitech | 22 Jul 06:07 2014

todo comment markers

Is there some way to change the TODO markers in the Action Items?

Right now it looks like FIXME, TODO, PENDING and XXX show up.

Harmone | 22 Jul 05:25 2014
Picon

Build Failed. Exit value 2...


Mack06 wrote:
> Anyhow, you might ask in the C/C++ section, that is really where the difficult C/C++ stuff should be asked.

Thanks for the help anyway.

wilnicm | 21 Jul 22:04 2014
Picon

Issue with radio button functionality and jcollapsiblepanel.

Hi i have an issue where radio button and jcollapsible panel is not functioning like i code them.

Here is what i'm trying to do.
I have 6 radio buttons.  When my user selects/clicks on a radio button.
It should corresponds/show the check boxes that relates to that radio button and place them on my
jcollapsible pannel immediately - which is already expanded

This code is using the example for one of the buttons. I wanted to get 
one button working before i finished coding it.
Here is 2 different types of code that i've tried and haven't worked.
#1

Code:
    private void newWmsRadbtnActionPerformed(java.awt.event.ActionEvent evt) {                                             
        // TODO add your handling code here:
//              newWMS = (newWmsRadbtn.isSelected()) ? 1 : 0;
//                    HandlerClass hc = new HandlerClass();
//       newWmsRadbtn.addActionListener(new ActionListener(){
//    
//   public void actionPerformed(ActionEvent e) {
//   
//    for (int i = 5;
//                    i < 13; i++) {
//
//                selectedTestcollapsePane.add(checkBoxArray[i]);
//   }
//   }
//       });
}

(Continue reading)

robenrajan | 21 Jul 14:55 2014
Picon

How do I import an existing Maven project?

Try this option

File > New Project > Maven > Project with existing POM

Jeffrey H. Coffield | 21 Jul 16:36 2014

Simple swing binding fails

First I created DataModel and added one string field "name", did the 
refactor -> encapsulate fields and changed the value of PROP_NAME field 
from "PROP_NAME" to "name" (This doesn't work either way). I then 
created a JFrame form and added two text fields and a button (the button 
is simple to allow focus to move off both the text fields). I did a 
clean and build and dropped the DataModel on the JFrame so is shows up 
in "Other Components". I then used the bind -> text in Design mode on 
both text fields to bind them to the name method in the DataModel. I 
expected that typing into one text field would update the other. This 
does not work.

I am using NetBeans 8.0 with JDK 1.8 that I loaded as a bundle on Suse 
Linux.

Attached are the files.

I haven't done a Swing app for the last 2-3 years but I really thought 
this used to work under Netbeans 6 and 7.

Any clues? Hopefully I am just missing something simple.

TIA,
Jeff Coffield
www.digitalsynergyinc.com
Attachment (DataModel.java): text/x-java, 855 bytes
Attachment (TestFrame2.form): text/xml, 4269 bytes
Attachment (TestFrame2.java): text/x-java, 5846 bytes
CPL593H | 20 Jul 21:14 2014
Picon

Specify default editor view for file type

Some files open by default in views other than a plain source view, e.g. JPA persistence.xml files open in
the Design editor view instead of the Source editor view.

How can I specify the default editor view for a file type?  I assume that this isn't just based on extension,
because other xml files don't open in the Design editor view.

Thanks

Mack06 | 21 Jul 08:36 2014
Picon
Picon

Build Failed. Exit value 2...

Well it looks like it is failing to create a directory. I guess it is using msys mkdir to make a directory since
"-p" is not an option for Windows mkdir. 

Harmone wrote:
> 
> Code:
> "/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
> make.exe[1]: Entering directory `/c/Users/Shade/Documents/NetBeansProjects/Welcome_1'
> "/C/MinGW/msys/1.0/bin/make.exe"  -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/welcome_1.exe
> make.exe[2]: Entering directory `/c/Users/Shade/Documents/NetBeansProjects/Welcome_1'
> mkdir -p build/Debug/MinGW-Windows
>       0 [main] mkdir 3500 open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
> make.exe[2]: *** [build/Debug/MinGW-Windows/welcome.o] Error 5
> make.exe[2]: Leaving directory `/c/Users/Shade/Documents/NetBeansProjects/Welcome_1'
> make.exe[1]: *** [.build-conf] Error 2
> make.exe[1]: Leaving directory `/c/Users/Shade/Documents/NetBeansProjects/Welcome_1'
> make.exe": *** [.build-impl] Error 2
> 
> BUILD FAILED (exit value 2, total time: 2s)
> 
> 
> 
> Nope. Doesn't work.

Harmone | 20 Jul 09:41 2014
Picon

Build Failed. Exit value 2...

I'm quite new to Neatbeans, a friend of mine recommended it. So afters hours  of trying to get it work, I
finally got this message.

"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/c/Users/Shade/Documents/NetBeansProjects/CppApplication_1'
"/C/MinGW/msys/1.0/bin/make.exe"  -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory `/c/Users/Shade/Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/MinGW-Windows
      0 [main] mkdir 3708 open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
make.exe[2]: *** [build/Debug/MinGW-Windows/Okay.o] Error 5
make.exe[2]: Leaving directory `/c/Users/Shade/Documents/NetBeansProjects/CppApplication_1'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/c/Users/Shade/Documents/NetBeansProjects/CppApplication_1'
make.exe": *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 2s)

Can anybody help me? What am I doing wrong?


Gmane