Falex | 20 May 2013 14:51
Picon

NB 7.3: Can't compile sample project.

Hi, people! Trying to compile sample project but can't. NB answers that file is not found. 
"/d/SOFT/Qt_Win/EXAMPLE/Welcome_1/"c:/MinGW/msys/1.0/bin/make.exe"" -f
nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
/bin/sh: /d/SOFT/Qt_Win/EXAMPLE/Welcome_1/c:/MinGW/msys/1.0/bin/make.exe: No such file or directory
make.exe": *** [.build-impl] Error 127

What  to do?

jikes.thunderbolt | 20 May 2013 14:48
Favicon

Prompts for svn credentials every time

Seems that when I deleted the svn repo history from NetBeans, that caused the problem to increase.  You'll
need to re-checkout the repo to fix it.  Just checkout into the same original project directory.

I don't know what caused the original issue that lead me to delete all the repo history, but at least there is a
solution to this annoying nag.

j1MP | 20 May 2013 18:42
Picon
Favicon

Combobox validation (if empty).

Hello. I wonder how to validate if a combobox is empty (or null).
I got 3 "items" for hairclor. Red, brown and blonde.

If none of those are selected i would like to display a message that says, "warning, you have to chose a hair color".

How do I do that?

Thnx very much

mpemburn | 20 May 2013 14:17

Is it possible to preserve the state of the Project tree when switching between Project Groups?

Hi,

I'm relatively new to NetBeans and I just learned about using Project Groups.  This goes a long way toward
allowing me to abandon my old editor (which allows multiple projects to be open simultaneously).  The only
thing about switching between groups is that the state of the project tree is not preserved, making it
necessary to re-expand the directories that I'm currently working with in the project.  Is there any way to
"manually" save the tree before switching—or any possibility that this will be done automatically
in future versions of NetBeans?

Thanks in advance,

Mark

stewy | 20 May 2013 14:59
Picon

Web Service Client - wsimport generation & wsdl location

I have a server side REST webservice (maven project)  this web service calls several SOAP/WSDL web
services.  I'm trying to generate the client side code for the calls to these WSDL services.  This all works
fine when I create the Web Service Reference by pointing at a URL for the deployed WSDL services, however,
what I want to do is point at wsdls that are part of the maven project I am working in so that everything needed
for building & running the service is contained in the project.  I am switching the endpoint after creating
the instance of the service to the actual endpoint.

The client generated by wsimport contains a reference to the wsdl that was sdetup at the time I created the
Web Service Client, as the wsdlLocation, I simply want this to be something like
"/META-INF/webservice.wsdl" as a wsdl file in my project instead of "http://<host>:<port>/services/webservice.wsdl?wsdl"

I cannot figure out how to do this, using Java 1.7, NetBeans IDE 7.2.1 (Build 201210100934)  When I choose New
--> Web Service Client -->
I have four choices to specify the wsdl:
1. Project (a wsdl in a different Netbeans project)
     The wsdl I want is in my current project
2. Local File
     If I use this option then the wsdlLocation becomes a hard coded path to
     the wsdl on my machine
3. WSDL URL
     This option gives me "http://<host>:<port>/services/webservice.wsdl?
     wsdl" as wsdlLocation
4. IDE Registered - Seems to be external services published by others

How do I specify in the IDE to use a wsdl that is part of this project?

Thanks

Attachments: 
http://forums.netbeans.org//files/netbeans_webserviceclientdialog_102.jpg
(Continue reading)

Thomas Wolf | 20 May 2013 14:38
Picon

NB resizing issue since move to Java 7 on Mac OS X


I recently moved my IDE from using Apple's Java 6 to Oracle's Java 7.  Since doing so, I've noticed that the IDE
no longer seems able to maximize to the full screen size after being disconnected/reconnected to a
different-resolution monitor.  For instance, yesterday I was working in NB on my laptop's screen - which
has a resolution of 1680x1080.  This morning, I connected my work monitor - which is 1920x1200 - and NB
refuses to maximize (or manually size) to anything bigger than what appears to be 1680x1080.  I have to
restart the IDE in order to make use of the new size.

Is  this a known issue with Oracle's JDK 7?

Thanks for any info.

p.s. I'm running Mac OS X 10.8.3 and Java 7u21.

Owen Thomas | 20 May 2013 14:20
Picon

