Tuesday May 18, 2010

3-D Game Dev on the NetBeans Platform with jME3

Do you remember jMonkeyEngine, the cool 3-D game framework from JavaOne? Yesterday, the first alpha of the upcoming jMonkeyEngine 3 has been released!

[Read More]

Tuesday Mar 02, 2010

NetBeans Knows When You've Been Using Vim Again :-|

You know the problem: You're updating a PHP script, press a wrong button, and instead of something obvious like ESC:w! you accidentally type ESC:q!. HAPPENS ALL THE TIME. If you can't shake the habit of using vim, that is. \*sigh\* Bah. It's not like NetBeans sees me using other editors and starts moping about it, right? "Go ahead, use vim, see if I care..." As if. So I browse man vim to check my recovery options... Aah, here we go:

VIM(1)                                                    VIM(1)

       vim - Vi IMproved, a programmers text editor
       -n          No  swap  file will be used.  Recovery after 
                   a crash will be impossible.
       -nb         Become an editor server for NetBeans. 
                   See the docs for details.
       -r          List swap files, with information about 
                   using them for recovery.

Hold on a second. \*scrolls back\* NetBeans! You? Here? \*blush\* OK, OK, I'm going to reactivate the jvi plugin, and I'll use the File History now, really!! =-|

PS: Haha, why does the German localization of this line say "YOU become an editor server for NetBeans"? A Soviet Russia joke waiting to be made? :-D


Friday Aug 07, 2009

New: Custom Homepages for Kenai.com Projects, and more!

Our feature requests have been heard. :-) Did you notice the new options for Kenai-hosted projects?

As entry point, each project can now have a custom website with a nice "vanity" URL, or you can set it to show the wiki home page. You can also customize the message sent out to new members, and track statistics with your Google Analytics account.

Use the Team > Kenai > Login menu in NetBeans to create a new kenai.com account, or to access your existing projects. Click Details in the Kenai window to quickly open a project's home in the web browser (I stay logged on and keep the password in the browser keychain), then click Manage This Project. Have fun!

Tuesday Jul 28, 2009

Creating Java 3D Games with NetBeans

While taking a few days of vacation (before coming back in time for the release of NetBeans 6.7.1!) I finally got my jMonkeyEngine notes and files in order. If you don't know it yet: The jMonkeyEngine (jME) is a free and open-source 3D engine for creating 3D games and simulations in Java.

(I would have blogged about it earlier, but the project is moving servers in July... So if the links below should change again and break, search the web for "jmonkeyengine" and then search within the page...)

If you have never seen it before, these jME videos and demos show best what you can do with Java3D nowadays.

I had created a simple 3D world with jME 1.0 and started migrating useful elements to jME 2.0 -- which is well doable despite a few API changes, especially since NetBeans marks the broken lines, fixes the import statements, and I can get the new syntax from the code completion popup. Here are my notes that I shared on the jME wiki:

  • General jMonkeyEngine beginners FAQ -- Those are my questions and answers that I found. I just updated it for jME 2.0 and will be filling in more stuff as I go along.
  • jMonkeyEngine + NetBeans Tutorials -- I created this index page because I noticed that several authors had started writing jME+NetBeans tutorials for various versions! Thanks to the community for covering this so well.
  • Setting up NetBeans 6.7 for jME 2.0 -- This is my jME tutorial contribution. Maintaining the native libraries and JARs is easier now with NetBeans 6.5 (or higher). I also mention Maven briefly, and how to wrap up a whole project (JARs and native libraries!) into one distributable JAR file (using OneJar), and how to make this distributable java application startable in a user-friendly way.

There is probably more to be said about distributable JAR files, but OneJar solves my current questions. If you figured out how to get native libraries into a webstartable JNLP file, leave a comment. This blogger here has some more tips regarding JNLP signing and where to place the native libraries, so this is my next lead to investigate. But first I need to get my rusty 3D app going again--taking into account the new stuff I've been reading about programming patterns lately, suddenly my old class structure looks quite... sub-optimal. ;)

