NetBeans Support Weblog (Comments)https://blogs.oracle.com/NetBeansSupport/
Tips , Tricks, Techniques and moreen-usCopyright 2015Sun, 18 Jan 2015 12:19:51 +0000Apache Roller BLOGS401ORA6 (20130904125427)https://blogs.oracle.com/NetBeansSupport/entry/downloading_patch_nbms#comment-1231779674000Re: Downloading patch nbmsinitialzeroMon, 12 Jan 2009 17:01:14 +0000It's working great now. Thanks!https://blogs.oracle.com/NetBeansSupport/entry/downloading_patch_nbms#comment-1231772844000Re: Downloading patch nbmsKarthikeyan RajeswaranMon, 12 Jan 2009 15:07:24 +0000I tried the link now (by clicking on the link in the previous comment) and it worked for me. Can you try again and see if it works?
If not, what is the error message you are getting?https://blogs.oracle.com/NetBeansSupport/entry/downloading_patch_nbms#comment-1231767582000Re: Downloading patch nbmsinitialzeroMon, 12 Jan 2009 13:39:42 +0000The sunsolve link is not working!
http://sunsolve.sun.com/search/document.do?assetkey=1-21-137824https://blogs.oracle.com/NetBeansSupport/entry/using_the_mysql_administrator_tool#comment-1230554267000Re: Using the MySQL Administrator Tool from within NetBeans IDE 6.1 BetaKarthikeyan RajeswaranMon, 29 Dec 2008 12:37:47 +0000The error &quot;740 equested operation requires elevation&quot; seems to be a Vista specific message, which relates to the
privileges of the current user.
You may want to check out:
http://blogs.msdn.com/aaron_margosis/archive/2007/07/01/scripting-elevation-on-vista.aspxhttps://blogs.oracle.com/NetBeansSupport/entry/using_the_mysql_administrator_tool#comment-1230444337000Re: Using the MySQL Administrator Tool from within NetBeans IDE 6.1 BetachanduSun, 28 Dec 2008 06:05:37 +0000Hi,
I have installed netbeans 6.5, mysql5.1 and mysql admin tools. when i tried to launch admin tools from IDE it's showing an error message as foillows. error process 740. the requested operation requires elevation. and it was due to java.io.IOException. Help needed plz.https://blogs.oracle.com/NetBeansSupport/entry/patch1_for_netbeans_ide_6#comment-1228992636000Re: Patch1 for NetBeans IDE 6.5 Now AvailableKarthikThu, 11 Dec 2008 10:50:36 +0000- The plan for patch2 should soon be available at:
http://wiki.netbeans.org/NetBeansPatchesInfo
- You may want to file a Request-For-Feature at:
http://www.netbeans.org/community/issues.html
- You can also add votes for any issues you want to see fixed. The list of currently filed bugs:
http://www.netbeans.org/community/issues.html
- Some URLs you may want to check (if you haven't checked them out already):
http://wiki.netbeans.org/JavaFX
https://openjfx.dev.java.net/
http://javafx.comhttps://blogs.oracle.com/NetBeansSupport/entry/patch1_for_netbeans_ide_6#comment-1228922901000Re: Patch1 for NetBeans IDE 6.5 Now AvailablepedroWed, 10 Dec 2008 15:28:21 +0000will there be any update for javafx plugin in the near future? i'm expecting to see GUI editor.https://blogs.oracle.com/NetBeansSupport/entry/adding_jar_to_classpath#comment-1228462161000Re: The "cannot find symbol" errorDavidFri, 5 Dec 2008 07:29:21 +0000Thanks, I have been getting cannot find symbol compile errors in my programs. I took the advice posted here and it works.https://blogs.oracle.com/NetBeansSupport/entry/populating_jtable_from_mysql_database#comment-1227736169000Re: Binding JTable with MySQL tableTamalWed, 26 Nov 2008 21:49:29 +0000Excellent explanation.
it helped me too much.https://blogs.oracle.com/NetBeansSupport/entry/useful_resources_for_visual_web#comment-1227310595000Re: Useful Resources For Visual Web JSF Development in NetbeansmaryamFri, 21 Nov 2008 23:36:35 +0000i can't use this method,however
Tank you.https://blogs.oracle.com/NetBeansSupport/entry/populating_table_from_database_using#comment-1227015827000Re: Populating Table from DataBase using JavaFXjamcTue, 18 Nov 2008 13:43:47 +0000Good Example, near the real word.https://blogs.oracle.com/NetBeansSupport/entry/java_web_start_for_standard#comment-1226854585000Re: Java Web Start for Java ApplicationsKarthikeyan RajeswaranSun, 16 Nov 2008 16:56:25 +0000Can you elaborate on your question?
Java itself can be downloaded from:
http://java.sun.com/javase/downloads/?intcmp=1281
(Click the 'download' button next to 'Java SE Development Kit (JDK) 6 Update 10' ). Java Web Start is part of Java SE (JDK).https://blogs.oracle.com/NetBeansSupport/entry/java_web_start_for_standard#comment-1226827190000Re: Java Web Start for Java ApplicationssomayehSun, 16 Nov 2008 09:19:50 +0000Ican't downloads program Java.
How can I download it?https://blogs.oracle.com/NetBeansSupport/entry/resetting_the_netbeans_userdir#comment-1225790988000Re: Resetting the Netbeans UserdirKarthikeyan RajeswaranTue, 4 Nov 2008 09:29:48 +0000Yes. It is possible to do so using the '--userdir' command line option:
http://wiki.netbeans.org/FaqMultipleIdeInstanceshttps://blogs.oracle.com/NetBeansSupport/entry/resetting_the_netbeans_userdir#comment-1225749450000Re: Resetting the Netbeans UserdirTamir NitzanMon, 3 Nov 2008 21:57:30 +0000Hi,
As I can see I can change the userdir in etc/netbeans.conf. I tried it and its works. But I like to know how can I work with some userdir at the same time.
Can I have several netbeans shortcuts on my desktop and each one will open new netbean for a different userdir?https://blogs.oracle.com/NetBeansSupport/entry/why_cannot_some_templates_be#comment-1225374319000Re: Why cannot some templates be opened in editor?Karthikeyan RajeswaranThu, 30 Oct 2008 13:45:19 +0000- Having multiple files in a single template, by itself, need not make it uneditable; provided the individual pieces can be edited independently. (In this case, the individual sub-templates can have a comment at the top providing info on the other related sub-templates...)
- It is of course possible that the interactions between the sub-templates makes it unadvisable or even impossible, for them to be edited. This would then fall under the case 2 in the above blog; i.e the design decisions have precluded providing an editor or a viewer. (But that may be the case even when the template has only a single file...)https://blogs.oracle.com/NetBeansSupport/entry/why_cannot_some_templates_be#comment-1225372835000Re: Why cannot some templates be opened in editor?GeertjanThu, 30 Oct 2008 13:20:35 +0000What if the template consists of multiple files? That's the main reason as far as I know for the Open in Editor button to be disabled.https://blogs.oracle.com/NetBeansSupport/entry/directories_in_sun_studio_12#comment-1224680677000Re: Directories in Sun Studio 12KarthikWed, 22 Oct 2008 13:04:37 +0000To add to the previous reply:
The [SS12_install_dir]//SUNWspro/bin/sunstudio scripts specifically looks for NB5.5.1 :
... Sun Studio requires a NetBeans IDE version 5.5.1
with NetBeans C/C++ Development Pack version 5.5.1
installed. Sun Studio looks for a valid NetBeans IDE
installation in the following order:
1) Location specified with --netbeanshome command
line option
2) At /opt/netbeans-5.5.1 location, if exists
3) At $SPROHOME/../netbeans-5.5.1 location, if exists
4) At $SPROHOME/../../netbeans-5.5.1 location, if
exists ...
# Validate NetBeans
function validate_netbeans
{
if [ -f &quot;$1/platform6/core/core.jar&quot; ]
then
NBHOME=$1
fi
}...
platform6 directory will exist only in 5.5.1 and not in 6.1. So, SS12 is only ceritifed and expected to run on NB5.5.1.https://blogs.oracle.com/NetBeansSupport/entry/directories_in_sun_studio_12#comment-1224671506000Re: Directories in Sun Studio 12Karthikeyan RajeswaranWed, 22 Oct 2008 10:31:46 +0000&gt; Can I use Netbeans 6.1 with Studio 12 on
&gt; Solaris10 (AMD64) ?
No. Each version of SS is built on top of a specific version of NB. (The SS modules may depend on APIs and other facilities that may not be guaranteed to be present in a future version of NetBeans). As such, the two are tightly coupled and NetBeans alone cannot be replaced.
For C/C++ of course, you should be able to use NetBeans 6.1 directly:
- You may want to check out 'Sun Studio vs. NetBeans C/C++' section in http://cnd.netbeans.org/
- Downloads are available at http://www.netbeans.org/downloads/index.html (either c/c++ bundle or all bundle).https://blogs.oracle.com/NetBeansSupport/entry/directories_in_sun_studio_12#comment-1224670340000Re: Directories in Sun Studio 12Michael ThomadakisWed, 22 Oct 2008 10:12:20 +0000Simple question:
Can I use Netbeans 6.1 with Studio 12 on Solaris10 (AMD64) ? If yes, where can I find documentation on switching from NB5.5.1 to NB6.1 ?
thanks
Michaelhttps://blogs.oracle.com/NetBeansSupport/entry/importing_code_templates#comment-1224441960000Re: Importing Code TemplatesKarthikSun, 19 Oct 2008 18:46:00 +0000I tried this method on solaris and successfully imported settings from 6.0.1 to 6.5 beta. (But in general though, being essentially a hack, the method may not always work; ideally the ide would itself support settings import in a more scaled way...)
In my case:
- I had started with clean userdir for both 601 and 65beta.
- Also, I went into 65beta and created a dummy codetemplate, just so the ide itself will itself create the userdir/config/Editors/text/x-java/CodeTemplates/org-netbeans-modules-editor-settings-CustomCodeTemplates.xml . I then copied over the xml-fragment from the 6.0.1's file to the bottom of 6.5beta's file.
Do you see any stacktraces in the ide log file that might help explain where the method failed?
Also:
The jar file &lt;nb-install-dir&gt;/java2/modules/org-netbeans-modules-java-editor.jar in 6.5beta holds a file called org/netbeans/modules/java/editor/resources/DefaultAbbrevs.xml, which has the factory-shipped definitions. So, another hack to import code templates would be to:
- unzip the jar
- edit the xml file
- zip the jar back.
(Do remember to make a backup copy; any direct modification of jar files, if not done carefully, is very likely to break the ide).https://blogs.oracle.com/NetBeansSupport/entry/importing_code_templates#comment-1224219295000Re: Importing Code TemplatesWakishFri, 17 Oct 2008 04:54:55 +0000This idea does not seem to work with netBeans6.5beta on linux..
- Wakish -
(wakish.com)https://blogs.oracle.com/NetBeansSupport/entry/populating_table_from_database_using#comment-1223298321000Re: Populating Table from DataBase using JavaFXKarthikeyan RajeswaranMon, 6 Oct 2008 13:05:21 +0000As per
http://javafx.netbeans.org/
...The JavaFX Script plugin for Netbeans IDE 6.1 supports the JavaFX Script language that is based on the OpenJFX compiler... (The previous versions were based on interpreter-based version of the language).
There are several samples available from the following sites:
http://wiki.netbeans.org/FaqFXProjectDiff
http://java.sun.com/javafx/reference/
http://java.sun.com/javafx/reference/samples/
http://jfx.wikia.com/wiki/Code_Examples
http://jfx.wikia.com/wiki/Database
Can you check them out and see if they help?
You may also want to raise your question on the javafx forums at:
http://forums.sun.com/category.jspa?categoryID=132https://blogs.oracle.com/NetBeansSupport/entry/using_the_mysql_administrator_tool#comment-1223297382000Re: Using the MySQL Administrator Tool from within NetBeans IDE 6.1 BetaKarthikeyan RajeswaranMon, 6 Oct 2008 12:49:42 +0000Can you check out
http://www.netbeans.org/kb/articles/mysql-client.html
http://www.netbeans.org/kb/60/java/gui-db
and see if they help?https://blogs.oracle.com/NetBeansSupport/entry/using_the_mysql_administrator_tool#comment-1223292838000Re: Using the MySQL Administrator Tool from within NetBeans IDE 6.1 BetaSarumathyMon, 6 Oct 2008 11:33:58 +0000Hi,
I need a help. How can I add some data from an interface which is created by using swing to a MySql table. Please explain or tell any helping URLs. I need very urgent. Thanks in advance.https://blogs.oracle.com/NetBeansSupport/entry/populating_table_from_database_using#comment-1222827886000Re: Populating Table from DataBase using JavaFXJason JonesWed, 1 Oct 2008 02:24:46 +0000I have not been able to get these examples to work with the preview release of JavaFX. Are there syntax changes required now to make these examples work?https://blogs.oracle.com/NetBeansSupport/entry/patch2_for_netbeans_ide_6#comment-1222233765000Re: Patch2 for NetBeans IDE 6.1 Now AvailablecercatoreWed, 24 Sep 2008 05:22:45 +0000Karthikeyan Rajeswaran, was correct.
Thank you for giving me the solution.
from http://wiki.netbeans.org/VwpFaqOnDemandBinding
&quot;Prior to NetBeans 6.1, whenever a component was placed on a page, a binding attribute was automatically created. For example, when a textfield component was placed on a page, a binding attribute called textfield1 by default, was created and associated with the component; the variable textfield1 can then be used to manipulate the component. However it was found that (1) many controls did not use it and (2) it caused bloat and slowed programs down. ...&quot;https://blogs.oracle.com/NetBeansSupport/entry/patch2_for_netbeans_ide_6#comment-1222178657000Re: Patch2 for NetBeans IDE 6.1 Now AvailableKarthikeyan RajeswaranTue, 23 Sep 2008 14:04:17 +0000Can you check out
http://wiki.netbeans.org/VwpFaqOnDemandBinding
and see if it helps?https://blogs.oracle.com/NetBeansSupport/entry/patch2_for_netbeans_ide_6#comment-1222136457000Re: Patch2 for NetBeans IDE 6.1 Now AvailableCercatoreTue, 23 Sep 2008 02:20:57 +0000Hi,
I'm using netbeans 6.1 in Ubuntu and it work well, but if I try using Visual JSF it don't work very well.
I'm trying the official base tutorial http://www.netbeans.org/kb/60/web/helloweb.html to test the JSF, but when I try to insert the action code it don't work.
when I insert the code:
public String helloButton_action() {
String name = (String)nameField.getText();
helloText.setText(&quot;Hello, &quot; + name + &quot;!&quot;);
return null;
the IDE respond that the nameField don't exist.
If I try the same in windows xp all work well...
why?
someone can help me to make netbeans well working also under ubuntu?
tankyouhttps://blogs.oracle.com/NetBeansSupport/entry/patch_for_netbeans_6_1#comment-1222019688000Re: Patch for NetBeans 6.1 Now AvailableKarthikeyan RajeswaranSun, 21 Sep 2008 17:54:48 +0000- Using 'Tools | Plugins' menuitem in the NetBeans IDE, you should be able to get the updates from the update center.
The on-line help has detailed instructions on doing so:
http://hg.netbeans.org/main/raw-file/6a85f2452288/usersguide/javahelp/org/netbeans/modules/usersguide/configure/modules/autoupdate.html
- The latest patch is also available as a zip-of-nbms at:
http://sunsolve.sun.com/search/document.do?assetkey=1-21-137824-03
(If you want just patch1, then you can obtain it from
http://sunsolve.sun.com/search/document.do?assetkey=1-21-137824-01).
Once you have downloaded the zips, follow the instructions in the 'Patch Installation Instructions' and 'Special Installation Instructions' sections in the readme URL provided above.