Archive for August, 2008

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.

Finally

August 14, 2008

Finally I’ve installed Ubuntu 8.04.1. The problem was that my live cd couldn’t be recognized as bootable. The solution for me was to install windows xp and start installation process from there. But important thing was to create a boot-menu there you can choose loading from HD or from CD. This meny can be created automatically. Congratulations for me.

Ubuntu 8.04.1

August 13, 2008

Today decided to upgrade my Ubuntu 7.10 to Ubuntu 8.04.1. Usually I prefer to reinstall system completely. More than 1.5 hours I spent backuping data from HD, then I formatted my disk and began to boot. At once I got GRUB error 17 and still have no idea how to resolve this issue. I’ve tried to boot from previous version of live CD but still getting this error. Tomorrow I’ll need to find a solution. Phuck. Why I’m always having such hardware and other different kinds of troubles? Hate it.

OpenOffice Writer sections

August 3, 2008

I’ve found out how to deal with them: if document is saved in doc format you can remove sections with Format->Sections…->Remove commands but after reopening document they will be recovered. So use odt format and forget about that.

OpenOffice.org Writer

August 2, 2008

Hmmm. Why this damned OpenOffice locks sections in my document each time I open it? It’s just set a read-only flag and I have manually unlock them. Is there any property to stop this mess?

Found something

August 1, 2008

Found 2 candidates to be a MS Project replacement for my home-projects: http://ganttproject.biz and http://openproj.org. There were much more programmes, but only these two have a price I’m ready to pay - $0. Let’s try tomorrow.

Headphones

August 1, 2008

Damn. It seems like my iPod headphones passed away after 2 years. I need to find somewhere a new one. I have KOSS KSC55 - the sound is great but sitting highlty uncomfortable on my head. I feel the pane just after 40 minutes of using it. In my case the quality of sound isn’t important ‘cause I listen podcasts mostly. So another iPod headphones is the right solution for me.