×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    How to Implement Grid Layout in J2ME?

    Hello Everyone,

    Is it possible to implement grid layout view in J2ME?

    Is there any algorithms to implement so?

    Juned

  2. #2
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to Implement Grid Layout in J2ME?

    Hi Juned,

    java.awt.GridLayout is not available in JME unfortunately. NetBeans has some custom components as the TableItem in the example below, maybe it is worth a check.

    http://www.netbeans.org/kb/50/custom-tableitem.html

    Kind regards,

    Br,
    Juarez Alvares Barbosa Junior - Brazil

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    5

    Re: How to Implement Grid Layout in J2ME?

    Hi, Br

    Thanx for reply.
    I have visited the link suggested by you. There is tableitem where we can place only simple text, but i want to place Icons in particular cell instead of text. Is there any option for this?

    Juned

  4. #4
    Registered User
    Join Date
    Dec 2005
    Location
    Brazil
    Posts
    1,884

    Re: How to Implement Grid Layout in J2ME?

    Hi Juned,

    You must implement your own CustomItem. Check the links below for more information:

    Adding Custom Items to MIDP 2.0 Forms
    http://developers.sun.com/mobility/m...ems/index.html

    Writing a Custom Counter Component
    http://developers.sun.com/mobility/m...tem/index.html

    You have all the information you need now.

    Hope this helps
    Juarez Alvares Barbosa Junior - Brazil

Similar Threads

  1. Grid and scrollbar layout
    By dathom in forum Symbian User Interface
    Replies: 6
    Last Post: 2009-01-06, 14:09
  2. How can I cange my grid layout?
    By SudhaYellapantula in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-11-01, 09:47
  3. Grid in J2ME
    By anba1548 in forum Mobile Java General
    Replies: 1
    Last Post: 2004-09-17, 04:45
  4. Grid , icons, text layout
    By ag24master in forum Symbian User Interface
    Replies: 4
    Last Post: 2004-01-06, 04:12
  5. Replies: 0
    Last Post: 2002-09-10, 02:33

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •