Archive for the ‘NetBeans’ Category

NB and java combo-box issue in ubuntu

August 15, 2008

I have got the following issue with combo-box drawing in java applications (including NetBeans IDE):

I have Ubuntu 8.04.1 with “human” theme and “extra” visual effects turned on. Java version is jdk 1.6.0_10-rc. I don’t remember for sure but it seems I had the same issue on my previous Ubuntu installation 7.10 with jdk 6u02.

Any ideas how to fix it? Everywhere in operating system interface everything is OK with combos.

Update. The solution seemed to lay on the surface. The idea was to change the default jvm look and feel and force NetBeans use it. Default look and feel for swing applications can be changed as described here in j2se tutorial. In my case the path of swing.properties file was the following: /opt/jdk1.6.0_10/lib/swing.properties. All the swing applications I ran had the specified look and feel. But not NetBeans itself. That’s because the IDE uses a UIManager to specify look and feel and to override it I need to dive deeper. I don’t need it. But if you wish - take a look at this discussion. Here you can find some some ideas.

i18n bug in NetBeans is fixed

July 2, 2008

As a result of my previous post concerning i18n problem in Matisse I’ve reported about this issue in community. It was clear that code was refactored by IDE by introducing java.util.ResourceBundle bundle variable but something went wrong with it and as a result we have synax errors. After a couple of letters between me and one of the developers (I’ve explaned steps to reproduce, sent some sources and given my estimates) they’ve fixed the issue:

Code string contains: java.util.ResourceBundle.getBundle(”com/sandlex/svr/resource/Application”, new Locale(Configurator.getInstance().getLocale())).getString(”Show_list_button”).

To workaround this problem we need to change code slightly by adding a dummy space after ‘getInstance()’ e.i. replace ’getInstance().’ by ‘getInstance() .’.

This issue was fixed in current build and will be released: http://www.netbeans.org/issues/show_bug.cgi?id=138802

NetBeans Matisse

July 2, 2008

Why I’m going to avoid Matisse.

(more…)

Issue: NetBeans cannot load my plugin

June 20, 2008

Today I faced the problem with NetBeans: it couldn’t load my plugin I’m developing.
I have a plugin representing a toolbar for IDE. If I do some changes in code and want to run a plugin invocing “Install/Reload in targed platform” command I always get an exception:

(more…)

Simpla

June 19, 2008

I’ve started a new project today: simpla. It’s an acronym, but I won’t say what it means to not reveal all the details. Let’s just say that it will be a small plugin for NetBeans IDE. That’s all for now.

NetBeans podcast

April 3, 2008

Yesterday I found the another one podcast for me to listen - the NetBeans podcast. This podcast is about my favorite java IDE - NetBeans and describes new features of IDE, upcoming events and other topics from NetBeans-world. RSS-feed is http://feeds.feedburner.com/netbeanspod. Show notes are also available. Enjoy.

Some thougths

March 15, 2008
My Windows died again and I didn’t managed to make it run within an hour, so I decided start using Ubuntu for programming. I’ve downloaded NetBeans 6.0.1 and it works prefectly. WTK works fine as well so I haven’t any reasons to attemts other efforts for restoring Windows.
As for VocRecaptor I’ve started using SVN for subversioning. I will try wiki and other services which assembla.com provides. I think it will be much convinient to use their bug tracking systems instead of FreeMind which I used to use before (and still using now).
This week I have to solve the problem with VocRecaptor - it doesn’t work on MacOS X and some versions of Linux (for example on Ubuntu with all visual effects switched on). So I was given a piece of advise - why should I always use system tray if it causes all mentioned problems? So this week I have to fix it and make a release.

Revealing the "VocRecaptor"

October 4, 2007

In one of my previous posts I mentioned about a small project I was going to start and wich was going to be concerning english words learning. I’ve finished an implementation of the first version. The project name is “Sandlex VocRecaptor” (or simply “VocRecaptor”) and I’m using it already. At this time I need to accomplish a several polishing tasks and some people have already agreed to try it out on Linux. What can I say. In my opinion the program is quite handy at least for my approach to the work with vocabulary. I’ll describe it later in the program’s web-page where the program will be available for download (for free of course).

I’m developing the program using NetBeans and I really like this IDE. Previously my favourite IDE for desktop applications was IntelliJ IDEA but now my personal preferences are moving towards NetBeans.