This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am learning how to create custom LAF and I have found problem with JTextArea. I have written a TextAreaUI that extends BasicTextAreaUI (but I have left it almost empty). When I use my LAF and create a JTextArea all is fine but functional keys like enter, delete, backspace and arrows just doesn't work for created JTextArea and I have no idea why...
(I have same problem with JTextField/TextFieldUI but I think the reason is the same)
Sourcecode with isolated problem:Is there any book/tutorial (that You can recommend) that describes creating custom LAF?
Joined: Feb 03, 2009
I have found solution on my own in Napkin LAF sourcecode.
Just if some had/will have same problem - check file NapkinLookAndFeel.java, method setupActions(table);