Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 22 of 22

Thread: Applet and Fullscreen !!

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Applet and Fullscreen !!

    Hello,

    It's my first post here. I have a hard problem for me.

    When my Applet starts and i got a fullscreen application (games, programms...) this minimize!
    I dont know why... anyone knows something about this? any solution?

    Thanks in advance.
    Regards.


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Not sure I understand what you are doing. Applets run in a browser. Does the browser's window change?
    Does your applet create another frame?

    Can you make and post here a small simple example that compiles, executes and demonstrates your problem?

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    It's not easy.
    I have a application and all hours it calls a page with the applet (like 11h, 12h 13h...). This page open in a hidden IE window.
    The application and the applet works fine, but if i have a game in fullscreen, the game will be minimized when the applet starts.

    If you have more questions please ask me. Thanks.

  4. #4
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Is any of this code that you are writing?
    It sounds like you are complaining about the way some other programs work.

  5. #5
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    Is an application of mine. I'm now developing.
    Any idea to fix that problem? :s

  6. #6
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Can you make a small simple program that compile, executes and will show the problem?
    Then describe the steps to take to make it show the problem.

  7. #7
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    Now is not possible, i'm working...
    But the problem is, when the applet starts the game minimize. maybe is a "focus" problem or any java definition or html java call problem... i dont know :p

  8. #8
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    What do you mean by "when the applet starts"?
    Where is the browser that runs the applet? Is it open and executing?

  9. #9
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    "when the applet starts" means when appears the JVM icon on windows try bar.
    The browser is Internet Explorer and is opened with parameter to hidden and with the page with applet.

  10. #10
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Sounds like a lot of parts and interrelations that would be hard to duplicate for testing.

  11. #11
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    One application launch Internet explorer with arguments to hidden and to target the URL site with applet...

  12. #12
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    What are the IE arguments for hidden?

  13. #13
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    Is a C# arguments like
    ProcessStartInfo startInfo = new ProcessStartInfo();
    startInfo.CreateNoWindow = false;
    startInfo.UseShellExecute = false;
    startInfo.FileName = "IEXPLORE.exe";
    startInfo.WindowStyle = ProcessWindowStyle.Hidden;

  14. #14
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Sorry, only do Java here.

  15. #15
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    It calls a java applet...

  16. #16
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    How do you start IE in hidden mode?

  17. #17
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    with the previous code.

  18. #18
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Was your previous code in Java? I don't recognize the class

  19. #19
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    No is c# but the problem is after this...

  20. #20
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Right.
    How does hidden mode differ from minimized to an icon in the taskbar?

  21. #21
    Junior Member
    Join Date
    Sep 2011
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Applet and Fullscreen !!

    Yes, correct.

  22. #22
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Applet and Fullscreen !!

    Is this an OS thing. It wants to show something so it moves whatever is in the way out of the way.

Similar Threads

  1. Help with this applet.
    By jasonxman in forum Java Applets
    Replies: 1
    Last Post: August 24th, 2011, 12:52 AM
  2. Can't Run my Applet! Please help!
    By JJoelTheMan in forum Java Applets
    Replies: 2
    Last Post: June 10th, 2011, 07:11 AM
  3. when i run applet
    By chonch in forum What's Wrong With My Code?
    Replies: 2
    Last Post: February 22nd, 2011, 04:56 PM
  4. FullScreen isn't working in Win 7
    By Ahmed.Ibrahem in forum AWT / Java Swing
    Replies: 0
    Last Post: February 6th, 2011, 11:48 AM
  5. [SOLVED] applet vs. gui app
    By rptech in forum AWT / Java Swing
    Replies: 3
    Last Post: August 27th, 2009, 09:13 AM