PS: updated links to stable jmonkeyengine.com URLs.

Tuesday Sep 30, 2008

NetBeans Innovator Grant Winners Announced

You may have already seen it on netbeans.org, the winners of the NetBeans Innovators Grant have been announced. 13 open source innovators completed their projects and won prizes between $2000 and $11000! In the latest NetBeans podcast, Jiri Kovalsky mentions how impressed he was by the overall professionalism of the submissions. Although it always happens that project owners have to step back for various reasons (the program started out with 20 candidates), it was obvious that the teams took their projects very seriously.

Here are the projects that I liked best, you can get the full project list on the grants page.

  • MONOH (named after the exclamation "[look] MOmmy, NO Hands!") lets you control Netbeans with spoken commands! :-D From experience I know that speech recognition thingies never really work for me (and I can't use it in an office environment anyway), but it's definitely the coolest idea.
  • The Darkstar plugin adds support for massively multi-player online game development with the Darkstar server in NetBeans, and also some kind of Java ME support, but I didn't understand what exactly (anybody know?).
  • The Sun SPOT plugin adds Sun SPOT project support to NetBeans (SPOTs are small Java-programmable devices with sensors).
  • Cube°n was inspired by Eclipse's Mylin plugin and integrates task and bug tracking into the NetBeans IDE. (Screenshot)
  • IvyBeans brings Apache Ivy project dependency management to your NetBeans projects. (Demo)

The sun.com news item contains more background info and two more quotes by winners.

I'm gonna try MONOH at home, and tell you more about it later this week. I'd have a nice idea what to do with two Sun SPOTs (think: Wii remote control), but before I shell out 600 Euros I need to think it through. Setting up my own Darkstar game server sounds tempting too. ;-) Well, if you have tried any of these new plugins and applications, please share your opinion with us! And if you want to join one of the projects and contribute to it, write the project owner.

Thursday May 22, 2008

You Wrote 150 Tutorials!

Since James is travelling, I will quickly mention an announcement from the Community Docs team.

Varun Nischal, the NetBeans community docs contribution coordinator, reports another milestone: In the less than 4 months since we reached the 100 mark on February 5th, another 50 docs were contributed by NetBeans developers!

Varun says:

All credit goes to you and your passion towards NetBeans making it possible for us to achieve such milestones.

There are still potential contributors either amongst you or in waiting, who have still not realised their potential and when they do, we would be unstoppable!

Keep up the good work!

Yes, this means you. :-) Do you have a useful tip lying around in your head, a solution you discovered and think, hey, maybe somebody else has the some question? It's very easy to contribute:

  • Go to wiki.netbeans.org (you can get a login here).
  • Click Community Docs in the top left, it contains all the info you need.
  • Scroll down to Community Docs In Progress and add a line for what you want to write. Surround the name of your document with angular braces, like this: [How to grow esparagus]
  • Save the page, and the title will turn into a link. Click the link to create a new empty page for your doc.
  • The wiki syntax is very easy, and even if you just write plain text, it will be okay. The content counts. :-)
Thanks to Varun Nischal, Amit K. Saha, and James Branam for coordinating, and thanks to you guys out there for sharing your experience!

Wednesday Mar 26, 2008

Donnerstag: Software Quality Environment für NetBeans


Sven Reimers spricht über SQE - ein Software Quality Environment für NetBeans

Sven leitet die Entwicklung des Open Source Projektes SQE, das Software Quality tools wie FindBugs, PMD, CheckStyle, Lint4j und Dependency Finder in die NetBeans IDE integriert und es geht das Gerücht, dass Sven eine sehr interessante Ankündigung im Gepäck hat :-).

Für die besten Fragen und Diskussionsbeiträge gibt es gibt wieder T-shirts. Sven ist auch ein absoluter Experte was Rich Client Platform-Entwicklung mit der NetBeans Platform angeht, also nutzt die Gelegenheit auch für Fragen zu diesem Thema. Hier gibt es ein Exemplar von Geertjan's Buch zu gewinnen.

