fullscreen

Resize the components of the frame in full-screen mode

亡梦爱人 提交于 2019-12-23 15:12:47
问题 I want my frame components to be always adjusted in the screen, regardless of screen size. I draw the frame in my Laptop (small screen) and when I run my application in another machine (jar file) with a big screen the frame components doesn't re-size! How I can make my frame resize it's components when I put the frame in full-screen mode in any machine? Current layout Code package package_MSM; import java.awt.Color; public class MSMGui extends JFrame { private static final long

Can you run a VB application in full-screen?

ぐ巨炮叔叔 提交于 2019-12-23 10:23:55
问题 I just want to ask: How do you get an application, using Microsoft Visual Basic 2010 express, to run in full screen mode. You know what I mean, like a game would but an application. Is it possible? If not, tell me how and what I need to do it. Thanks. 回答1: In your Form_load add the following two lines: Me.FormBorderStyle = Windows.Forms.FormBorderStyle.None Me.WindowState = FormWindowState.Maximized Obviously, you can place the code elsewhere than in form_load - and depending on your list of

Set IFrame allowfullscreen with javascript

人走茶凉 提交于 2019-12-23 07:35:28
问题 I tried to set allowfullscreen attribute to the iframe, but it doesn't work: iframe.allowFullScreen = true I checked it with chrome -> inspect element, but the iframe has no allowfullscreen attribute, after this code. Thanks in advance, 回答1: iframe.setAttribute('allowFullScreen', '') 来源: https://stackoverflow.com/questions/11034473/set-iframe-allowfullscreen-with-javascript

Keep activity always on top of stack, or in focus when rogue apps launch activities?

核能气质少年 提交于 2019-12-23 06:55:55
问题 I have a fullscreen immersive activity that has to stay fullscreen until the user explicitly exits. (For example, think of something like watching a Youtube video full screen). However, I've noticed recently that a lot of unwanted activities launching can break my app's behaviour. For example, many shady "free apps" tend to generate full-screen transparent activities and show ads, disrupting the user immediately. "Full screen" notification popups from certain apps which are actually full

Problems with stage.displayState (it's null even after assignments). Fullscreen AS3

家住魔仙堡 提交于 2019-12-23 05:28:08
问题 Relevant things: I had fullscreen code working before I did a security update on the flash player. Nevertheless, I still can fullscreen Youtube right now I'm doing the fullscreen activation in response to user clicks (therefore no security is blocking it AFAIK) stage.displayState is null all the time, in the main timeline and even after assignments below. Relevant code: 1) Set on the main timeline: stage.scaleMode = StageScaleMode.SHOW_ALL; stage.align = StageAlign.RIGHT; 2) Set when a user

Java fullscreen jframe with dual monitor

你离开我真会死。 提交于 2019-12-22 18:36:52
问题 Here my issue, I have 2 Jframe, one for controlling and one for displaying things to publics. I need the display frame to be in fullscreen to avoid publics see things it doesn't need, and I need the controling frame to be usable on the other screen to control the display frame. Here's my problem, today, I have no problem working this way in Ubuntu and a dual screen mode, but, in Windows 7 buisness 64 (don't try other version yet) The display frame actually goes fullscreen, but when i click

webkitIsFullScreen on ipad/iphone?

不打扰是莪最后的温柔 提交于 2019-12-22 17:28:08
问题 I have an application that requires a page refresh whenever the orientation changes (ipad/iphone). Within this application, HTML5 videos also gets presented at certain times in UX. Whenever a user is viewing a video in full screen mode, their first inclination is to rotate the device to landscape orientation if it was not already in that mode. When they do this, however, it triggers the nasty page reload, effectively ending their viewing session. By tapping into webkit full screen API I was

Materialize - Full screen slider and navigation bar

不打扰是莪最后的温柔 提交于 2019-12-22 14:57:08
问题 During a project's development I've decided to use a full screen image slider. As shown on the official site : Link In this way the navigation bar is disappeared, but on a Youtube video I've seen that there is a way (which I don't know) in order to maintain both the full-screen slider and the navbar. Can anyone help me in this problem? Is there a way to take both of these features? Thanks. Here is the code: <!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs

iOS 6 iPhone 5 App NOT fullscreen in Phonegap Build?

泄露秘密 提交于 2019-12-22 10:38:29
问题 Hey all i am running my app and it seems to be fullscreen on my android device but it has the black bars on top/bottom on the iPhone 5.... What settings do i need to set for those to work? The way my app looks on my android is this: And the way it looks on my iPhone 5 is this: 回答1: For your app add the default image for the iphone 5, Default-568h@2x.png . That automatically gets rid of the bars. 回答2: to give a bit more detail, add this line, and the corresponding image to your config.xml file

Rotate screen when HTML5 video playing in fullscreen

99封情书 提交于 2019-12-22 09:33:39
问题 First of all, i would like to apologize for my bad level in english, and for all the mistakes i might have done in this post. I'm also a "junior" in Android devloppement (i'm doing this on my free time), i'm not good and experienced enough yet ^^ so sorry if i might have some difficulties to understands the answer you might give me. So what i'm doing ? I'm creating a simple Android App. It's just a Webview to load my website. My website is just a random Youtube video player. First i had the