netbeans

Netbeans re produce Makefile when change options in c/c++ developing

I create new c/c++ project in Netbeans and change Makefile and add -lpthread for work with pthread and run my project .also I need to add some runtime argument from project properties/Run/Arguments . when I change runtime Arguments Makefiles that place at /'project folder'/nbproject/private/Makefile-Debug.mk & Makefile-Release.mk are re ...

How to select column in editors(Notepad++ , kate , vim , Netbeans , Eclips ,other editor)

How to select column in editors(Notepad++, Kate, vim, Netbeans, Eclipse, ...) ? for delete or insert or replace some characters. ...

Warning "Variable does not seem to be used in its scope" in foreach

Hello, I wrote a simple foreach to filter one array and write it's results to another array. foreach ( $users as $user ) { ... $user_email_list[ ] = $user[ "intranet-id" ][ "value" ]; ... } Problem is that NetBeans is showing me a warning "Variable does not seem to be used in its scope" on $user. If I try to initialize $u...

Using Java Controls/Properties during runtime???

I cant seem to get this statement to work during run time. textWords.setText(item); textWords is an object, setText is a method and item is an integer. Anyone familiar with this? I cannot seem to get this to work during runtime. There is no error, during runtime it just doesn't do anything! public class frmMain extends javax.swing...

Netbeans 6.7.1 mainPanel resizing problem

I've created a small gui app in Netbeans. As I was adding in some buttons and text areas the mainPanel resized itself. Now it is really wide [probably 4x as wide as I want] but when I try to drag the edge in it won't resize back down. If I drag it out, making it bigger, it takes that change. I would just like to return the mainPanel back...

Cannot display image on Jpanel

I'm using the Netbeans GUI builder, but it's a little confusing now. How can I add an image to a panel? I think i'm doing it correct, but it's not showing up. I think it should be in the init() method, but netbeans does not allow me to change that part of the code. This is the code I added for the image: //these four lines I added to...

How to install jGroups for NetBeans 6.7.1

Newbie question - I am using NetBeans 6.7.1 (just installed it) and wanted to write an application using jGroups ... From the sample I need to import org.jgroups.*, but in NetBeans I get the following error: package org.jgroups does not exist So, went on the net and download jGroups (src and bin), been trying to figure out how to ge...

Netbeans: why need to rebuild project to update the 'dist' folder?

I'm using Netbeans 6.7 and notice that the jar file in the 'dist' folder will not get updated until I click on "clean and build" This is quite annoying; I expected Netbeans to just regenerate the JAR file everytime I save a file. Does anyone experience this issue? If so, how do you make sure the jar file is always up to date? ...

Enable pylint in Netbeans

How can I integrate pylint with netbeans? ...

OpenESB: (How) Can I deploy an externally-created BPEL process?

Hello, everyone! I have downloaded the OpenESB-Netbeans bundle. It can be used to create and deploy (run) BPEL processes. But what I need is to be able to deploy an externally-created BPEL process. My external process comes from Enterprise Architect and consists just of two files .bpel and .wsdl. EDIT: Enterprise Architect sadly only...

Differences in WYSIWYG capabilities for ICEfaces on Netbeans and Eclipse?

While evaluating ICEfaces I have used Eclipse and its Web Page Editor to visually create a webpage using ICEfaces components. I have heard that Netbeans 6.5 provided a similar capability, but Netbeans 6.7 does not support a visual drag and drop. I was wondering if there is a plugin for Netbeans to enable this? Also to those who have e...

Any tools or techniques to enrich NetBeans code generation (web services)?

Hello. I'm working on a project that involves the creation of numerous web services. Top-down/contract-first and model-driven design strategies are utilized (WSDL -> codegen). NetBeans (6.7) + JAX-WS + GlassFish comprise the chosen tooling stack. The web services will be EJBs deployed as Composite Applications in the Glassfish JBI cont...

Get netbeans to run my project with sudo?

I am working on a project in netbeans that requires the running project to have root privileges. I would like it so that each time I push "Run Project" (F6) my project is run as root, so with the equivalent of "gksudo javac Main", as it is has a GUI. One option is to start netbeans with root privileges, easily done by editing the short...

NetBeans IDE 6.7.1 Ant Script variables

How do I get the location of rt.jar in my Ant script with NetBeans without editing my project.properties? ${java.home} is returning the location of the jre folder and not the jdk folder. I know that I could easily add a value to project.properties but I don't want to. I also know that I could easily just modify the path whenever I switc...

How to Write Ant Scripts?

Hi Experts, Can anyone tell me how to write Ant script (if i want to create my own) mean is there any kind of tutorial available? Eclipse/Netbeans provide Ant script automatically but can it be possible to edit and customize them as per requirement? If yes then how to do this and how to customize the workspace which is provided by IDE...

Opening an existing Java project

Can someone help me to open an existing Java project using Eclipse or Netbeans? It's a specific project on SourceForge, SMPPClientServer. All I want to do is to just get this project to run. But, this seems like a challenge at the moment as I'm totally new to Java (I'm a C#.Net developer). ...

java filechooser

Hey guys I am working on a project, in java, where the user has to choose a file to be uploaded through a jfilechooser. Is there anyway to make the textfield readonly so that you can only choose files by clicking them, and not by writing in the textfield. I hope that i made my problem clear ;D ...

how to write javascript file in Netbeans IDE 6.7.1

i am new to Netbeans, i created the web project, now i want to write javascript for one html page, how should i write, ...

Input values to a normal JAVA SE program

Hello everyone, I'm new to JAVA and I'm currently trying out both Netbeans and Eclipse. I'm confused about inputting values to my JAVA application.I see the output getting displayed on the output window in Eclipse ...but,I don't know how to input values ...?? In a normal console application in .Net,we can input values through the conso...

HttpClient and SSL

I know, there are many different questions and so many answers about this problem... But I can't understand... I have: ubuntu-9.10-desktop-amd64 + NetBeans6.7.1 installed "as is" from off. rep. I need connecting to some site over the HTTPS. For this I use Apache's HttpClient. From tutorial I read: "Once you have JSSE correctly installed,...