Cannot open (missing source?)

When I try to go to the source on a method, I get the message that appears in the title. The editor says that the method exists (there is no wavy underline) but I cannot go to it.
 
Why? How do you make it go away?

--
Employment-from-home. Make mine part-time. Yes you can.
Software developers certainly can be salaried and superannuated part-time from home. Make it so for this one.
Clique Space(TM): A seat for the soul.
www.owenpaulthomas.blogspot.com
Roy Sh | 19 May 2013 15:12
Picon

ShortCuts in NetBeans

Hi,

1. Where can i find the list of all the shortcuts that occupied by my netbeans program, in order to set a new
shortcut to a action?

2. In our system, we add palette, but we don't implement it. This palette has some shortcuts, that other
TopComponent-s can't override those shortcuts (or i can't). Is there an option to override those shortcuts?

Thank You and have a good day!

Shakthi M | 19 May 2013 15:01
Picon

Reg. Preview option in Html, Jsp and Servlet

Hi Netbeans..

I am very beginner in netbeans...

I have used netbeans 7.3.. In this version.. there's no preview option..

there is any plugin for preview option in JSP, HTML and Servlet?

Please help me...

I hope there's solution from you..

advance thank you...

--

--

With regards,
                      Sathiamoorthy. M

BWestOz | 18 May 2013 05:02
Picon

Newbie - Changing JLabel icon

Hi,

I am using netbeans/java to create a gui app with a window containing a single JLabel.

I want to change the JLabel icon after a period of time.

I can use Thread.sleep(5000) in main to create a delay.

How can I change the JLabel icon programmatically?

All attempts to call JLabel methods from within main result in error:

"Non-static variable cannot be referrenced from static context"

How can I programatically change the icon of a JLabel?

Any help appreciated.

sturdyworks | 18 May 2013 01:22
Picon
Favicon
Gravatar

Help extending/building DataApp/DataFx/FXML DataApp (also Atom Publishing Protocol)

I'd like to start adding more jar files to the (great) new JavaFx/FXML examples. Understanding the more
complex DataApp build system/architecture is difficult.

DataApp setup not familiar...The DataAppReadme.html says:
1.Install the MySQL drivers into GlassFish. Manually copy the mysql-connector-java-5.1.13-bin.jar
file from the netbeans-install-dir\ide\modules\ext\ to the glassfish-install-dir/glassfish/lib
directory, where netbeans-install-dir and glassfish-install-dir are the directories into which the
products were installed. For example, on Windows the install directory for products is typically in the
C:\Program Files\ or C:\Program Files (x86)\ directories.

My computer has only the latest Java 7-21 platform, latest Scene Builder Beta (C:\Program Files
(x86)\Oracle), latest NetBeans (C:\Program Files/NetBeans 7.3)

Could not find local GlassFish? And which version ('Server 3.1.2.2' or 'Web Profile 3.1.2') to install
from http://www.oracle.com/technetwork/middleware/glassfish/overview/index.html

No local MySQL jar, and think it would Connector/J type but is that appropriate for DataFx? Would want to use
MySQL in many local projects, but via latest DataFx or similar.

Should I download a MySQL jar into C:\Program Files\NetBean 7.3\java\modules or must build-up into
modules/ext/[mysql]? Do I just move a jar?

Also, In DataApp Project Properties Dialog under Categories: Libraries see 'Missing library: restlib'
and source in ...dataapp.client.rest is showing red dots for import com.sun.jersey.api.*

Should I build Jersey for DataApp and/or DataFx or download jar or move jar? Maybe DataApp a Maven project?
(not simpler JXML project?)

I do not know how to build/add appropriate jar because I am so new to Java. NetBeans/JavaFx/JXML has been
fast so far but need to get over this hump. Which approach do I use: 'Add Project...', 'Add Library...',
'Add JAR/Folder' after right click on DataApp project?

As I move forward on my JavaFx prototype would like to keep using the latest DataFx technology for RDBMS,
RESTful API (as in DataApp) and Atom Publishing Protocol as well (for Google Contacts v3)

Is adding Apache Abdent appropriate for DataApp/DataFx type project? Would I add Abdent just like Jersey,
or a bit different. Would like some help understanding best practices for NetBeans. Maybe a Maven
project? Not JXML project?

Thanks is advance. I need some good advice.


Gmane