Posts

Showing posts from September, 2010

New blog domain: kula.blog

It's still work in progress but new posts will be published on  https://kula.blog/ Thanks to 11ty base blog RSS is working from the start so it should be easy to add to your reader if you still use any :) If now then I hope you can sign up to the newsletter where I'll be publishing new posts and interesting articles to it from time to time. Please use  kula.blog  from now on.

After chapter 6: Nodes and Explorer Views

As in title there is only sixth chapter I ended also earlier ones, but this one was Huge! I can't understand why author make his one big chapter where I can see at leas 2-3 relatively autonomous parts, at least properties and Visual Library can make a separate chapter. I am complaining because I really like small chapters which I can read in one evening or even morning ;) Chapter 4: Lookup Lookups are certainly a heart of modules system in NetBeans. Using scopes Modules can search for public classes(using this developers can add functionalities to existing modules) and communicate with other modules without knowing exactly to which module they are talking Chapter 5: Actions Pretty straight-forward, creating Actions(as global and reusable for toolbar, menu). More advanced is creating actions that are enabled with custom conditions, eg. Task object available in lookup to edit it :) Chapter 6: Nodes and Explorer Views Longest chapter (65 pages), about... everything from Expl

Boolean in loop

Reading about Lookups I found new(for me) and awesome way to manage boolean value  used for controlling loops:         boolean valid = false;         while(!valid){             id = this.getId();             valid = true;             for(IdValidator validator : rstl.allInstances()){                  valid = valid && validator.validate(id);             }         }    Using && really make me thinking why I didn't figure it out yet!

NetBeans Platform Chapter 3: Window System

Chapter 3: Window System Everything you should now about creating layout in NetBeans applications. Most of it can be done declaratively, and in standard cases Wizards will do the job. But there is more! Despite NetBeans standard layout positions you can create new ones. End even create groups of them(something like perspectives in Eclipse).   If you want even more power about layout window position and even opening and closing of them can be changed programmatically! Of course groups of windows can be managed as well. At the end of the chapter there was example about saving data and about how NetBeans is remembering last state of opened windows. Using writeProperties and readPropertiesInpl we can store some data using key-value pairs. It could be handy for storing some custom configuration, or even last state of edit or whatever user was doing in application. Chapter 4: Lookup - how to use another modules and ensure that they are still loosely coupled... I really want to see how

NetBeans Platform chapters 1 and 2

Chapter 1: Modules About modules but also a quick introduction to creating NetBeans platform Project and modules. There was some changes between what was expected and what I found after project creation, but nothing important. Great quick start, which ends making me wanting more :) When starting with this book creating NetBeans Platform projects looks pretty easy and very interesting. Yes, this is for newcomers in NetBeans, but it makes me not be discouraged at the beginning. Chapter 2: Forms. All about Matisse and how to use it for creating frontend of your application. Best of it is at the end of chapter: how to add my shiny new form to NetBeans palette! Really nice feature! If you have problems with: org.openide.util not recognized check this link:  http://forums.netbeans.org/ptopic30967.html  To add TaskEditorPanel to pallete add package of  it to public Api of this module in project preferences. Then NetBeans wizard will recognize it. Next: Chapter 3: Window System in

NetBeans Platform 6.9 Developer's Guide

Yesterday in my gmail appeared Email from Packt Publishing with offer to review NetBeans Platform 6.9 Developer's Guide, ass You might guess I didn't think a long ;) and while writing this post I am downloading it from my account at Packt website. And today or tomorrow I will start reading. Not today becouse in an hour I will have second Taekwondo training, I still have sores but I think that lately I've spended to much time sitting. If you are interested in my review subscribe to my blog ;) It will be available in about two or three weeks ;)