Anschliessend Diskussion und NetBeans Stammtisch.


Donnerstag, 27.3.2008, 18:30Uhr


Genomatix Software GmbH
Bayerstr. 85a
80335 München

Tuesday Mar 04, 2008

Innovators Grant Deadline Extended to March 7

There is still time to submit a proposal for the open-source project of your dreams–and be awarded a grant (US$ 11,500 or 2,000) for implementing it!

Bruno Souza announced on the nbusers mailinglist that the submissions deadline was extended to this Friday (March 7, 2008) to allow more countries to participate. (Giving out a grant is restricted by very different laws in each country, and it was not easy to get permission to offer a grant in this form everywhere.)

Over a 100 developers submitted proposals for plugins, books, localization projects, and web and desktop applications. I really look forward to see them become reality, you guys and girls out there have great ideas, and the skills to do it!

Get your team into gear, read the Innovators Grant rules, and send your proposal this week!

Monday Mar 03, 2008

Deutsche Lokalisierung von NetBeans 6

Wie weit ist NetBeans IDE 6.0_de?

  • Fertig sind bereits Platform, Base IDE, Java SE, Ruby, UML! Vielen Dank an die Community-Mitglieder Jake Jackson und Michael Holzer!
  • Nicht wundern, wenn Ihr doch mal über ein englisches Wort stolpert: Es fehlen zur Zeit noch die Packs für Web Apps/Java EE/SOA, Mobility/Java ME, C/C++.
  • Status der deutschen Lokalisierung in Zahlen.

Wie kann ich eine lokalisierte 'Daily Build' bekommen?

Neu! Es gibt jetzt besondere Lokalisierungsplugins vom Update-Center. Um den heutigen Stand der Übersetzung (sozusagen eine Daily Build) zu sehen, installiert die lokalisierten Strings mit Hilfe des Update-Centers in Eure NetBeans IDE 6.0-Installation! So geht's:

  1. Im NB6.0-Menü, wählt Tools > Plugins, geht zum Reiter Settings, um eine neues Update-Center hinzuzufügen.
  2. Klickt Add. Fügt ein neues UpdateCenter hinzu und nennt es z.B. daily-L10n. Der Pfad ist
  3. Jetzt geht zurück zum Reiter Available Plugins. Wählt das Netbeans 6.0.1 de Localization Plugin und klickt Install.
  4. Started die IDE neu.
Jetzt solltet Ihr deutsche Menus und Dialoge sehen. :-)

Kann ich mitmachen?

Na klar! Wer selber im Lokalisierungs-Team mitmachen will, findet hier den Einstieg:

Habt Ihr Fragen zu NetBeans IDE oder Platform? Die deutschsprachige Community hilft Euch weiter: http://www.netbeans-forum.de

Friday Dec 14, 2007

Weihnachtsgeschenk fuer NetBeans-Fan gesucht?

Wie Ihr wisst, gibt es ja schon schon ziemlich viele NetBeans-Bücher auf Englisch und anderen Sprachen. Und wie steht es mit deutschsprachiger Literatur? Hier ein kleiner Überblick:

Wow, nette Sammlung! Hoffe ich habe keines vergessen. Also, falls Ihr Euch noch was zu Weihnachten wünschen wollt... :-)

Tuesday Oct 09, 2007

Subversive Elemente in München

In NB5 konnte man Subversion als Plugin installieren. Seit der NB6 Beta ist Subversion jetzt (neben CVS) im Versioning-Menü vorinstalliert. Wenn auch Euch Subversion in der IDE wichtig ist und Ihr mehr wissen wollt: Nächste Woche (16.-18. Oktober) ist die SubConf 2007 in München!

Natürlich sendet auch das NetBeans-Team seine subversiven Elemente, die Entwickler Arseniy Kuznetsov, Tomas Stupka, und Maros Sandor, die das Subversion-Plugins für NetBeans vorstellen. Probiert ihre Implementation mal aus (Suche nach alten Commits, wer hat wann welche Zeile warum geändert, Konfliktlösung und Rückgängigmachen von Änderungen...) dann könnt Ihr ihnen dort persönlich sagen, was Euch gefällt und was Ihr verbessern würdet.

