netbeans

Re-populating a JList on an ActionListener event

Depending on what they choose in the JComboBox I want the JList to show different strings, not sure how to repopulate a JList though. When searching through the API, still found nothing. Any idea on how you might code this? Im using NetBeans by the way for reference. ...

JList data addition for IF statements

I know this is kind of a beginners question but my books aren't explaining it and the API isn't helping much when I don't understand it. Someone please help me to get this. I created a JList using NetBeans and everything is set to whatever NetBeans has as a default for JLists. My goal is to make a JList show a List of [x] if a user pic...

Netbeans php annotations for code completition

What are useful php annotations for Netbeans code completition? I'm already familiar with @return, @param and @throws, but are there any others? For example, can I set which keys will returned ArrayObject have? In this example, I'd like IDE to suggest me foo and bar after I type get()->. Is it even possible? If so, how? /** * @ ??? *...

Which tools to use for Grails Development

I've recently started using Grails and I have the following questions about the available tools for development on the framework: I tried using maven with the a project, but that wasn't working so I switched to the in-built ant/ivy system. It works fine and is easy to use, but I'm curious if down the road there may be problems - i.e. d...

How do I get annotations working for JSF2 in Netbeans?

I added and have been using the faces-config.xml in my Netbeans 6.9/JSF2.0 project due to annotations not working. Not sure what I'm doing wrong, but when I use annotations, my beans are completely inaccessible. Properties for the project show that it is indeed JSF 2.0 (and not 1.1). ...

How to use Ant with NetBeans C++ Qt applications

Hi all, I'm using NetBeans C++ to build a simple Qt application. Here is what I did: From 'File' I chose 'New project' In the 'New project' window I selected C/C++ category and C/C++ Qt application Then I clicked Next and on the second frame I renamed my project to 'Test' Clicked 'Finish' and the sample project was created successfull...

How to run some Ant tasks in PHP project in Netbeans 6.8

I wanted to run some Ant scripts from a build.xml in my PHP project. This post and link talk about a Ant plugin but i cannot find it in NB 6.8. Update & Closed The only way i found to get the Run Target contextual menu is to copy a build.xml from a Java project. ...

NetBeans jQuery plugin code completion

I'm using NetBeans for PHP. When I edit a .js file, it gives me JavaScript code completion. How can I get it to also give me jQuery code completion? NetBeans 6.9 code auto-complete is not working for jQuery plug-ins. The code auto-complete is working for jQuery but not for plug-ins such as the validate plugin. Is this a bug in NetBean...

Netbeans & Android emulator

Hi All, I set my android emulator to wait for the debugger for my application, so when it starts, the emulator waits writing in output log "waiting for debugger on port 8100". But, I can't find a way to attach the Netbeans debugger to this port nor to the emulator in general... Please help, Alban. ...

netbeans: how to markup variable in scroller in whole editor

Hi, I am trying to find out the great Eclipse feature of 'marking all occurrences of selected word in the right-scroller' in NetBeans 6.9. So I will be able to click the occurrence quickly. Same as there are marks for functions by default in NetBeans. I am not native english speaker, so maybe the right naming of this feature will be en...

Using netbeans, xdebug, symfony and phpunit together...

Hi all, I installed xdebug on my Apache and if I define a breakpoint in Netbeans, the execution breaks fine. But if I execute the tests with symfony phpunit:test-all, the execution will not break on the given break point. Any ideas? cowabunga! ...

error in netbeans crud application

package org.shop.ui; import demo.Customer; import java.util.List; import java.util.logging.Logger; import javax.persistence.EntityManager; import javax.persistence.Persistence; import javax.persistence.Query; import org.openide.util.NbBundle; import org.openide.windows.TopComponent; import org.openide.windows.WindowManager; import org.o...

How to make the java ServiceLoader work in a NetBeans 6.9 module application

Hi, I have troubles using the java ServiceLoader in a NetBeans module application. Here is what I'm trying to do (and it works in a normal java application in Eclipse): I have an interface.jar, which declares the interface. And I have implementations.jar, which has several implementations of this interface, all specified in the spi/MET...

creating factory class(integrating crud funtionality) in crud application in netbeans6.8

//Create a factory class that will create a new BeanNode for each customer in your database: import demo.Customer; import java.beans.IntrospectionException; import java.util.List; import org.openide.nodes.BeanNode; import org.openide.nodes.ChildFactory; import org.openide.nodes.Node; import org.openide.util.Exceptions; public class Cu...

How to use the Maven's Netbeans Module plugin to create an autoupdate site as an artifact ?

How to use the Maven's Netbeans Module plugin to create an autoupdate site as an artifact ? I can see the files of the auto-update site been generated in the target/ directory, but I have no idea how to turn it into an artifact. My final purpose is to have it embedded into a war for an easier installation (I will use the dependency plu...

step by step by process to create 4 layer project using maven in netbeans 6.8

Hi actually I am trying to create maven project in netbeans but when i am going to build it fails and give message as "Error building POM (may not be this project's POM)" so i need help on it.... Update: Below the requested informations: pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0"...

Is there a good Netbeans plugin for R?

I am looking for a good Netbeans plugin for R. Any suggestions? ...

Integration QtTest (unit-tests) into NetBeans (latest 6.9)

Latest NetBeans have new feature for C++ programming -- integrated unit-tests. But for now there is only CppUnit which are quite awkward and yet more weird one named "Simple Test" Is it possible that somebody already know how to add such support for Qt's QtTest module? Or may be know ease way to add other unit-test support to NetBeans...

Netbeans RCP Application and mixed code warning

I have an issue with a signed Netbeans RCP Application distributed via web start. When a user starts the application on a windows system (java 1.6.0_20) the second(!) time, the Mixed Code Warning appears. The NetBeans 6.9 build process doesnt add the "Trusted-Only" or "Trusted-Library" Attributes in the various jar files by default. ...

Add remote library in netbeans c++ application

I am writing a c++ application that uses mysql, and I am having a problem with including in my project. I am using netbeans with remote development and I am wondering how do I add the mysql folder (/usr/local/mysql/include/mysql/) into my include path over remote development. I notice that netbeans copies across all standard libraries...