Menu

#14 Draft implementation on ImageItem and StringItem

open
nobody
None
5
2007-04-10
2007-04-10
Aiken Sam
No

No apperance yet but at least it can be focuses, selected and clicked.

Btw, I found something like strange in
core/src/org/microemu/device/j2se/J2SEInputMethod.java

if (keyCode == KeyEvent.VK_UP || keyCode == KeyEvent.VK_DOWN)

I guess it should be

if (keyCode == getKeyCode(Canvas.UP) (keyCode == getKeyCode(Canvas.DOWN)))

Discussion

  • Aiken Sam

    Aiken Sam - 2007-04-10

    patch file

     
  • Bartek Teodorczyk

    Logged In: YES
    user_id=248825
    Originator: NO

    Remarks:
    1. I strongly recommend working with SVN trunk if you want to contribute patches to the project, currently it is quite stable.
    2. J2SEInputMethod.java issue was already fixed in SVN trunk.
    3. Canvas.java - according to MIDP it is not allowed to create public getWidth/getHeight methods.
    4. ImageItem.java and StringItem.java are focusable only in HYPERLINK and BUTTON appearance mode (have you tested Simple Demo with your patch?).

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.