Olaf David vom US-Landwirtschaftsministerium hat das ganze zum Beispiel schon mal ausprobiert und spricht auf der selben Konferenz über seine Teamwork-Erfahrungen mit Netbeans, Subversion, und CodeBeamer. Diese zwei Vorträge sind auf Englisch, aber es gibt auch deutschsprachige, guckt's Euch mal an.

Friday Oct 05, 2007

A Developer Collaboration Server of Your Own

You probably know that you can use the Developer Collaboration plugin (How to Install) to share NetBeans projects with your colleagues, chat about the code and make live changes. But what if your company's firewall blocks the port needed to connect to share.java.net? Or if your boss is less than thrilled of the idea to share code over this public Jabber server?

Petr Nejedly posted a solution to this question on wiki.netbeans.org. In case you didn't see it, you can set up your own Jabber server: Your shared projects and chatrooms are secure, because you log on to a private server and your conversations never leave your company's intranet.

I just tried Petr's instructions on a Mac: Install OpenFire (a free Jabber server), configure it (hint: point your browser to http://localhost:9090 for the admin tool), and create a conference and users who can chat and share projects. In MacOS, a "start/stop server" panel will appear in the System Preferences (and Windows will certainly have something equivalent).

Here you can also see that in each instance of the IDE, you can give yourself a display name different from your actual chat handle; in these examples they are nb6-tmp (admin) and localtest2 (rk) respectively. I ended the conversation after a few lines because it became to confusing. ;-)

PS: Don't let your chat client become jealous of your IDE. It's not iChat's fault that it cannot share projects and color Java and XML syntax like NetBeans can. Just for fun, this is what an iChat/NetBeans conversation looks like:

Wednesday Sep 26, 2007

Browser Cache Versus Democracy

On nbusers, a NetBeans governance board candidate pointed out the voting form for the election was impossible to find. If you don't see the form on this page

even after successfully logging on to nb.org, you are looking at the cached old version of the page! Either empty your browser cache, or reload the page by holding down all modifier keys that you can find, while pressing the Reload button. (Learn here how to bypass the cache in various browsers and systems.)

Another solution is to log on first (e.g. on the community home page), and then click the link to NetBeans governance board elections. This way the form will be included on the page right away. This worked fine for me, please leave a comment if it doesn't for you!

I'm not certain which combination of factors plays into this bug. If you don't like Firefox's caching behavior, try changing the preferences: Enter about:config in the addressbar and set the property browser.cache.check_doc_frequency = 1 (update every time). The default is "3" (update when out-of-date) which sounds somewhat redundant? Of course this is no cure-all, constantly comparing file versions may slow down your web access, so weigh the pros and cons.

PS: And while you are at it: Are you also suffering from that Firefox bug that you cannot drag URLs into the bookmark bar because the drop is always intercepted by a back-stabbing tooltip? Set browser.chrome.toolbar_tips=false as a workaround. Haha, have at you, evil tooltip!

Monday Sep 17, 2007

Thanks For Your Cool NetBeans Videos, Send More!

Did you see the latest entries on NetBeans.tv? Here are two new submissions I spotted today and that I liked:

Syed Zuhdi and his friends write software for the healthcare industries in Malaysia (feel free to write more about what you do in the comments) and sent us a great picture of their team.

Carl used NetBeans to solve a seemingly impossible mission: He wrote a traffic web service for his mobile so he can avoid traffic jams; don't miss the great Mission Impossible movie he shot! :-)

So what are you working on? Send us a screenshot or animation and tell us about your Java, C/C++ or Ruby apps. Now that I saw the Mission Impossible thingy, I'm really tempted to post something -- lets see how fast I can internet access at home. :)


NetBeans IDE, Java SE and ME, 3D Games, Linux, Mac, Cocoa, Prague, Linguistics.


« July 2016

No bookmarks in folder