I have been using Office LnFs suite for several years with various Java programs. Since, most of my users are on Windows, the Office LnFs gives the user a nice familiar look and feel.
I have found 4 bugs in Office LnFs that I would like you to fix.
1. On Vista or Win 7, if you use a JCheckBoxMenuItem for a JMenu component, the check-mark is offset in the box. i.e. It needs to be raised up and to the left by about 4-6 pixels.
2. Changing the Tab Size of JTabbedPane does not work. Office LnFs completely ignores it.
- Code: Select all
JTabbedPane tp = new JTabbedPane();
tp.addTab("<html><body leftmargin=15 topmargin=8 marginwidth=15 marginheight=5>General</body></html>", new JLabel("Text Component 1"));
I also tried using an icon of 32x32 and Office LnFs completely ignores it too.
3. I have a JFrame with 7 components (very simple app) and 2 of the components are JTextField that are very long (i.e. 50 characters). The 7 components are added to a JPanel and the JPanel is added to the JFrame. When I do a pack() method on the JFrame, Office LnFs appears to mis-calcalute the components sizes by roughly 25%. Hence, I end up with extra blank space to the right of the components. If I switch look & feel component (to cross-platform for example) then the pack() method works just fine.
4. Office LnFs also has a problem calculating the proper width of a JToolBar. In this case, it comes up short by 15-20%.
I would greatly appreciate if you could take some time and fix these bugs.
On a different note, have you ever thought about creating a cross-platform look & feel that is modeled after your VisualStudio2005 Look & Feel?? I know it sounds weird, but it would allow me to offer the same Look & Feel on Linux and Mac OS X, as it is on Windows.
Regards,
Roger Lacroix

