×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2013
    Posts
    159

    please help,dialog box give the different output at different different class

    i am working on S40 using sdk2.0 and lwuit S40_with_themes.i have some problem when i open dialog box on button click then output is shown in snapshoot given url http://imgur.com/ziGrQCZ which is wrong according to me.then i implemented same code other class then output which is i requied but this is different as shown in given url http://imgur.com/umIFqMc.what is reason behind it.both code is same but give the different different output.
    please help me for this problem.

  2. #2
    Regular Contributor
    Join Date
    Dec 2012
    Location
    India
    Posts
    271

    Re: please help,dialog box give the different output at different different class

    with the limited information given,I am guessing that for some reason the theme file is not getting loaded.First make sure you are using the right version of LWUIT.Next, try adding this code in the class which does not appear as expected
    try {
    Resources r1 = Resources.open("/full_touch_theme.res");
    UIManager.getInstance().setThemeProps(r1.getTheme(r1.getThemeResourceNames()[0]));
    }
    catch (Exception ex)
    {
    ex.printStackTrace();
    }

  3. #3
    Registered User
    Join Date
    May 2013
    Posts
    159

    Re: please help,dialog box give the different output at different different class

    thanks arunkam

Similar Threads

  1. No output in "TRK Program Output" console
    By Cartouche67 in forum Symbian User Interface
    Replies: 4
    Last Post: 2009-06-18, 08:49
  2. dialog class problem??
    By sunil304047 in forum Symbian
    Replies: 2
    Last Post: 2009-03-25, 07:02
  3. Replies: 4
    Last Post: 2007-09-10, 10:18
  4. Problem with linking implrment dialog class
    By TheChups in forum Symbian
    Replies: 6
    Last Post: 2007-03-17, 18:20
  5. Buttons not Visible in Dialog Class
    By amitaggarwal in forum Symbian
    Replies: 0
    Last Post: 2004-09-24, 07:32

Posting Permissions

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