netbeans-7

Uninstall a netbeans 7.0.1 plugin, netbeans doesn't start

我与影子孤独终老i 提交于 2019-12-07 00:00:57
问题 Netbeans 7.0.1 on Vista doesn't start after installing python plugin. How do I uninstall plugins manually? Is there a command line argument to start netbeans without plugins? If not, this should be easy to add to netbeans :-) 回答1: I had the same issue. Here is how I solved it in 8.0.2 (without losing all settings and modules). Go to ' C:\Users\yourAccount\AppData\Roaming\NetBeans\8.0.2\config\Modules ' and delete the faulty (last installed plugin). If you have several installed versions, have

How to change the LookAndFeel of the NetBeans Platform Framework Application

我怕爱的太早我们不能终老 提交于 2019-12-06 14:35:29
问题 I cannot figure out how to change the LookAndFeel of the application I built on the NetBeans platform framework, can anybody please help? I want to change its look using the TinyLAF java api http://www.muntjak.de/hans/java/tinylaf/index.html. I know how to change the LookAndFeel when developing a regular Swing application in the NetBeans IDE, but not when developing it on the NetBeans Platform framework. This is the code, for TinyLAF, that I use for regular Swing applications: Toolkit

Java set timezone at runtime

随声附和 提交于 2019-12-06 12:03:51
I am working on a desktop application. It would get input as a text file from user having contents like this : .................................. .................................. Mon Jul 9 14:41:07 MDT 2012 .................................. .................................. .................................. I am using this information and creating a timeseries chart using jfreechart library. Timezone could be anything available in the world. But when I use this file its default timezone is sytem's timezone(IST) so doesn't show MDT time. When I tried to capture timezone from date and then

How do I upgrade an existing NetBeans Java EE 6 Web project to Java EE 7?

可紊 提交于 2019-12-06 11:15:43
问题 The project uses JavaServer Faces and JPA. NetBeans 7.3.1 IDE does not allow to change the Java EE version. I already found this question: How do I upgrade an existing enterprise project from Java EE5 to Java EE 6 in Netbeans (6.9) tries to apply the changes as described. I have updated project.properties. endorsed.classpath=\ ${libs.javaee-endorsed-api-7.0.classpath} ... j2ee.platform=1.7-web ... javac.source=1.7 javac.target=1.7 回答1: I just had to do the same thing, I had an Java EE 6

How to use the SQL RANDOM() function in a Netbeans JavaDB

人盡茶涼 提交于 2019-12-06 11:00:23
I need to do a SQL call in a small local JavaDB in Netbeans 7.2 to pull a single random row from the database. SELECT * FROM JAVA2.FORTUNES ORDER BY RANDOM() So far, I've got it to work using the RANDOM() function, but I'm having trouble getting LIMIT 1 to work, it returns a syntax error. I know that every database has a different way to do this, and I can't figure out how it works specifically for this JavaDB in Netbeans (I got it to work in a separate Oracle DB with different syntax). Is there a Java DB specific, or ANSII standard way to return a single row using the above syntax? Java DB

Error configuring JBoss 7 with Netbeans7

送分小仙女□ 提交于 2019-12-06 07:19:47
I want to configure Jboss 7.1.1 final in Netbeans 7.0.1. But I am getting an error "Provide a JBoss application server 6,5,4 Location". How can I add the latest JBoss AS? Please help me. Thanks in advance. Unfortunately, NetBeans doesn't support JBoss AS 7 at least as of NetBeans 7.2. A patch adding support has existed for some time, but was unfortunately not merged for the 7.2 release. There seems to be relatively little interest in AS7 in the NetBeans community. I eventually gave up on NetBeans supporting AS 7 and moved to JBoss Developer Studio - basically a roll-up of Eclipse and JBoss

How to play mp4 video in JAVA (swing) jframe using vlcj?Is there any other way to play mp4 in JAVA?

扶醉桌前 提交于 2019-12-06 07:18:27
问题 I want to play video file in JAVA(java swing). I have used JMF(java media framework). But it support .mpg format only. I want to play .mp4 format video file. How to do this? I could play mpg video using this code mediaPlayer1.setMediaLocation("file:///C:/mpgvdo/Best_Song2.mpg"); mediaPlayer1.start(); I want to know how i could use vlcj to play mp4 files.I need complete steps.starting from vlcj installation. I have included vlcj jar file in netbeans library also added to palette but I did not

How to show / hide Palette window in Netbeans 7.4

穿精又带淫゛_ 提交于 2019-12-06 05:16:37
问题 I use windows 8 and Netbeans 7.4 . Even I create a web application I cannot find palette from the project. How can I make it visible ? 回答1: I found the answer, it's placed in: Window---> IDE Tools--> Palette This can be used to show/hide palette. 回答2: Please use 'Reset Windows' in 'Windows' Section to reset the entire page so that you will get all the items like properties, projects, files, services back in place. 回答3: Or use this keyboard shortcut Use Ctrl+shift +8 回答4: For Netbeans 8 use:

Can we do XSLT 2.0 with Netbeans 7?

穿精又带淫゛_ 提交于 2019-12-06 04:30:46
In its current form, Netbeans only supports XSLT 1.0 and does not support XSLT 2.0. How do we use XSLT 2.0 with Netbeans 7? How to make Saxon the JRE-installation-default XSLT Processor: (So not only for Netbeans, other Java applications might be impacted as well.) Get Saxon for Java (there are different editions, pick the one suitable for you) and copy saxonXYZ.jar to the jre/lib/ext dir. In the jre/lib dir create a jaxp.properties file with following content: javax.xml.transform.TransformerFactory = net.sf.saxon.TransformerFactoryImpl (Restart Netbeans.) Check success by doing an XSL

JAVA EE 7 First cup tutorial, can't install Glassfish 4 update center

霸气de小男生 提交于 2019-12-06 03:55:28
问题 Well I was trying to follow the first cup tutorial, but I'm stuck with a Glassfish error. I'm supposed to this: 1.2.4 Getting the Latest Updates to the Tutorial Check for any updates to this tutorial by using the Update Center included with the Java EE 7 SDK. 1.2.4.1 Update the Tutorial Through the Update Center Open the Update Center and check for any updates to the tutorial. In NetBeans IDE, select the Services tab and expand the Servers node. Right-click the GlassFish Server instance and