Published on April 28th, 2006 in Gentoo
So I finally decided to use ntp on my Gentoo box for a more accurate system clock. Having used this feature on Fedora and other distributions, I thought this wouldn’t be to complex. I was wrong! It takes quite a few modifications to your system’s config files and a recompile of your kernel. It took [...]
No Comments | Be the first to write one!
Published on April 27th, 2006 in Java
Here’s a nice and easy way, to change the default look & feel of your Swing apps. By adding this line of code, you tell Swing, not to use the default looks of the Operating System it’s running on:
JFrame.setDefaultLookAndFeelDecorated(true);
This will be applied to all other frames in your application as well, as you should [...]
No Comments | Be the first to write one!
Published on April 27th, 2006 in Java
Ever wondered how to get that annoying Java cup icon out of your applications and exchange it with your own? Well, it’s easier than you might think, leaving me wondering why there are so many Java apps still carying aroung that ugly standard icon.
Here’s the code:
frame.setIconImage(new ImageIcon(”feed-icon-16×16.png”).getImage());
Pretty easy, huh?
I successfully tested it with the PNG, [...]
2 Comments
Published on April 27th, 2006 in Gentoo
I recently noticed a strange message during the booting process of my gentoo desktop box. The system still seemed to work fine, but it was still really annoying and it was also slowing down the boot-up. So I crawled the web. I’ve seen lots of different posts and suggestions on how to solve this, but [...]
No Comments | Be the first to write one!
Published on April 26th, 2006 in General
Welcome!
So this is the first, official yatblog.com post. Nothing special here. I’m not going to bore you with some welcome text and/or a summary of what this site is all about. No. If you want to find a summary about yatblog.com, take a look at the about page.
Enjoy your stay.
No Comments | Be the first to write one!