Adding image to the screen only half of the image is displayed

Hello

I'm trying to add an image to the screen of my application, like this:

BasicEditField _bef = new BasicEditField(){
    public void paint(Graphics _g){

Bitmap _bitmap = Bitmap.getBitmapResource("3.png");
_g.drawBitmap(0, 0,  _bitmap.getWidth(), _bitmap.getHeight(), _bitmap, 0, 0);

    super.paint(_g);
    }//end of paint
};

_verticalFieldManager.add(_bef);

the strange thing is that only a part of the image is displayed and I don't know why! I have test it on bb 9000, so I know it has 480 x 320 and my picture is 480 x 176, so it must be shown.

is anyone of you know what can be wrong?

Kind regards

Misty

OK, I'm surprised that adding text did not work.  Apologies for suggesting it.  Can you tell me what JDE level you try and I have a go here.

Anyway, the normal way to display a bitmap using a BitmapField.  This should always give you the entire Bitmap.  Give it a try.  You won't have to replace the paint using a BitmapField!

Tags: BlackBerry Developers

Similar Questions

  • How to remove images or themes from the list of display properties for selected wallpapers?

    Well they are. When I go into the Control Panel, click or select the display icon, I come to the display properties.  Kind of dumb pictures obtained in the list of display properties.  I want to remove them from the list.  I n my ending is never trying to clean my computer, I want to delete these images and selected icons.  I really don't remember adding photos to the list of display properties for desktop. But they are there

    You must move the image files where they are now (probably in my pictures). Windows XP retrieves files image from the following paths:

    C:\WINDOWS BMP files

    The files BMP, JPG, GIF, JPE, DIB, PNG, HTM from the following locations:

    C:\Windows\Web\Wallpaper
    C:\Documents and Settings\photos \My Documents\My [& ALL THE sub FOLDERS]
    C:\Documents and Settings\\Application Data\Microsoft\Internet explore
    C:\Program Files\Plus! \Themes [* & ALL subfolders *]

    So for example, if the 'silent pictures' are in your My Documents\My Pictures folder (or a folder in my pictures) and you want to keep them, just move them to the folder My Documents of parent instead. If you don't want to keep them, just delete the files.

    MS - MVP - Elephant Boy computers - don't panic!

  • Call the MTC to display Ajax

    I use a demonstration of a flowchart of CF (downloaded from http://www.cfdan.com/index.cfm?tag=CFOrgChart).

    There has been little customization (increase in the number of fields in the database from 2 to 7, for example) and overall, it works very well.

    I built a ColdFusion front end that allows the user to see the table, add, edit and delete various nodes.  Dan example includes the ability to perform the same functions of the flowchart itself hierarchical by clicking two icons that appear on the mouse and change it by double-clicking the node area.  Again, it works.

    Now the problem:

    When I perform one of the functions of adding/changing/deleting the chart hierarchy display screen, it accesses the form CFM for the data entry page, but little he incorporates in the organization chart.  See my screen shot by an example:

    Org Chart Screen Print.jpg

    The stuff in the Center (blue banners) should be a new page...

    sockerdad wrote:

    When I perform one of the functions of adding/changing/deleting the chart hierarchy display screen, it accesses the form CFM for the data entry page, but little he incorporates in the organization chart.

    ...

    The stuff in the Center (blue banners) should be a new page...

    It is the usual intention of using AJAX.  The purpose of the creation of the xmlHttpRequest() had to be able to do in JavaScript HTTP requests and manipulate behind the scenes, so that all of the web pages does not need to be refreshed.

    If you do NOT, then I would probably not bother with the AJAX features.

  • PSE7 when opening the editor only the upper half of the image is displayed

    When I open an image in the editor only the upper half of the image is displayed in the lower part of the screen. I tried to adjust the size of the canvas, but that did not work.

    It seems that your screen resolution is high enough.

    Have you tried the button Zoom at the top right of the screen?

    (different from what I proposed before)

    MTSTUNER

  • with version 3.6.3 disaply is only half of the screen

    I've updated to version 3.6.3 and now the screen is half of my big screen. Google Crome uses the entire screen and IE 3/4 of it. I'm looking on the site of the Washington Post. Thank you

    This has happened

    Each time Firefox opened

    is after 3.6.3 upgrade

    Width or height?
    Some pages are coded with a fixed width.
    In this case, Firefox doesn't fill the entire width of the screen.
    You can zoom the page through the view > Zoom > Zoom in (Ctrl +), but this will enlarge everything on this page.
    Make sure 'Zoom text only' is not selected.

  • After the removal of something my computer programs, my screen is only half that it should be.

    Original title: Help

    I deleted something in my add and remove programs on my lap top I think it was the controller ati or something like that, but now my screen is only half what I thought irt was a bug so deleted

    Hello

    You should be able to go up to a previous restore point and do a sytem restore...

    or go here http://support.amd.com/us/gpudownload/Pages/index.aspx

    Concerning

    GT4U

  • My computer, the screen is only half the size of the screen.

    Original title: full screen

    My computer did an automatic update and when I turned on my computer the screen is only half the size of the screen.  How to bring back my full screen?

    Hello

    Which update you speak?

    Please follow the steps in the link to set the display resolution.

    Check out the link:

    Get the best display on your monitor

    http://Windows.Microsoft.com/en-us/Windows/getting-best-display-monitor#getting-best-display-monitor=Windows-Vista

    For all windows questions do not hesitate to contact us and we will be happy to help you

  • How to resize the screen display to use only half of the screen

    in order to write the information to a website in a MS word document, I want to put the site to display browser so the document MS word on the screen at the same time (each 1/2 of the screen (left and right view). How can I do this? I am technically challenged so tell me in the jargon of the primary school

    I can't test this on Windows 10, but...

    On Windows 7, if you hold down the keyboard Windows key, then press the right arrow key, the currently active window will change its form. By example, if the window is maximized it will change occupying half right side of the screen. Hold the Windows key and pressing the arrow key right to scroll to the right, left and restored/resizable. To maximize, use the up arrow key.

    I hope you can use this keyboard shortcut hidden to set each application to the half of the screen easily without having to manually extendable/retractable and move windows. And it's a cool thing that you can share with other people.

  • BlackBerry Smartphones Google maps only half screen now on Storm 2

    I recently found my cards are only half of the screen, with keyboard, refusing to go on the other half. Also can not display maps in landscape mode. This has made them much less useful. I don't see enough of the card to be able to guide me. That's happened? I used to have a map full screen. I can't seem to find this topic anywhere and am unable to find any help on my BBy.

    Thanks for any help.

    Hello

    Go to Options > Applications, locate the entry of Google Maps, highlight it and press the BB Menu key.  Find the option to turn off compatibility mode, and you should be set.

    Try and let us know if this helps!

  • Only half of the icons showing on personal bar

    Only half of the icons showing on the bookmarks toolbar, but when I go in the toolbar custom, then click on 'Done' they appeared all over again.

    Thank you... I downloaded the latest edition, and that seems to have solved the problem.

  • Why many cinema screens have half-a-block of pine, to plug into the full-size DVI connector?

    Why have the many Cinema Display (especially the 2005-20-inch model) half-a-block of pine, to plug into the DVI-connector socket full large?

    The other half-a-block of pines just doesn't seem to be there?

    DVI can be single-link or dual-link.  Resolution higher than 1020 x 1200 need dual-link.

    http://www.showmecables.com/images/catalog/product/DVIQA.jpg

    Sometimes simple link devices and cables use dual-link connectors, but with no wires connected to the pins double link, if you can not tell if something is dual-link just by looking at the connector.

  • Help! My MacbookPro is super slow (and the HD is only half full)

    I'd appreciate any help as I can get before I have to spend a fortune upgrading to a SDS or increase the RAM memory.

    I have a mid-2010 Macbook Pro (2. 4 Ghz) with:

    -4 GB RAM

    -500 GB HD (219 GB available)

    (Please let me know if any other card would help).

    My laptop is super slow, even with the most basic applications. Even if I did open and simply start Microsoft Word, it will show the wheel rotation for a good minute or so, before the opening. Of opening PDF, preview, and even changing the tabs on Firefox can match the same offset (the degree varies). Nevertheless, it is frustratingly slow, and everyone who uses my computer says this. My friends MacBook which is even older than mine doesn't have this problem.

    Because I do a lot of graphic design work (using Photoshop, Lightroom and various browsers open at the same time) I was told that increase the RAM will help my problem, as would an SSD. While I understand the applications I use are eager for RAM, I can't be certain that this is my underlying problem of laptops, since even simply opening a web page is filled with serious delay (when no other application is open).

    I'm also not sure if an SSD would be helpful since my HD is only half full (or empty depending on what you would look like it). This sounds like a problem with the HD cable? Or any other problem?

    Thanks, I'm a novice when it comes to such things.

    Download and view a report of Etrecheck:

    http://www.etresoft.com/etrecheck

    Ciao.

  • HP Envy H8-1549: computer doesn't recognize only half of the new Ram

    Hi all.

    I took a set of ram Ripjaws X 32 gig (4 x 8).  When I install all four chips, only half of them are recognized by the Bios. If I remove two, both of which have not been recognized are visible and working in the same locations they were. It all works, but not all.

    Current configuration: http://support.hp.com/us-en/document/c03666767

    RAM: http://www.newegg.com/Product/Product.aspx?Item=N82E16820231569

    Everything I read on my motherboard and ram has indicated that it is compatible. I updated the Bios and erased the CMS.  I'm a bit of a loss. Am I missing something fundamental?

    What is a tension problem? If so, how can I send it?

    RAM is usually such an easy upgrade. Not so much this time, it seems to me.

    Thank you.

    This seller has guaranteed 8 GB modules for the H8-1549 envy.  The specs are "CL11.

  • Powers on my computer, but no image is displayed on the screen.

    Powers on my computer, but no image is displayed on the screen.

    You forgot to tell us something about your computer. You hear any sound from the computer at all once you turn it on, it? It sounds like the hard drive turning upward? You see absolutely nothing on the screen? Be more descriptive and include information about your computer (computer desk/computer laptop/brand-model), his age, and precisely what happens when you turn on the computer. It is a hardware problem and narrowing of component that failed is not possible without more information from you.

    http://www.elephantboycomputers.com/page2.html#Hardware_Tshoot

    If you can't do the work yourself (and there is no shame in admitting this isn't your cup of tea), take the machine to a professional computer repair shop (not your local equivalent of BigComputerStore/GeekSquad).

    MS - MVP - Elephant Boy computers - don't panic!

  • HP Officejet Pro 8620 copier copies only half of the document

    During the adjustment of the glass my copier copies only half of the page. When cope since the charger it leaves one side of my page off the coast. I've only had it a few weeks and do not know what to do. Thanks in advance for any help I can get.

    Hello @mburrand welcome to the Forums of HP, I hope you enjoy your experience!

    I see that you are having problems to copy output.  I'd love to try to help you, but I need some information first. I'm a link a few HP Support documents below that will show you how to find what operating system you are using. In addition, if you are using Windows, please indicate if your operating system is 32-bit or 64-bit.

    Mac OS X: how to find which Mac OS X Version is on my computer?
    Operating system Windows am I running?
    Is the Version of Windows on my computer 32-bit or 64-bit?

    In the meantime, I recommend that you perform a power reset.  Unplug the power cord from the printer and the power outlet, then wait 60 seconds. After 60 seconds, plug back in the printer. Make sure that you connect the printer directly to a wall outlet. Make sure to bypass any surge protector or power bar.

    Good luck and please let me know the results of your troubleshooting operations. Thanks for posting on the HP Forums!

Maybe you are looking for

  • Slideshow problem

    I presented a Slide show of Photos unstable text post two days ago and have received a lot of views. I have received no response however. Means that my problem is too difficult for Photos Mac experts? What is my next step to solve my problem?

  • Satellite L50T - Has - Touchpad not detected

    I have a Toshiba Satellite L50T-A running 64-bit Windows 8. All of a sudden my touchpad has disappeared from the settings. When I do a search for new material, it is not detected or the other. What a trendy? I wish I had pictures with exactly what I

  • Visual Studio Enterprise 2015 problems

    My school offers Visual Studio Enterprise free and I tried to install it, but it would take forever to install (as I have running overnight and the load meter does not move even one bit). Then I looked at why it didn't work and I kept seeing this: I'

  • Size of directory trees

    Is there a way to see the directory sizes of trees at the same time?

  • installation of iTunes won't download previous purchases

    Get message computer requires the permission