netbeans6.7

Anyone have a simple template for creating a new syntax highlighter for a Netbeans Editor?

I'd like to throw together a basic Netbeans editor with syntax highlighting for a non-standard database language. Initial target: highlight a set of reserved words and standard C multi-line comments. Anyone savvy with this and could point me to a link, or a template? One last thing: I've pulled down the Netbeans source tree before and...

How to install J2ME compatible platform/emulator in NetBeans IDE 6.7.1

Hi, I'm pretty new to J2ME development scene. And for that matter, have just recently installed, JDK 6 update 16 bundled with NetBeans 6.7.1 IDE and Sun WTK 2.5.2, on Ubuntu 9.04 machine.After going through some start up tutorials and basics, from various sites, I was eager to try some hands on experience by coding some 'Hello World' ...

Problem selecting the value from a JComboBox binded to a list

I have a JComboBox binded to an observable list (result of a jpa query) in a java desktop application. It gets all the values from that list and displays them correctly, but I'm not able to select any particular value from the dropdown: that is, when I click on the widget the list of options gets displayed correctly, when I click on an i...

"Missing Body Element" with the Visual Web Pack on Netbeans

I am currently having an issue with the JSF pages that the Visual Web Package for Netbeans 6.7 generates. When I generate a new page it produces a page with the following JSP code: <?xml version="1.0" encoding="US-ASCII"?> <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:js...

How to make Netbeans use single quotes in HTML tag attribute autocomplete?

When I type attribute in tag Netbeans automatically add two quotes: <form method="|"> I want to make it use single quotes: <form method='|'> ...

How to initialize google-code project in Mercurial

I have started a Mercurial based project on google code. I have worked in subversion for sometime, but I am confused with what to do what in Hg. I would like help on the following: How do I initialize project (first on my local machine) (then from my local copy to google's server) How do I get my copy of a build from the server How do...

Adding test files to a Junit test in Netbeans 6.7.1 - getResource issues, missing file in build directory

I'm adding a Junit test to one of my classes using NetBeans 6.7.1, I need to be able to load a an xml file specific to testing, so I've included it in the "Test Packages" folder (along with my actual test). I'm running into 2 issues, (1) getResource is looking in the wrong directory (2) my xml test file doesn't get copied when I run t...

How do I work with the Card Layout in the NetBeans GUI builder?

Does anyone know how to work with the Card Layout in the NetBeans GUI builder tool? I want to show panels as per the JRadioButton selection, so I want to lay this out using the Card Layout. ...

uninitialized constant

Hi. I'm trying to do this tutorial-> http://netbeans.org/kb/docs/ruby/rapid-ruby-weblog.html BUT its giving me this error: NameError in PostsController#index uninitialized constant PostsController::Posts I don't know whats wrong ...

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 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, ...

How do I turn a group of .java files into a working project

I am a crazy Java beginner, FYI. I want to compile a program (actually to answer an SO question) that uses the org.json package in these files: http://json.org/java/ I created a basic Java application in NetBeans, but how do I get these to be class files that my main class recognizes, and that they recognize each other. Do I need to j...

Ruby on rails relationships

I am extremely new to ruby and programming in general. In the copy, paste, and pray stage as I like to call it. I am trying to restrict access of editing posts and comments to the creator but when i create a post the user_id isn't populating in the database. thanks in advance for the help. routes map.resources :user_sessions map.res...

Web Service Return Type

Hi! what are the possible return types for a web service? I am using NetBeans 6.7.1 and working in Java. I want to make a web service that would return String[]... I made a class of Authorization and I want to add a function in an already made web service. the problem is that it doesnt let me make an operation of return type string. Any...

Problem in getting attributes from webservice to servlet when the return type of operation in webservice is STRING []...

I made a Webservice Operation whose return type is STRING [] Following is the code @WebMethod(operationName = "authorize") public String [] authorize(@WebParam(name = "Username") String Username) { CAuthorization CA = new CAuthorization(); String [] Result= null; try { Result = CA.CheckAuthorization(Username); ...

server side for mobile application in java me

Hi everybody, Im making mobile application in java me and I want to have server side from where Ill get some information for the application (not to have much information in xml file in the application). I dont have much experience with servers, so I would like to know how to deal with it. Probably I should make some web services. Im ...

netbeans utf8 encoding mess - tool to search for source files according to its encoding and to fix them

I have edited several files ISO-8859-15 encoded php source files with netbeans 6.7.1, but it converted them (without asking me!!!!) to utf-8,and I lost several german characters in that process... I'm looking for a tool to find all the utf8 encoded files inside a directory (It's hard for me to tell which file has been broken). I'd also...

How to create a dynamic report thorough jrxml ??

Hey! I am working on jrxml to create dynamic re0ports. I have parameterized the columns i.e. the jrxml for that report can be used to generate other reports as well. However, i have not managed to make the fields flexible. That is, if the user selects 4 columns it would work but if 1 or 2 or 3 columns are selected, it gives an error si...

The support for the development of java swing in Netbeans 6.7 and 6.8 isn't good ?

when design when run when design and run in netbeans 6.5 they are the same, but int 6.7 and 6.8, as you see, they are different! ...

Netbeans 6.7 freezes on launch after crash. Any hints?

My wonderful corporate Dell crashed when "hibernating", and now NetBeans freezes when launching. (It displays the full interface, and starts "Scanning Projects", but doesn't get past there and I can't click on anything.) I imagine there's some cache somewhere to clear out or something. Anyone know where? ...