Discussion Board

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

    How to remove title of dialog and how to apply backround colour on it

    I am working on s40 app using s40 with themes jar file. Using lwuit form.
    How to remove title of dialogue box and how to change the background colour of dialogue box.

    Also i want to ask can we apply animations on dialogue as i hav craeted animation using 10 images and i want to show it on a dialogue.
    Plz help

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: How to remove title of dialog and how to apply backround colour on it

    Note that LWUIT is open source. While https://projects.developer.nokia.com...it/Dialog.java is probably not a current version, it contains some indications about hiding the title: showModal (line 1117), showPopupDialog (line 1138) and showPacked (line 1289) all have a piece of code check for empty title text and if hideEmptyTitleBool is set in the theme. These are some clues you can start experiment with, trying to set an empty title text should be rather straightforward.

  3. #3
    Registered User
    Join Date
    Dec 2012

    Re: How to remove title of dialog and how to apply backround colour on it

    You can get the style object of the dialog and change the background colour

    Dialog d = new Dialog();
    Adding animation to a dialog is same as adding the animation to a form. Create an instance of a dialog.Say you have overridden a Label Component and used it for animation, add the label to your dialog and use the show method to display that dialog.

Similar Threads

  1. How to hide/remove title bar of LWUIT form?
    By ducngo in forum Mobile Java General
    Replies: 6
    Last Post: 2012-12-07, 16:12
  2. chnaging dialog text colour
    By dinesh547 in forum Symbian C++
    Replies: 0
    Last Post: 2008-05-22, 13:19
  3. can't change the colour of the title text in idle ???
    By Reaper185 in forum Themes/Carbide.ui
    Replies: 3
    Last Post: 2007-05-21, 21:58
  4. change title colour
    By letiziad in forum Symbian C++
    Replies: 2
    Last Post: 2006-09-26, 15:57

Posting Permissions

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