I fixed a few issues with CustomItem to get it working with my application:
- paint(Graphics g) now also calls the abstract paint(Graphics g, int w, int h) function implemented by subclasses
- an appropriate getHeight() is also computed for the content
- isFocusable() returns true
- select() sends a fake keyPressed(-5): it seems to be the most straightforward way to receive notification for the FIRE button
patch containing fixes for CustomItem.java
Logged In: YES
user_id=1584125
Originator: YES
- and getGameAction(int keycode) now returns Display.getGameAction(keycode)
Issue item has been moved to http://code.google.com/p/microemu/issues/detail?id=16