After almost ten years I decided to take another opportunity. Today is my last day in SUN Microsystems. It was great ride. I really enjoyed it all the years.
I would like to thank to all my collegues, to all the wonderfull people that I met and was honoured to work with during the last ten years. IMO, I did the best choice in September 2000 when I decided to join the gang. Everything what you've heard about SUN is true. We did kick the butt(s) (to those who deserved it).
The people used to be enthusiastic and pationate about their work (and they still are). The company culture... oh man, it's kind of unsharable experience. You could meet legendary people in corridors. And even better you could work or drink with them too. All your ideas could be changed into an innovation. That was the company that I liked and reasons why I joined. Everything changed, of course, however I changed too
It's time to move.
I hope that I'll meet some of the readers of my blog at me conferences or during my or your travels around the world. I hope that me and my former colleagues will meet once a while to have a beer and to share the news. I'll miss you.
So long and thank you for all the bugs. - Lukas.
Another Beta, another release. Why should you care? I don't know. I can tell you why I do care. In this release(ok, it's only Beta now) is finally a visual designer (like GUI builder aka Matisse) for JavaFX. We call it JavaFX Composer. There were already a 2 preview releases but now the bits are part of regular NetBeans 6.9 Beta build. No more extra downloads :D And the JavaFX support in NetBeans works with (and only with) the new JavaFX 1.3.
Find more about the NetBeans 6.9 Beta and JavaFX Composer:
There are some things that I really like on open sourced NetBeans. The project is quite open - in meaning it shares informations with public. We are approaching Beta release. All the Go / NoGo decisions from Quality Assurance department are public an online. As we are testig the final bits of NetBeans 6.9 BETA we provide our results into table at http://wiki.netbeans.org/NB69BetaGoNoGo. From the history you could find that there were a few re-spins of the Beta. Testing, fixes, re-built, and again...
Right now there is one NoGo for the Beta however the problem seems to be on kenai side therefore we aren't able to do anything with this bug. We should expect the Beta soon when all the infrastructure, upload etc. problems will be solved.
I almost forget to remind you that there will be JavaFX plugins available in this Beta and the latest JavaFX Composer will be part of the build as well. Look for the JavaFX or All distributions.
As there are more people that could blog about the JavaFX Composer for Netbeans IDE, we decided to create a new team blog. In the blog you should find information, notes and ideas about and around JavaFX Composer.
As I don't want to loose my visitors and subscribers that hold me in 100 most "Popular Blog" at blogs.sun.com, I'll continue to post some news about JavaFX Composer even in this blog too.
NetBeans 6.9 Milestone 1 is out. Do you want to know why there is NO JavaFX support? Read the New and Noteworthy.
Ok, I'll tell you. You'll find the same in the New and Noteworthy anyway. The JavaFX plugins in NetBeans 6.9 will support the next JavaFX SDK that haven't been published yet. And as there is no runtime(SDK) available yet it has no sense to publish the tools. Stay tuned for a "public" release.
Another milestone of the JavaFX Composer was released just a few hours ago. Get it from the NetBeans Update Center. It works with NetBeans 6.8 Patch1 (do not try it with development build or milestone1 of NB 6.9, please).
I'll summarize new features briefly because the wiki pages about the new features is very descriptive and updated.
New and noteworthy:
- Shapes - you can now add the shapes into your design. Most of the JavaFX 1.2.3 are available (what's missing?). Anyway, don't miss the CTRL+move feature.
- Animation on States - specify default "interpolar" and "duration" for all animations in a state. It's very easy - look at the tutorial

- Data Support improved - read AND write. XML, JSON, JDBC, GET or POST. You should try it. Look at demos...
- JavaFX Effects - with all effects available in JavaFX 1.2.3 SDK, no comment.
- Colors - now in palette. And in customizer.
- Templates - the "Exclusively Visible" template has new options. Find out which
- Charts - experimental for now. However they work. It's a bit complicated for first time however you'll get used to it - look at the tutorial. IMO, we have to create a demo for next Milestone.
- Samples - a few new ones and improved old ones. Check them online Google Image Search, Twitter Client, Magic Label II
- Java FX Composer Preview 2 New and Noteworthy page
- Let us know your comments - nbusers-AT-netbeans.org or users-AT-javafx.netbeans.org
Patch 1 for NetBeans 6.8 has been released on Friday 2/5/2010. Update your IDE to get the latest JavaFX SDK 1.2.3 and 36 fixes in JavaFX area.
disclaimer: all opinions/comments/ideas in this blog represent my view of the world. They may differ from a view or an opinion of my current/recent/future employer. All feature/product reviews/screencasts or presentations were taken from a parallel universe and are not connected with anything you know if not stated differently.
If there were a doubts that the Sun and Oracle are different companies with different approach and different kind of employees then you should see these videos. LOL.
- Videos: Overreacting to Oracle Acquisition of Sun
disclaimer: all opinions/comments/ideas in this blog represent my view of the world. They may differ from a view or an opinion of my current/recent/future employer. All feature/product reviews/screencasts or presentations were taken from a parallel universe and are not connected with anything you know if not stated differently.
I was contacted by Mitch Pronschinske from DZone early this year. The JavaFX Composer team sit down and answered his questions (so they are not just mine but Martin Ryzl, David Kaspar and Rasta Komara as well). You can read the answers at DZone.
Výborně! David Kašpar, který je hlavním mozkem za a vedoucím projektu JavaFX Composer, bude předvádět tuto skvělou novinku na setkání CZJUGu 25.1. 2010. Toto CZJUG setkání bude trošku netradiční, protože se budou představovat takzvané "lightning talks".
Mluvil jsem s Davidem o tom, co bude náplní jeho lightning talku a vůbec nechápu jak to vše hodlá nacpat do svých 7 minut, které mu jsou vyhrazeny. Hlavní důraz bude na demo, které ukáže největší přednosti JavaFX Composeru pro NetBeans. Na všeobecnou omáčku o FXComposeru a povídani o JavaFX mu naštěstí nezbude čas, protože to by mohl vyprávět hodiny.
Pár linků :
The next release of NetBeans will be called 6.9. There were some objections against this number (the same were a time ago against 6.6).
The main drivers for this release will be JavaFX and NetBeans Platform. There are some additional themes as JDK7, JavaEE 6, editor improvements etc...
The plan of the release is quite simple
| Milestone | Start | End | Weeks |
|---|---|---|---|
| M1 Dev | 1/04 | 2/01 | 4 |
| M1 Stabilization | 2/01 | 2/15 | 2 |
| M1 Release | 2/17 | ||
| M2 Dev | 2/15 | 3/15 | 4 |
| Feature Freeze | 3/15 | ||
| M2 Stabilization | 3/15 | 4/05 | 2 |
| M2 Release | 4/07 | ||
| Beta Stabilization | 4/05 | 4/26 | 3 |
| Beta Release | 4/28 | ||
| FCS Stabilization | 4/26 | 5/24 | 4 |
| Code Freeze | 5/24 | ||
| RC Cycle | 5/24 | 6/21 | 4 |
| FCS | 6/23 |
If you are interested in more details look at http://wiki.netbeans.org/NetBeans_69. You will find bug criteria, dashboards, supported platforms and more at the page.
It will be really tough to get the release out after the reduction of the NetBeans' team. And nobody knows what will happen when the Oracle will enter the door. Will it influence the schedule and themes?
I wish you restful wonderful time during Christmas vacations. If you don't celebrate this holiday enjoy next weeks anyway. I'll do as well.
See you in next year.
Screencast of some of the features of JavaFX plugins in NetBeans 6.8.
Aren't you surprised by these features? It wasn't easy to achieve it with current JavaFX SDK. Enjoy it!
I was really surprised what happened to the Sun's stocks when we released the JavaFX Composer of NetBeans. And it's "only" Preview release. WOW. I could not even imagine that it would influence the market so much. And the price for JAVA stocks is still rising...
The JavaFX Composer is a plug-in for NetBeans IDE 6.8. It provides:
- Visual editor for a form-like UI using components in JavaFX 1.2.1 SDK
- Dynamic design editing based on states
- Data access to Web Services, databases and local storages
- Support for JavaFX binding
- Simple animation editor
- Multi-screen-size editing
Please note that this is "only" preview release. Try it, play with it and let us know at users-AT-javafx.netbeans-DOT-org:
- what you liked
- what you would improve
- what you didn't like
- what bugs you found
- any other comments and improvements
In this screencast I'll create a simple application that will rotate and zoom in the NetBeans logo. You'll see following things:
- You can use the FXZ resources in the design
- Aligning components on design screen is easier with guide lines
- Adding animations to change a component property is easy with customizer
- What are the "states" good for
- etc.
Eat your own dog food...
To improve UI of the Production Suite's ViewerFX it was rewritten in JavaFX. The UI looks definitely better now. We hope that you'll like it.
Old
New
Thank you for all the suggestion about the name for the NetBeans GUI editor for JavaFX. The name isn't surprisingly new - "JavaFX Composer". You can look forward to GUI editor that allows you to even define states of your UI, to incredible data binding etc. Stay tuned.
The page with tutorials and screencasts is evolving every hour. There is more and more stuff... Check it by yourself - http://wiki.netbeans.org/JavaFXComposer.
Martin created first screencast. Enjoy it.
In the screencast you can see some of the features of the JavaFX Composer that should be available for download next week.
a picture is worth thousand words...
Try it, provide a feedback, wait for the Final Customer Ship (FCS) before Xmas. If you have a stopper for the release speak up or ...
As you probably noticed in this blog and probably even in the latest NetBeans podcast there is a new JavaFX GUI tool to be released soon. However we are still looking for a great name for it. There are already some ideas about the name however if you think that you have a bright great name that we should use (and you are ready to provide it to us for free
) then leave me a comment.
The correct name is always half of the success of the product. This tool is in different situation than a new product at the market however if we'd name it with the right name then it will be easy to remember for our users.
SUN has a long history of "bad" names. That's one of the places where our marketing failed. One of the worst idea that I'd seen was to include quarter of year in the name. I cannot remember any of those "bad" names anymore to provide an example.
- Some screenshots of the tool - 1, 2
- NetBeans podcast mentioning the "tool"
- JavaFX site
There is always a challenge what to do with the components that are scaled to a small size. As you can see from the screenshot you can still edit them when they are small (unless it has no point even with magnifying glass). Fortunatelly you can edit the components in other "state" when they are scaled to "normal" size. It creates nice effect when switching between the pages. And all the effects were set up in the UI (no code).

There is something in the green box on right bottom.
It synchronizes the selection even in Navigator (as shown by arrow).

Components in full size in different state.
Notice the small orange box. Those are the User and Tag textfields.
How it looks when the application runs?
I hope that you'll be able to try the preview of the new tool for Java FX very very soon. The only thing that I can show you for now is a screenshot. Click to it to enlarge it.
- Are you interested in more details? More screenshots? A screencast? A working demo?
- then leave me a comment
- What would you miss most in a designer tool for FX?
- then leave me a comment
-
Do you know what the "States" means? What all is in the palette? What are the small icons next to the properties?
- then stay tuned for preview release
I wanted to review some issues at netbeans.org web site. But I recieved following message :
Nothing unexpected obviously, the netbeans.org is being migrated. The migration started on Monday, November 2, at 5:00 PM CET/8:00 AM PST. Everything will be back on November 9.
What is going to happen during and after the migration?
- All services (except hg.netbeans.org) will switch to read-only mode or become completely unavailable till 11/9
- Bug tracking system, Mailing lists server, and the Wiki won't be available (or only in RO mode) during the migration
- Accounts
- You'll receive new password for the account in new infrastructure by email
- If you used more accounts with the same email address then only the latest used account will be migrated (more details)
- We will use same password for all services in netbeans.org after migration. It means, you will have just one password for web, mercurial and wiki
- Mailing list changes
- subscriptions will be migrated
- mapping of old to new mailing lists
- mailing list archives will be migrated too
- Bug tracking system
- will be changed to bugzilla
- there will be lot of changes in the RESOLUTIONS, STATUSES, KEYWORDS - see complete list
- filling new bug will be easier because the list of projects will be shorter
- table of all new components/subcomponents
- all issues in RESOLVED/LATER were closed as WONTFIX in last days. If you don't agree reopen them after the migration. However most of these issues are low priority bugs that were out of the radar of the development anyway. Test in latest NB6.8 Beta if they are still valid, please.
- More details in the FAQs mentioned in the previous post
- Login to https://www.netbeans.org/people/login with the password mentioned in the e-mail; then create your new password.
- If you use Mercurial to check out the NetBeans sources, you must also change the password in your local hg netbeans repositories
- Update your email client's filters for mailing lists because some mailing lists will have new names
The netbeans.org site is going to be migrated into kenai.com infrastructure during next week
Disclaimer: goal of this blog post isn't to show all the features that are available but to point out some of them which were improved or fixed...
The Java FX plugins for NetBeans were released together with the NetBeans 6.8 Beta. The functionality is available in following two NetBeans IDE distributions - All, Java FX. If you have different distro you can enhance it from "Tools > Plugins".
New or Improved Features:
For the "old" NetBeans user some of the features could "WT\*? It works for years". However it wasn't true for Java FX files and projects in previous versions.
- Click through navigation in Editor - . Navigates using Ctrl + mouse over selected type, which provides hyperlink to used type.
- Go To Type
- Java FX Editor Hints
- Add Imports -

- Unused variables -
- Remove unused imports -

- Surround with try-catch -

- Implement abstract methods -
- Overridden method -
- Fix package -

- and some static hints -

- Add Imports -
- Code Completion - Overall fixes in code completion. Faster, more accurate. Unfortunately there are still issues when compiler is not able to parse not compilable source files.
- Debugger - the old debugger has been removed and rewritten to use common debugger infrastructure in NetBeans. This brings better extensibility and performance, but the set of fundamental issues (such as non functional watches) remains due to JavaFX class files weaknesses.
- Profiler - the same feature set as in previous versions.
- Refactoring - Refactoring is turned off by default because issues in compiler may cause data loss. Turn refactoring on by running NetBeans with command line switch -J-Djavafx.refactoring=true on your own risk.
What you can expect soon?
- quality is increasing as the whole team focused on bugfixing. You can noticed the positive bug progress in last weeks.
- fixed refactoring will be part of the plugins asap
- fixed debugger - there are some bugs in javafx compiler that are blocking the fixes in NetBeans IDE however there is lot of issues that have to be fixed before FCS
- reformatting of code - will be re-written for the 6.8 to provide much more better results than in "old" releases.
- fxd composer - lot of fixes for better performance and usability
- Report bugs
- or leave me comment...
Iwan wanted to know if the Java ME SDK works with the NetBeans 6.8 Beta. And if it could e available at Update Center to let you download the SDK directly from NetBeans.
NetBeans and Java ME SDK - picture is worth a thousand words...
Press the "Add Platform" button
Select the "Java ME MIDP Platform Emulator"
Browse to your Java ME SDK location - usually /Applications/Java_ME_SDK_3.0
Platform has been found

OTOH, the module with the SDK would just download it and install it. If you brave enough to use Early Access yhis steps - download, install - will warn you that you are doing something "special".
It's time for celebration. The NetBeans team released the Beta of NetBeans 6.8 finally. The plan was to publish it yesterday but sometimes you cannot make it. Reason? Slow upload. Could you imagine how many GB have to be uploaded? This could be great quiz question for Geertjan's NB podcast 
If you are interested what's new in it comparing to the Milestone 2 then there is simple answer. It is more stable and we added the support for Java FX. The list of all features is available at the official page - http://www.netbeans.org/community/releases/68/. The team resolved around 1000 bugs - http://quality.netbeans.org/metrics/Bugs-Reported-vs-Resolved-.html
So it's Friday, it's time to celebrate the release. Do you want to see the old NetBeans team? Watch this video.
Lot of the users were asking when the Java ME SDK will be available at the Mac. The time has come. Now. If you want to try the new release of the Java ME SDK for Mac then the Early Access is available for download.
As it is early access provide your feedback to the guys who developed it at their blog blogs.sun.com/javamesdk.
AFAIK, only the CLDC/MIDP devices are available for the Mac. And two devices with JavaFX support.
Note: the Java ME SDK for Mac won't be in NetBeans 6.8 as its final version won't be ready when the NB will ship.
There is another release of NetBeans IDE available. Today the version 6.7.1 has been released and it is available at common place netbeans.org.
Highlights of this release are:
| ||
Další NetBeans IDE release je na světě. Dnes byla vydána verze 6.7.1 a je k dispozici na obvyklém místě webu netbeans.org.
Hlavní rysy tohoto release jsou:
|
Another great release of NetBeans IDE is available and as usually you can download it for free from netbeans.org.
Since I was working on Kenai integration parts of this release I would
like to highlight this functionality. Users can create projects hosted
at Kenai on the top of the NetBeans 6.7 IDE and work with projects in
NetBeans directly.I have one notice related to the opening kenai projects (or searching projects) that might help you in case you are trying to look up some project available at kenai.com site: It is possible to use wildcards in the search string as you can see at the screenshot below. | ||
Další skvělý release NetBeans IDE je na světě a jako obvykle jej zdarma můžete stáhnout na netbeans.org.
Jelikož jsem pracoval Kenai integraci tohoto releasu, chtěl bych
zdůraznit tuto funkcionalitu. Uživatelé mohou vytvářet projekty
hostované na kenai.com rovnou z NetBeans 6.7 IDE a pracovat s nimi v
přímo v NetBeans.Mám jednu poznámku vztahující se k otevírání kenai projektů (jejich vyhledávání), která by mohla pomoci v případě že potřebujete najít nejaký projekt dostupný na kenai.com: Při hledání je možné používat wildcards, jak je vidět na screenshotu nahoře. |
Yesterday at night I have installed "Java for Mac OS X 10.5 Update 4" on my MacBook Pro. Then I started NetBeans IDE 6.7 RC3 and tried to create Java Application project. This action was not successful, I got the exception dialog with java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactoryI don't know now what is the cause of this problem with JDK 5 there but definitely I am going to start using JDK 6 instead of version 5. So that my command for running NetBeans IDE is now: ./netbeans --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/Hopefully there will be no trouble with JDK 6. So far I have tried to create simple Hello World project and it seems that all works fine. | ||
Včera večer jsem nainstaloval na 'svůj' MacBook Pro nový update "Java for Mac OS X 10.5 Update 4". Pak jsem pustil NetBeans IDE 6.7 RC3 a zkusil jsem vytvořit Java Application projekt. Nebyl jsem ovšem úspěšný protože jsem dostal exception dialog s java.lang.NoClassDefFoundError: javax/script/ScriptEngineFactoryNemám tušení co je za problém s JDK 5, ale definitivně zkusím přejít na JDK 6 namísto verze 5. Můj příkaz na spouštění NetBeans IDE teď bude: ./netbeans --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/Doufejme, že s JDK 6 nebudou trable. Zatím jsem zkusil vytvořit jednoduchý Hello World projekt a zdá se, že vše funguje. |
Listen to podcast #2: to learn about our take on Swing and its poor reentrancy. Find out what it may mean for your own API design and especially Runtime_Aspects_of_APIs that you create. Learn to fight with that problem by maximizing the declarative nature of your API. --JaroslavTulach 17:43, 18 May 2009 (UTC)
Listen to this: ! It is almost a year since we (me and Geertjan) started our regular API Design Tips podcasts. They used to be part of larger NetBeans podcasts, however recently I needed some promotion material for TheAPIBook and I decided to extract the API Tip parts. I am glad I can offer these sketches to you. Enjoy podcast #1. --JaroslavTulach 19:50, 12 May 2009 (UTC)
As I noted recently, I see the year 2009 as the year of annotations. The NetBeans project is about to rely on them more heavily. Finally! We've been waiting for that for ages, but finally we can compile with JDK 1.6 JavaC and we can use compile time annotation processors. As a result we can replace our layer based registrations with annotations and benefit from compile type checking, code completion, from having the registrations in the same place as the code that is being registered, etc. Also we can offer our API users simple looking annotations and let associated annotation processors do more advanced and more effective processing. As a result the developers have simple API to deal with, while actual registration hidden behind can be as effective as possible, even at the cost of complexity, but without compromises to reliability (as the complexity is kept in the processing infrastructure, not exposed to API users).
The other project related to annotations that we are likely to incorporate during 2009 is our extended use of Annotations for Software Defect Detection. This is heavily based on the JSR 305, yet until it is stable we do not want to expose such unstable API to users of our stable APIs (more on that in Chapter 10, in section Beware of Using Other APIs). As such we are going to create our own annotations (still recognizable by FindBugs and co.). The hope is that our annotation will stay compatible even if the underlaying JSR 305 slightly changes. Please find our current patch and comment here or in the issue 137437.
Last project that deals with annotations is developed by our editor hints guru Jan Lahoda - its aim is to bring complex refactoring to masses! How? Why? We have observed that using @Deprecated annotation is good hint to help your API users recognize that some part of your API is obsolete and shall no longer be used, however that in no way helps users of your API with converting their code to new, non-deprecated style. We have a solution: Use Code Transformation Annotations! Dear [API] writers, let's adopt these annotations and use them in your API! They are completely standalone (read more), lightweight and we are ready to incorporate feedback of everyone interested in the project. Indeed, my plan is to bring these easy to use and flexible refactorings to NetBeans soon, hopefully for version 7.0.
So these are my three annotation related projects. I find them quite exciting and I cannot wait to see them being used. Annotations are here to simplify life of API users and developers. As soon as we have them, we will have full right to call the year 2009 the year of annotations!
Listen to our podcast or download it.--JaroslavTulach 09:06, 12 December 2008 (UTC)
Many times I needed to know which component really holds the focus in NetBeans IDE. I am not aware of any document where is this feature mentioned and it takes me always some time to remember which shortcut can be used for printing such information to output. So that I decided to write it down to my blog to have it always available there. So the desired shortcut is Ctrl-Shift-Break.If you started NetBeans from console then it is easy to check the output there. Otherwise go to main menu View|IDE Log and check the Output window content. There appear lines like this: \*\*\* ShortcutAndMenuKeyEventProcessor: current focus owner = org.openide.explorer.view.TreeView$ExplorerTree[,0,0,188x289, alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@1e51abf,flags=16777576,maximumSize=,minimumSize=, preferredSize=,editable=true,invokesStopCellEditing=false,largeModel=true,rootVisible=false,rowHeight=18,scrollsOnExpand=true, showsRootHandles=true,toggleClickCount=0,visibleRowCount=20] I have one more comment on this feature: unfortunately it is not working on Mac OS X (at least on my machine). | ||
Mnohokrát jsem potřeboval zjistit která komponenta v NetBeans IDE drží fokus. Nejsem si vědom že by funkcionalit pro získání fokusu byla dokumentována a vždy mi nějakou chvíli trvá než si vzpomenu na klávesovou zkratku pro vypsání potřebné informace na výstup. Takže jsem se rozhodl zapsat si ji do svého blogu abych měl tuto zkratku vždy po ruce. Jde o shortcut Ctrl-Shift-Break.Pokud běžíte NetBeans z konzoly pak je jednoduché najít v ní příslušný výpis. Jinak otevřete hlavní menu View|IDE Log a zkontrolujte jeho obsah v okně Output. Objeví se tam text podobný těm na následujících řádkách: \*\*\* ShortcutAndMenuKeyEventProcessor: current focus owner = org.openide.explorer.view.TreeView$ExplorerTree[,0,0,188x289, alignmentX=0.0,alignmentY=0.0,border=javax.swing.border.EmptyBorder@1e51abf,flags=16777576,maximumSize=,minimumSize=, preferredSize=,editable=true,invokesStopCellEditing=false,largeModel=true,rootVisible=false,rowHeight=18,scrollsOnExpand=true, showsRootHandles=true,toggleClickCount=0,visibleRowCount=20] Mám k tomu ještě jeden komentář: bohužel to nefunguje na Mac OS X (alespoň na mém počítači). |
One of my previous blog entry informed about the problem with running Mercurial on Mac OS X. It appeared again and I have a suspicion that it is connected to the update of Mac OS X (yesterday I have upgraded to 10.5.2). Again I cannot simlpy write hg clone http://www.netbeans.org/main in console so that I was angry when seeing it again. Fortunately it is easy to fix again (unset LC_TYPE works for me) although I don't understand why is this property for (I believe I don't need it). I am attaching screenshot as the the proof that it works now. ![]() |
|
Na jednom z předchozích příspěvku jsem psal o problému s Mercurialem na Mac OS X. Bohužel se objevil znovu a mám pocit, že to souvisí s upgrade na Mac OS X 10.5.2, keteý jsem provedl včera. Opět nejde spusti anit hg clone http://hg.netbeans.org/main v konzoli. Trochu jsem znejistěl když jsem to znovu uviděl. Naštěstí je to ale opět snadné vyřešit (stačí nastavit unset LC_TYPE ) ikdyž vlastně nevím k čemu sto slouží (a věřím, že to ani nebdu nikdy potřebovat). Nahoře je přiložen jako důkaz, že už mi to funguje. |
First of all I would like to know how can we say in better way my office. Because the office is not mine (I do not own it, I just share the time with my colleagues there). If you have better fantasy than me then comment on this thought.Nevertheless in my office there were born 2 new bloggers during a couple of last days. I think it is fair to invite them this way here because I believe that their blogs will be valuable for others. These 2 bloggers are:
|
|
Zajímalo by mne, jak se dá lépe vyjádřit spojení moje kancelář. Protože ta kancelář není moje (nejsem jejím vlastníkem, pouze ji sdílím s kolegy). Pokud máte lepší fantazii nežli já, tak prosím zkuste tuhle myšlenku okomentovat. Nicméně v mojí kanceláři se zrodili rovnou 2 noví bloggeři během několika posledních dnů. Věřím, že budou psát zajímavé příspěvky cenné pro ostatní, takže bych je chtěl touto cestou přivítat. Jedná se o:
|
The build of NetBeans 6.1 Beta has been released and it is free for download. Important links related to this build are following:
|
![]() |
NetBeans 6.1 Beta build byl vypuštěn na svět a je zdarma ke stažení. Důležité linky vztahující se k tomuto buildu jsou následující:
|
![]() |
I have noticed a very positive information - the Open Office is the number one in downloaded software. You can watch cool CNET's video at this link. I use this package for many years and I believe that colleagues in Hamburg are proud of the result of their hard working on Open Office.
|
![]() |
Dostala se ke mně velmi pozitivní informace - Open Office je jedničkou v oblasti staženého software. Více je možné shlédnout na CNET's video. Používám tento produkt už řadu let a veřím, že kolegové v Hamburku jsou patřičně hrdí na výsledek jejich tvrdé práce na Open Office.
|
![]() |
Bits of NetBeans 6.0 have been replaced by NetBeans 6.0.1 today. You can download this NetBeans 6.0.1 directly from http://download.netbeans.org/netbeans/6.0/final/. This release contains following changes:-Addition of Japanese, Simplified Chinese, and Brazilian Portuguese localizations. -Glassfish V2 is replaced with Glassfish V2 UR1. -The integration of bug fixes It is also possible to upgrade to this version from NetBeans 6.0 through the plugin manager (Tools|Plugins). Available Updates include listed above except localization. |
|
Bity NetBeans 6.0 dnes byly nahrazeny NetBeans 6.0.1. Je možné si tuto verzi stáhnout přímo z http://download.netbeans.org/netbeans/6.0/final/. Tato verze NetBeans obsahuje následující změny:-Byla přidána Japonština, Simplified Chinese, a Brazilian Portuguese lokalizace. -Glassfish V2 byl nahrazen za Glassfish V2 UR1. -Byly opraveny některé chyby Na NetBeans 6.0.1 je možné přejít z NetBean 6.0 také pomocí plugin manageru (Tools|Plugins). Dostupné Updates obsahují zmíněné změny kromě lokalizací. |
|
The tool for plugin installation and update was completely rewritten in NetBeans 6.0 so that the Update Center Wizard was removed and we have the Plugin Manager instead. It was long way to stabilize the Plugin Manager and find the best way of presenting the logic to users. I think that now there are no big problems with this tool (of course there are some low priority issues that are always in any software ). It is available in main menu Tools | Plugins.Current daily builds include one improvement in the area of Plugin Manager. It can Run in Background. This feature was highly required by users so that they may now continue with coding their sources while new plugins are being installed. The Run in Background feature can be activated by the checkbox in the installer and once the user activates Run in Background it cannot be switched to the foreground (until the current instance of installation is finished).
Run in Background checkbox. During the Run in Background the Plugin Manager will have disabled actions and the process of the installation is displayed at the status line as the standard NetBeans progress tool.
Progress of installation can be viewed. When the installation (Run in Background) is finished then the bubble and the restart icon appears at the bottom of the NetBeans IDE in case that some plugin requires restart (the bubble stays there only for a while).
Bubble and the restart icon in IDE status line. |
|
Nástroj na instalaci a update pluginů byl kompletně přepracován v NetBeans 6.0 takže byl odstraněn nástroj nazvaný Update Center Wizard a namísto něj teď máme Plugin Manager. Plugin Manager prošel dlouhou cestou stabilizace a bylo obtížné najít pravou cestu jak prezentovat uživateli jeho logiku. Myslím, že nyní s ním nemáme žádné větší problémy (samozřejmě kromě issues s nižší prioritou, které jsou součástí každého softwaru ). Dostupný je z hlavního menu Tools | Plugins.Současné daily buildy obsahují jedno vylepšení v oblasti Plugin Manageru. Ten je možné totiž běžet na pozadí(Run in Background). Tato vlastnost byla hojně vyžadována uživateli, takže je nyní možné programovat v průběhu instalace pluginů. Run in Background lze aktivovat pomocí checkboxu v installeru. Ovšem poté co je Run in Background aktivován, není možné přepnout Plugin Manager znovu do popředí (dokud není aktuální instalace ukončena).
Run in Background checkbox. Během Run in Background jsou akce v Plugin Manageru disablovány a proces instalace je zobrazen ve stavové řádce jako standardní NetBeans progress.
Progress instalace. Jakmile je instalace (Run in Background) u konce, objeví se v na chvíli pravém dolním rohu NetBeans IDE bublina a restart ikona (v případě, že některý z pluginů vyžaduje restart).
Bublina a restart ikona ve stavové řádce IDE. |
|
As many users already know the NetBeans repository migrated from CVS (cvs.netbeans.org) into Mercurial(hg.netbeans.org). I have already installed Mercurial binaries from http://mercurial.berkwood.com/ on my Mac OS X (running with Leopard). I have met the problem with running of hg. It was not possible to clone testing repository from command line. The command hg clone http://hg.netbeans.org/main finished with the following output:
[.JARa]/space/tmp/tmprepository #hg clone http://hg.netbeans.org/main
Traceback (most recent call last):
File "/usr/local/bin/hg", line 14, in
mercurial.dispatch.run()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 26, in dispatch
except util.Abort, inst:
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 74, in __getattribute__
self._load()
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 46, in _load
mod = _origimport(head, globals, locals)
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 32, in
_encoding = locale.getlocale()[1]
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 460, in getlocale
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 373, in _parse_localename
ValueError: unknown locale: UTF-8
The problem is that the system property LANG was set to UTF-8. There are 2 solutions how to make hg to be working correctly: 1. Simply execute command export LANG="" or better just unset LANG. The disadvantage is that this doesn't work globally so that you may want to write it to the proper user config files. 2. The second option is to go to the Terminal Preferences, then select the tab Advanced in Settings category. You need to deselect the checkbox on the bottom of the dialog.
The Settings dialog of Terminal. You can find useful some links related to NetBeans migration to Mercurial: -http://wiki.netbeans.org/wiki/view/HgMigrationDocs - NetBeans hg migration document -http://wiki.netbeans.org/HgHowTos - How To page -http://mercurial.berkwood.com/ - hg binaries -http://www.selenic.com/mercurial/wiki/ - selenic home page |
|
Jak už mnozí asi vědí NetBeans repository přešla z CVS (cvs.netbeans.org) na Mercurial(hg.netbeans.org). Když jsem si nainstaloval Mercurial "binárky" z http://mercurial.berkwood.com/ na můj Mac OS X (běží mi tam Leopard), narazil jsem na problém při spouštění hg. Nebylo možné si naklonovat repozitory z command line. Příkaz hg clone http://hg.netbeans.org/main skončil vždy s následujícím výstupem:
[.JARa]/space/tmp/tmprepository #hg clone http://hg.netbeans.org/main
Traceback (most recent call last):
File "/usr/local/bin/hg", line 14, in
mercurial.dispatch.run()
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 20, in run
sys.exit(dispatch(sys.argv[1:]))
File "/Library/Python/2.5/site-packages/mercurial/dispatch.py", line 26, in dispatch
except util.Abort, inst:
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 74, in __getattribute__
self._load()
File "/Library/Python/2.5/site-packages/mercurial/demandimport.py", line 46, in _load
mod = _origimport(head, globals, locals)
File "/Library/Python/2.5/site-packages/mercurial/util.py", line 32, in
_encoding = locale.getlocale()[1]
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 460, in getlocale
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/locale.py", line 373, in _parse_localename
ValueError: unknown locale: UTF-8
Problém byl v tom, že systémová proměnná LANG byla nastavena na UTF-8. Jsou 2 možnostu jak přimět hg aby začal fungovat správně: 1. Jednoduše příkazem export LANG="", nebo lépe unset LANG. Nevýhoda je, že tohle nefunguje globálně takže je možné zapsat to do příslušného konfiguračního souboru uživatele. 2. Druhá možnost je přes Terminal Preferences, pak vybrat záložku Advanced v Settings categorii. Tam je potřeba odznačit checkbox, který se nachází dole na dialogu.
Settings dialog pro Terminál. Následující linky vztahující se k migraci NetBeans na Mercurial mohou být užitečné: -http://wiki.netbeans.org/wiki/view/HgMigrationDocs - NetBeans hg migration dokument -http://wiki.netbeans.org/HgHowTos - stránka s HowTo -http://mercurial.berkwood.com/ - stránka s binární soubory hg -http://www.selenic.com/mercurial/wiki/ - selenic home page |
|
The subject of this entry tells enough. I can only say that for me MySQL is "The world's most popular open source database" which is motto of http://www.mysql.com/. You can find more details about the acquisition at Jonathan's blog. Unfortunately Jonathan is not blogging in Czech so that readers of my Czech entry need to switch to English .
|
|
Titulek tohoto článku je dostačující. Na mně je jen abych řekl, že MySQL je i pro mne "The world's most popular open source database" - což je heslo na http://www.mysql.com/. Více informací o akvizici je možné najít na Jonathan's blog. Jonathan bohužel nebloguje v Češtině, takže čtenáři této české verze musí přepnout do angličtiny .
|
|
In the NetBeans Plugin Manager there is redesigned Settings tab. You can see this change in new daily builds of NetBeans IDE. I like the terminology that is used there for distinguishing between Plugins and NetBeans Modules (NBM). The term Plugin is used now for what I called a category in my last blog entries. The second one corresponds to a single .nbm file. Unfortunately this wording is probably not final yet.There is one feature that is disabled by now - Install into shared directories. It used to be called Global option in the Update Center Wizard contained in former releases. This feature is not implemented yet so that the checkbox stays gray now. The look of all tabs is consistent now in Plugin Manager. Besides changes in Settings tab there are some small improvements especially in description panels which have now different background for plugin/.nbm name and the Install tab contains buttons Activate/Deactivate by this name on the right.
The Settings tab look. |
|
V NetBeans Plugin Manageru proběhl redesign Settings tabu. Tato změnu můžete vidět v posledních denních buildech NetBeans IDE. Osobně se mi líbí terminologie použitá pro rozlišení Pluginu od NetBeans Modulu (NBM). Termín Plugin je nyní použitý pro to, co jsem v minulých příspěvcích označoval jako kategorie. Druhý význam odpovídá souboru .nbm. Bohužel to zřejmě ještě není finální názvosloví.Na Settings tabu je jedna vlastnost, která ještě není povolená - Install into shared directories. Odpovídá to Global instalaci, která bývala v Update Center Wizardu. Tato vlastnost, ještě není naimplementovaná, proto je checkbox zatím šedivý. Vzhled všech tabů je nyní v Plugin Manageru konzistentní. Vedle změn v Settings tabu došlo k drobným úpravám zvláště v panelu pro popis pluginu. V něm je teď odlišná barva pozadí pro jméno pluginu/.nbm a v Install tabu je vedle něj umístěný button Activate/Deactivate.
Vzhled Settings tabu. |
|
There are some terms and use-cases of NetBeans Plugin Manager that are not clear for some users. I will try to summarize the most important of them:1.First of all there are 2 different actions "install" and "activate" in Plugin Manager. The difference between them is following: Installed plugin can be activated or deactivated. Deactivated plugin is not loaded by the module system so that it doesn't waste resources until it is activated. It resides in proper directory so that it can be activated (loaded by module system) quickly. During the installation of ordinary plugin it is automatically activated (special plugin types - Eager, Fixed and Autoload behave differently). Such details should not be important for users. 2.How can be plugin uninstalled? There are 2 views of plugins in Plugin Manager. The default "category view" and simple "plugins view". The first one is better for most of users because plugins are grouped to the categories and operations are invoked at these categories. It is more synoptical because users work with the short list. The second "plugins view" may be valuable for advanced users that need to install/uninstall/activate/deactivate only single plugin. This is not so common so that the recommended is the "category view". The view can be switched in Plugin Manager's Settings tab through the "Show plugin details" checkbox. In the NetBeans Plugin Manager there is the "Installed" tab that contains list of installed plugins/categories. Plugins/categories can be uninstalled by selecting the checkbox by the plugin/category followed by pushing Uninstall button. To deactivate category/plugin there are popup menu items in Installed tab starting with the word Deactivate. Similar way is available for Activate action. I have to mention that the part of activation and deactivation is going to be redesigned. 3.How can I see list of plugin dependencies, classpath? The installation of dependencies should be transparent for users. Users usually don't care about dependencies, classpath... they just need to install some feature. This is why the "category view" is default in the NetBeans Plugin Manager. 4.Show it in Updates vs. New Plugins tab Plugin Manager has one not very intuitive behavior. Let's assume we have e.g. editor plugins "X" and "Y" grouped in category with name "Editing". Imagine that the user installs this group. Then let's assume that new plugin "Z" is added to update center and it is categorized to "Editing" too. From the group point of view the category is partially installed so that it appears in "Updates" tab. But when the plugin view is active then "Z" plugin appears in "New Plugins" tab (in this case it is just a single plugin no matter what category it belongs to). I do agree that this behavior is not very comprehensive at the first sight. 5.How to Select All/Deselect All In Plugin Manager you can invoke popup menu on lists of categories/plugins. There are contextual items in this popup like Select All/Deselect All. 6.Merge Downloaded to New Plugins In one comment of my blog there appeared idea that "Downloaded" can be merged to "New Plugins", in addition to provide a "add local module" button. I don't agree with this, because it is more synoptical to have these in separate tabs (at least for me). Maybe this is a topic for discussion with others. At the end I would like to say that the Plugin Manager is not completely finished yet. There is big progress on fixing issues and some improvement are still in process. For example Active column wil be removed from Installed tab or contextual popup menu items will change. I hope all changes will help to usability of the Plugin Manager. |
|
Podle prvních ohlasů nejsou některým uživatelům zřejmé některé termíny a use-cases z oblasti NetBeans Plugin Manageru. Pokusím se proto shrnout ty nejdůležitější:1.Dvě odlišné akce "install" a "activate" v Plugin Manageru. Rozdíl mezi nimi je následující: Nainstalovaný plugin může být ve stavu activated nebo deactivated. Deactivated plugin není natažený modulovým systémem NetBeans, takže nezabírá zbytečně zdroje až do doby, kdy je aktivován. Je umístěný v příslušném adresáři, takže může být velice rychle aktivován (natažen modulovým systémem). Při instalaci se běžné moduly rovnou aktivují (speciální typy pluginů plugin types - Eager, Fixed a Autoload se chovají odlišně). Detaily by neměly být pro uživatele Plugin Manageru podstatné. 2.Ja se dá plugin nainstalovat? V Plugin Manageru je možné používat 2 odlišná view pro pluginy. Prvním a defaultním je "category view" a druhým je "plugins view". "Plugin view" by mělo být lepší pro většinu uživatelů, protože pluginy jsou grupované do kategorií a operace jsou prováděny nad těmito kategoriemi. Je to mnohem přehlednější, protože uživatel pracuje s kratším seznamem kategorií (seznam pluginů je obsáhlejší a proto méně přehledný). Naproti tomu "plugins view" by mohlo mít smysl pro zkušené uživatele, kteří potřebují instalovat/odinstalovat/aktivovat a deaktivovat jednotlivé pluginy. Takový postup není tak běžný, proto je doporučované pracovat v "category view". View se dá přepínat v Settings tabu Plugin Manageru pomocí checkboxu "Show plugin details". V NetBeans Plugin Manageru je "Installed" tab obsahující nainstalované pluginy/kategorie. Plugins/categories mohou být odinstalovány pomocí chekboxu vedle pluginu/kategorie a následným stisknutím tlačítka Uninstall. Pro deaktivaci kategorie/pluginu je možné použít položky v popup menu začínající slovem Deactivate. Analogicky jsou zde položky pro aktivaci. Zde je nutné zmínit, že pro aktivaci/deaktivaci se chystá redesign. 3.Jak se dají zjistit modulové závislosti a classpath pluginu Instalace závislých modulů by měla probíhat transparentně pro uživatele. Uživatelé se zpravidla nezabývají tím, jaké jsou závislosti, classpath... pouze chtějí nainstalovat určitou funkcionalitu. To je důvod, proč je "category view" defaultní v NetBeans Plugin Manageru. 4.Zobrazení v Updates vs. New Plugins tabu Plugin Manager obsahuje jedno ne zrovna intuitivní chování. Předpokládejme například, že máme pluginy do editoru "X" a "Y" a jsou zařzeny do kategorie se jménem "Editing". Představme si, že uživatel nainstaluje tuto kategorii. Následně předpokládejme, že je na update center přidán plugin "Z" zařazený rovněž do kategorie "Editing". Z pohledu grupování modulů se jeví kategorie "Editing" jako částečně nainstalovaná a proto se zobrazí v "Updates" tabu. Pokud ovšem pohlížíme na "Z" z pohledu "Plugin view", pak se objeví v "New Plugins" tabu (v tomto případě jde o jeden plugin bez ohledu na to, do jaké kategorie je zařazen). Uznávám, že toto chování není na první pohled příliš pochopitelné. 5.Jak udělat Select All/Deselect All V Plugin Manageru lze na seznamu kategorií/pluginů vyvolat popup menu. V něm jsou kontextově zobrazeny položky jako jsou Select All/Deselect All. 6.Sloučit Downloaded do New Plugins V jednom z komentářů u mého blogu se nachází myšlenka, že "Downloaded" tab by mohl být sloučený s "New Plugins". Pak by měl být k dispozici "add local module" button. S touto ideou nejsem ztotožněný. Řešení se mi totiž nezdá dostatečně přehledné, přehlednější je podle mne současné řešení se dvěma taby. Možná je to téma na diskusi pro ostatní. Na konec bych chtěl říci, že Plugin Manager ještě není zcela ukončen. Je docela velký progres na fixování chyb a procesují se některá vylepšení. Například sloupec Active bude vyřazen z Install tabu, nebo taky dojde ke změně položek v kontextovém menu. Doufám, že všechny změny pomohou vylepšit usability Plugin Manageru. |
|
There are several ways how people access pages of weblogs. Beyond the RSS feeds people can meet weblogs by google or other search engine. This can cause small troubles to people that found my blog entries from NetBeans and NetBeansCZ categories. These categories contain entries that are single-language with the link to the second language entry. Unfortunately such link had the description in the same language as the entry. So that the English speaking person must have red the description in czech. That's my big fault and I have already fixed it in my blog templates. So the links in new entries will simply look like the following:
If you have some other troubles with the usability in my blog, please don't hesitate and speak up (write me an e-mail or just add it as a blog comment) and I will try to fix it. |
Existuje několik cest, jak lidé navštěvují blogy. Vedle RSS feedů to mohou být například vyhledávače jako je google. To může způsobit potíže těm, kdo si najde příspěvek mého blogu zařazený do kategorií NetBeans and NetBeansCZ. Tyto kategorie totiž obsahují příspěvky, které jsou jednojazyčné a mají v sobě vždy link na příspěvek v opačném jazyce. Bohužel takové linky obsahovaly vždy jen popis v jazyce stejném jako je příspěvek. Takže anglicky mluvící si mohli přečíst popisek v češtině. To je moje velká chyba, kterou jsem už opravil ve svých template souborech. Linkly v nových příspěvcích proto budou vypadat následovně:
Pokud víte o nějaké další usability chybě, tak prosím neváhejte a dejte mi o ní vědět (napište mi e-mail nebo jednoduše přidejte komentář do blogu) a já se pokusím to vyřešit. |
After the integration of PluginManager to the NetBeans cvs repository there appeared voices about the usability of this feature. Many users were not satisfied with the user interface so they have spoken up about it. The response to that dissatisfaction is improved user interface that you can see in new trunk builds. Complicated renderers were replaced by simplified ones so that the work with the plugin manager is easier now. Important is the change in panel division (area is divided vertically instead of original horizontal division). As for me the most important is that it is possible to install group of plugins at once (it is not necessary to select them apart). It is wort to say that there is added context popup menu with actions like Activate, Deactivate, Select All, Deselect All... For those who prefer plugin-based instead of category-based view there is the magic checkbox "Show plugins details" in Settings tab.
|
|
Po integraci PluginManageru do NetBeans cvs repozitoře se rozpoutaly diskuse na téma usability tohoto nástroje. Spousta uživatelů byla doslova nespokojena s uživatelským rozhraním a dala to potřičně najevo. Odezvou na nespokojenost je nové vylepšené rozhraní, které je možné čerstvě vidět v trunk buildech. Pro snadnější práci s plugin managerem byly odstraněny komplikované renderery z tabulek obsahujících seznam pluginů. Zásadní je taky rozdělení plochy okna vertikálně namísto původního horizontálního dělení. Podle mne nejdůležitější je umožnění instalace skupiny pluginů najednou (bez nutnosti selekce každého pluginu zvlášť). Za zmínku stojí taky například přidání kontextového pop-up menu s akcemi jako jsou Activate, Deactivate, Select All, Deselect All... Pro ty, kteří preferují zobrazování pluginů místo kategorií je v Settings tabu magický checkbox "Show plugins details".
|
|
NetBeans 5.5.1 is live today and you can download it for free from http://www.netbeans.org. I will not describe what this version offers. Here is just couple of direct links where you can find the most important information about the release: |
|
![]() Verze NetBeans 5.5.1 je od dnešního dne na světě a je možné si ji zdarma stáhnout z http://www.netbeans.org. Nebudu zbytečně popisovat, co je možné v této verzi najít. Tady je několik přímých odkazů, na kterých lze najít nejdůležitější informace o releasu: |
|

There is another release of NetBeans IDE available. Today the version 6.7.1 has been released and it is available at common place
Další NetBeans IDE release je na světě. Dnes byla vydána verze 6.7.1 a je k dispozici na obvyklém místě webu
Další skvělý release NetBeans IDE je na světě a jako obvykle jej zdarma můžete stáhnout na




). It is available in main menu Tools | Plugins.