Results 1 to 2 of 2
  1. #1
    Blackberrylerner is offline Senior Member
    Join Date
    Jul 2010
    Posts
    101
    Rep Power
    0

    Default Hide Application

    Hi All

    I want to hide Running application.
    Java Code:
    public final class Test extends UiApplication 
    {  
     public static final void main(String[] args)
        {
            // Create a new instance of the application and make the currently
            // running thread the application's event dispatch thread.
           
            new Test().enterEventDispatcher();
        }
    
     public Test() 
        {
          
            
            TestScreen screen = new TestScreen();
            screen.setTitle("Show Screen");
            
            _output = new RichTextField("1St Step");
                     
            pushScreen(screen);             
        }   
    private class TestScreen extends MainScreen
        {
          
            private TestScreen ()
            {
                addMenuItem(TestMenu);
                
               }
    }
    
    public void close()
            {
              // Here I want to Hide Application(Application Will Run in BackGround)
            }
    }
    public void close() is default menu item.Here I want to Hide Application

    Please help me

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,239
    Rep Power
    19

    Default

    You need to ask wherever you got the UiApplication class, it isn't a part of the standard JDK.

    db

Similar Threads

  1. How to hide a control in SWT?
    By lottalava in forum SWT / JFace
    Replies: 11
    Last Post: 10-18-2010, 09:52 AM
  2. Replies: 7
    Last Post: 08-19-2010, 01:56 PM
  3. How can i hide the menu bar ?
    By Microman in forum CLDC and MIDP
    Replies: 0
    Last Post: 01-18-2010, 12:43 AM
  4. How to hide a window of application
    By Jktu in forum AWT / Swing
    Replies: 4
    Last Post: 10-29-2008, 06:53 AM
  5. java : how to hide application icon from a task bar
    By yogeshagashe in forum Advanced Java
    Replies: 0
    Last Post: 03-12-2008, 01:05 PM

Posting Permissions

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