Rotate the display to landscape mode

I was designing a simple application and i want to show a table. I did that successfully. But i would like to have a landscape view so that it looks better. Either the table in landscape view or the whole application in landscape mode
i searched a lot and got j2mepolish to be a solution. But i tried to download the latest version several times but it stops in the middle.it would be a great help if you send me an mirror link.
Please suggest any method to do the above.

Hi,
You can try Graphics.drawRegion() mehod with Sprite.TRANS_ROT90 which will draw everything on the canvas in landscape mode.
- Create once bufferImage-> Draw everything one the bufferImage->draw that bufferImage on the canvas using Graphics.drawRegion() method.
ex:
Image bufferImage = Image.createImage(getWidth(),getHeight());
Graphics temp_g sm_landscapeBuffer = bufferImage .getGraphics();
// Now draw everything using temp_g and at the end draw that image using drawRegion() and main main graphics g.
g.drawRegion(sm_bufferImage, 0, 0, sm_bufferImage.getWidth(), sm_bufferImage.getHeight(), Sprite.TRANS_ROT90, 0, 0, Graphics.LEFT | Graphics.TOP);

Similar Messages

  • I updated to iOS 7 and now some of my apps won't display in landscape mode and they did before the update. Any ideas on how to fix it?

    I updated to iOS 7 and now some of my apps won't display in landscape mode and they did before the update. Any ideas on how to fix it?

    This could be from having restrictions enabled. Icons completely disappear when "restricted"

  • Can I use the display from the iphone or rotate so that I can use the tv in portrait orientation? or rotate the display of the tv?

    Can I use the display from the iphone or rotate so that I can use the tv in portrait orientation with a app or appleTV? or rotate the display of the tv?

    The landscape and portrait mode when AirPlaying your iPhone to the Apple TV will depend on the app you are in on the iPhone. 
    For example, the home screen on your iPhone is in portrait mode even if you rotate the phone, so if you are AirPlay mirroring this, it will show in portrait mode on the TV.  If you have photos taken in landscape mode and rotate your phone or watch a video in landscape mode, then the video should appear in landscape mode on the TV. 
    If things that should be in landscape mode are not in landscape mode, you might have the orientation lock turned on.  You can turn it off or on using the steps in this link: http://www.cultofmac.com/142535/how-to-enable-orientation-lock-on-your-ios-devic es-ios-tip/
    I hope this helps!

  • Different song displayed in landscape mode?

    Since upgrading iphone 5 to iOS7 the current song is only displayed in portrait.  When I turn the phone to landscape, a completely different song displays, though the current song keeps playing.  I have to turn the phone back to operate any controls.  Can't believe this is intentional?  Is there a cure?
    Thanks.

    I hope everybody on all the related threads writes to Apple (http://www.apple.com/feedback/) to point out that it's downright *DANGEROUS* that the only way to skip songs while driving is to reach over and dismount our iPhones so we can turn them to profile view—instead of just a quick tap of the >> button in landscape mode.
    Didn't they get the memo that distracted driving kills people?

  • How can i rotate the display on the monitor.?t.

    re: HP 6000 series        The display is sideways on the screen, not upright.   Is there a way of rotating the display to normal ?                                                                                                                                                                                                                                                      The monitor is a Gateway  FPD1760 TFT LCD.                                                                                                                                                                                                                                                                                                                                                                                                   Appreciate any help,                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 askeri    

    Hi,
    Hold down the Ctrl and alt keys and press the up arrow.
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Can you rotate the display/desktop in snow leopard?

    I was wondering if it is possible to rotate the display in snow leopard. I looked in display setting but I didn't see the option there, if I there is one. I looked in a couple other places but I didn't see it. Is there something that can possible be downloaded to get this option or, maybe not. Seems like a pretty basic feature I would thing it would be there but then again I've overlooked some pretty simple things in the past, so it might right in front of my face. In case my intent isn't clear what I want to be able to do is physically rotate my rectangle wide screen monitor to a horizontal position so it's width is smaller then it hight, and so I need to also rotate the desktop image to correspond with the position of the monitor. Can anyone help, Thanks.

    Up until a few months ago, I was a PC user. Three years or so ago I bought an ipod 80gb, then a Zune 80gb a year later to watch movies on, because I drove a lot, so I would watch TV on the ipod and movies on the Zune. But the Zune was a totally glitchy annoying piece of poo. I ended up selling it on Ebay. I bought an ipod 160gb classic through apple.com and both ipods have worked flawlessly sense I bought them. Then I began to ponder about my PC, and just how glitchy it always was and how complicated everything had to be to get things to work. I had used Mac in the past while at work or different places and always liked what I saw. So last year, I think October, I bought a Mac mini to start off with then If I liked it I was going to upgrade in a year or so to something more beefy. The moral of my story is that, I come to learn that after spending all those years dealing with a PCs and everything being so complicated I sometimes assume that when I need to do something on the Mac, I still think it's going to be a hassle so I over look very simple things which turn out to be the solution. I've done that a few times now.
    I can honestly say that I have never really been disappointed with any thing that the mac does and I am always surprised with what it can do and how easy to use it is. I'm waiting for the day when the Mac OS over takes MS as the primary consumer OS so that compatible hardware and software is more readily available at stores. Whether that days comes or not I don't know, but I hope it does.

  • My iPad 3 will not change the orientation to landscape mode. I have checked the orientation switch and turned it off for a reset neither of which fixes the problem.

    My iPad 3 will not change the orientation to landscape mode. I have checked the orientation switch and turned off for a reset. Neither fixes the problem. What can I do?

    Is it lock in the Control Center? (tap to enlarge)

  • HT3382 With a MacbookAir (mid-2012) using a mini DisplayPort to VGA adapter plugged into the Thunderbolt port, can you configure the external monitor to FULLY display in portrait mode yet keep the built-in display in landscape mode?

    With an 11"-inch Macbook Air (mid-2012) using a mini DisplayPort-to-VGA adapter plugged into the Thunderbolt port:
    Can you configure an extended desktop with an external monitor (20") displaying full portrait mode (1200 x 1600 resolution) and keep the built-in display in landscape?
    I'd like to see something like
    External monitor / Built-in display

    Yes, I can't see why not.
    Just give it a try and report back if you have a problem.

  • IPad 2 now only displays in landscape mode.

    My iPad 2 now only displays in one landscape mode. It won't change the screen when I rotate the iPad. Is this an iOS6 glitch?

    The button right above the volume button (slide) can be for quickly silencing your iPad or for locking the screen quickly. You can choose whichever one you want through the settings, and you can also manually lock/unlock the screen in the settings.

  • HT1947 Remote Apps cannot display in landscape mode in iOS7

    My ipad 4 cannot display the Remote App in landscape mode after upgraded to iOS7, also the response is very slow when choosing album, songs or Artist

    Is there a lock symbol at the top of the screen next to the battery indicator ? If there is, then depending on what you've got Settings > General > Use Side Switch To set to (rotation lock or mute notifications), then you can lock/unlock the rotation by the switch on the right hand side of the iPad above the volume switch, or via the taskbar : double-click the home button; slide from the left; and it's the icon far left; press home again to exit the taskbar. The function that isn't on the side switch is set via the taskbar instead : http://support.apple.com/kb/HT4085
    If there isn't a lock symbol then try a soft-reset (is that what you mean by restarting ?) : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Blank screen after rotating the display in Yosemite (MacBook Pro Late 2013)

    Hi,
    after installing Yosemite on my MacBook Pro 15" Late 2013 I have trouble rotating it's screen. After I launch Preferences and click Displays while pressing alt and command keys I see the list of possible orientations available.
    If I now select 270° the screen immediately goes black. To be clear: The display is not turned off like when the MacBook sleeps. It's still lit, but only shows a black screen. After turning the MacBook off by pressing and holding the power button I can boot and voilà, the screen is perfectly normal, showing everything rotated at 270°. If I reset to Landscape from there (i. e. 0°), I have no problem at all, everything still works. Setting it back to 270° again lets the screen go black again.
    I have an installation of Mavericks at my primary partition and it has no problems at all with rotation. Is this a known bug or can anyone confirm this behaviour?
    As a hint for others suffering the same problem: You can get around the hard reset by pressing shift-comand-q followed by enter key. This logs your user out of the system and gets you back to the login screen. This obviously kind of reinitializes the UI. After that, the display's rotation is working and you just have to login again.
    Even if this is some kind of workaround it would still be much more convenient not requiring this workaround.
    Thanks in advance,
    Oliver

    Hi,
    yes, I had the same issues here! My solution was to force the system to use the discrete graphics card instead of the intel one. Then you get some additional options for the resolution which are much more usable. If you need further infos let me know. I'm using the MacBook in a rotated state about 95% of the time and it works pretty well now (at least in Mavericks, where I also experience your described behaviour).
    Greetings,
    Oliver

  • Print results the script in landscape mode

    Hi folks,
    how I can
    in powershell print off the results ofthe following code in landscape mode:
    $result | Where {!$_.Values} | Foreach {Start-Process -FilePath "s:\INVOICES\0070\$($_.Invoices).pdf" –Verb Print}

    Hi Nesher,
    good luck with that. Assuming you are using Adobe Reader, this may be of interest to you:
    Adobe Acrobat SDK
    Apparently, this works with the reader too, though it says Acrobat. If that doesn't fit your need ... well, good luck?
    Cheers,
    Fred
    Ps.: This link was brought to you by google inc., savior of all those in search of anything ;)
    There's no place like 127.0.0.1

  • Apple Watch does it make provisions for left-handers? either a mirror image version, or the ability to rotate the display 180º allowing it to be worn on the right wrist and controlled with the left hand?

    Does the apple Watch accommodate left-handed people? is there a mirror image option, or can the display be rotated 180º, allowing the watch to be worn on the right wrist, and manipulated with the left hand? Just wondering if you have thought about that?
    Thanks,
    Rick
    PS: none of the "communities " accessible to me seemed appropriate for this question, so I am posting here, hoping someone will forward it on to the proper place in Apple.

    Does the apple Watch accommodate left-handed people? is there a mirror image option, or can the display be rotated 180º, allowing the watch to be worn on the right wrist, and manipulated with the left hand? Just wondering if you have thought about that?
    There's a option when setting up the watch to set it up for left handed users. That and the easily user revisable straps will accommodate lefties.

  • How do i rotate the display

    Hello!  I've done a little research but I am unable to figure out how to rotate the screen on my 6th gen iPod nano (v.1.2 software). Any suggestions?  Thanks for your help!

    Was part of the research the manual?
    http://manuals.info.apple.com/en_US/iPod_nano_6thgen_User_Guide.pdf
    Put two fingers on the screen and twist them in the direction you want to turn the screen.

  • After current update the rotate lock locks in landscape mode..

    Ive tried restarted my phone and such and doesnt seem to help. After the current update 10.3.1.1581. When i turn my rotation lock on it rotates my view in the hub or anything to landscape and locks it there instead of portrait. Quite annoying.

    Turn rotation lock off, while not ideal I found that at least when the phone is held in portrait orientation the apps display in portrait, there is a knowledge base article about this, sorry I don't have the link to hand. But they are aware of the issue but no fix as yet.
    Edit: here is the link http://www.blackberry.com/btsc/KB36744

Maybe you are looking for