GUI question

Hi all

Can someone tell me a simple way to achieve the following objectives:

A single screen (full) with background image containing two buttons at the bottom right and left and two icons in the upper right and left. Text appears in the middle of the screen.

I tried to add the background image and I managed, but the text was not displayed above him. Why?

I have paint to the screen like this overrided method:


 Graphics fGraphics = new Graphics(fBackgroundImage);
 protected void paint(Graphics g)
  {
    fGraphics = new Graphics(fBackgroundImage);
    fGraphics.drawText("Some string", 0, 0);
    g.drawBitmap(0, 0, fWidth, fHeight, fBackgroundImage, 0, 0);
  }

Also, when I tried to call the super.paint () to paint buttons it has failed. I could see the buttons, but then the background image was not displayed.

So could you please tell me how to achieve as a result of:

1. set background image.

2. draw text on the background image.

3. draw an another bitmap in the background bitmap file.

4. Add the bitmap button.

Hello

First do a custom manager that contains a background image.

Then during the Manager add a label and a manager that contains an image of the button another.

Concerning

Stephenson

Tags: BlackBerry Developers

Similar Questions

  • GUI display in 2504 WLC on 8.3.102.0 problems and communication issues

    I had to take two of my WLC 2504 version 8.3.102.0 code to support the APs news with domain B. The WLC came with 7.6 which is postponed, so I tried both versions of ED last 8.2 and 8.3, but then the GUI is almost unusable. I can only reliable get in on the CLI but users at this location use the graphical interface of surveillance. Are there changes in the settings of browser required for the GUI work reliably?

    It's a problem with only a few of our controllers running 8.0 or 8.2. In general, I use Firefox like Chrome has this issue with me. IE and Edge seems to works fine too, but prefer Firefox. Any code your race to be honest. We always can understand this except to refresh the browser.  I run 8.3 at home and I have not touched any GUI question still.

    -Scott

    Please evaluate the useful messages *.

  • Read 1 k samples of 2 bytes each FPGA by UART

    Hello

    I'm designing a system composed of a board FPGA based (NEXYS4 DDR) which read high speed ADC via the parallel interface. Now, I programmed the FPGA for 1000 samples and send it to a LabVIEW GUI questioned by GUI via UART. Each content sample data 2 bytes so the finals will be 2000 bytes on UART.
    At the moment I have not a syntax of separation between samples (to each 2 bytes), do I need? Then when I hit the LabVIEW acquisition he will show me the samples without separation between them.
    How is the best way of? To make a separation in the FPGA firmware to each transmission of the sample, or to work with data in LabVIEW and do a syntax with a stacked sequence which will allow me to read 2 bytes and increment an index that will allow me to go to the next 2 bytes.

    I hope that I was clear where I have my doubts.
    In this message, you will find a screenshot that show you how the data looks like when I receive the FPGA. In this screen printing indicator are defined to display the codes and hex display display and 028F is the value of the sample.

    Thank you in advance,

    Vlad

    Looks like you are doing things correctly.  Just use Unflatten string to convert to a table of U16.  I recommend using the Unflatten of string so that you can choose the endianness if necessary.

  • RequestBackground startup failed

    Hi, I have the following project with "Auto run at startup" checked, tested in OS 4.5 Simulator. This project starts automatically with GUI screen. Even if I ask him to go back just after pushScreen, but the GUI screen always shown without going inside. I lacked controls important here, or something wrong with my code? Thank you!

    public class test02_keylistener extends UiApplication implements {SystemListener}

    Public Shared Sub main (String [] args) {}

    PAP Test02_KeyListener = new Test02_KeyListener();

    If (ApplicationManager.getApplicationManager () .inStartup ()) {}

    theApp.addSystemListener (theApp);

    } else {}

    theApp.doStartupWorkLater ();

    }

    theApp.enterEventDispatcher ();

    }

    public Test02_KeyListener() {}

    pushScreen (new HelloWorldScreen());

    UiApplication.getUiApplication () .requestBackground ();

    }

    private void doStartupWorkLater() {}

    invokeLater (new Runnable() {}

    public void run() {}

    doStartupWork();

    }

    });

    }

    private void doStartupWork() {}

    }

    public void powerUp() {}

    removeSystemListener (this);

    }

    }

    final HelloWorldScreen class extends screen

    {

    public HelloWorldScreen()

    {

    Super();

    LabelField title = new LabelField ("HelloWorld example",

    LabelField.ELLIPSIS | LabelField.USE_ALL_WIDTH);

    setTitle (title);

    Add (new EditField ("Testing...", "", 100, BasicEditField.FILTER_LOWERCASE |)) BasicEditField.FILTER_INTEGER | Field.FIELD_RIGHT));

    }

    public class Test02_KeyListener extends UiApplication implements SystemListener {
    
        public static void main(String[] args) {
            // TODO Auto-generated method stub
            Test02_KeyListener theApp = new Test02_KeyListener();
            if (ApplicationManager.getApplicationManager().inStartup()) {
                theApp.addSystemListener(theApp);
            } else {
                theApp.doStartupWorkLater();
            }
            theApp.enterEventDispatcher();
        }
    
        public Test02_KeyListener()
        {
            //display a new screen
            pushScreen(new HelloWorldScreen());
        }
    
        private void doStartupWorkLater() {
            invokeLater(new Runnable() {
                    public void run() {
                            doStartupWork();
                    }
            });
        }  
    
        private void doStartupWork() {
    
        }
    
        public void powerUp() {
            this.removeSystemListener(this);
    
            UiApplication.getUiApplication().requestBackground();
            doStartupWork();
        }
    
    }
    

    CMY, thanks for letting me know about the option of the code, I'm new to this forum, and yes I found my coding attached previously difficult to read also.

    Peter, thanks for your help! I tested with requestBackground() instead of UiApplication.getUiApplication () .requestBackground (), but no difference. Breakpoint test abit weird, which goes from the stop period wallpaper app, but stay in the foreground without breakpoint in my Simulator. I suspected it might be the cause of Simulator, so it works fine once I loaded the app on my device 8320 (OS 4.5).

    And I have attached a few changes here on my code to make it perfect, so that other developers can have a clear idea on starting GUI question. I put the pushScreen on requestBackground on powerUp() and constructor. This is because I will take care of the screen at the beginning and the requestBackground on commissioning. Previous coding (that pushScreen and requestBackground in doStartupWork()) worked well at the start, but it's weird if to quit and relaunch the application manual, it will go back immediately.

    Kind regards

    Season

  • Question about new design java GUI tools

    I don't know where to put the Question

    I want to tool or packages to build java GUI that are quite similar to wpf

    I want a tool that provide not only the code of desinging

    is tool containing all these things

    nice design, easy

    http://www.Eclipse.org/WindowBuilder/

  • Question about LogMiner Viewer GUI

    Good evening

    I wanted to start the graphical interface of LogMiner Viewer (which the Concepts book said done in Enterprise Manager).

    I found nothing in Enterprise Manager, who seemed to be the LogMiner Viewer GUI. (might have missed)

    After a little research on Google, I found this:
    oemapp.bat lmviewer
    I've looked everywhere and there is no oemapp.bat anywhere on my machine.

    I searched the area to download Oracle, thinking that maybe it was something that I needed to download. Has not found such a thing. (found a lot of good documentation)

    The question: How can I get the LogMiner Viewer GUI? (I am running Windows XP Pro SP2 - 32-bit Oracle GR 11, 2)

    Thank you for your help,

    John.

    Published by: 440bx - 11 GR 2 on August 9, 2010 18:38 - added "GUI viewer" in the thread title

    John,

    Unfortunately, it's a little confusing. I have check the Concepts guide that asks the person to consult the guide for LogMiner Utlities. But in the guide to public services, they mention this sql interface only one graphical interface is not displayed. In the search for the RTO, all the Log Miner, this brilliant page will appear that except by saying that it is good and can be called through GUI, does not say anything else.
    http://www.Oracle.com/technetwork/database/features/availability/logmineroverview-088844.html

    I tried to find the same in Enterprise Manager help, but he also didn't tell em anything on this subject. But further research has revealed that Arup article that does not explain the flow of Logminer in EM.
    http://www.Oracle.com/technetwork/articles/SQL/11g-transactionmanagement-092065.html

    According to this article, there is no direct link to call the tool, but it happens in action in the backend. I'll give it a try today while I am running 11.2 here in my session as well.

    It will be useful.

    Aman...

  • [^^ New here] Ask questions about the development of Blackberry GUI

    Hi everyone, im new here.

    (My English is not very good, but in any case I'll do my best to be understable).

    First of all, I'm going to introduce myself:

    My name is Díaz de Miguel (South America, Chile) and now I'm working with a team on what we called 'Santa Maria Mobile Challenge' here in my University (UTFSM, Universidad Tecnica Federico Santa Maria) and we have an app for phones mobile Blackberry... IM in charge of the User Interface of the application... so, here's my question:

    I conceive an idea of how it looks at the application (we are new to programming in java and J2ME for Blackberry), I designed in Photoshop, and with a few readings, I realize how can I do this on J2ME BB.

    In my research on J2ME and Clases de BB I think I can do this with HorizontalFieldManagers and VerticalFieldManagers... tie them a background image for each FieldManager (of course I have to divide my original and more image "images") and connect (or trigger) behaviour when he focused...

    The idea of this is to make each component of our application classes:

    IE: Where it says "task 1", which blocks will be a HorizontalFieldManager with 3 VerticalFieldManagers, one with the «!» Icon, the Second bearing the name of the task, in this example is "task 1", and the third will be the other information... and perhaps on the third HorizontalFieldManagers 2 more...)

    Well well... the idea of this post is to know if im on the right way to apply for ugly or there is a better way... I accept all the comments... I want to win this contest.

    Thank you!!

    Miguel Diaz

    ========================

    Reach:

    This is the Image:

    Hi and welcome to the development of BlackBerry,

    You are on the right track... It is difficult to design a beautiful blackberry app but you can do what you want with methods of painting FieldManagers und ...

    If you need help others let me know...

    Also if you need help doing some work im a blackberry developer contractor who is happy to help you any time...

    Concerning

    Paul Haenel

  • Work around the GUI - old mimi question Worksation

    I'm stuck.

    I am running Win 7 computer with VMware workstation 9.  I use VMware for reliability, snapshots, etc.  I have done this for many years and I am happy with the benefits (real or imaginary) under VMware.  My use and understanding is not sophisticated but I was able to take fat from the fire several times over the years because of my setup.

    The virtual machines of my guests are installed on a disk Raid 'E', but I mainly run one machine that I want to be able to boot from a shortcut on the desktop.  I understand that it is possible to do and work around the GUI of the VMware Workstation or Player.

    Help, please!

    Concerning

    k

    kriemer wrote: I tried (should have said that).  Everything that happens is opens VMware workstation but not the virtual machine.

    Yes, (see image below) , I forgot that you must use the following syntax:

    -x

  • Interesting question of GUI!

    Nice day

    I thought, this is possible on a screen, to dynamically add panels/sections on this screen?  For example, I have a section and a button at the end of this article, which says "add another". By clicking on this button, it should be dynamically added another less than previous section.

    I ask too much?  Would be cool... Ideas, anyone?

    See you soon,.

    Nik.

    I have to do this a lot.  Please look at the following Thread.  I'm happy to try to dispel any confusion, it seems that the original on this Thread poster did not what I was saying.

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=5142

  • Disable the autoload software instrument GUI, when you select a track

    OK, so maybe this is the most recent update or I can I have turned it on by pressing a wrong button.  But, in the past, when a track was a software instrument are entrusted to him, to open the instrument interface, you would:

    1 Select the track via the console mixer or main scenario

    2. click on the small button that looks like horizontal sliders in the middle of the channel strip that would open the GUI

    However, these last something has changed so do anything when I'm selecting a track via the mixing console or the main timeline, the GUI of instrument software automatically loads and opens.  As you might think, it's incredibly frustrating and certainly not necessary.  Especially when it's a heavier instrument like Komplete Kontrol and must Access files more major libraries.   I want to just go back to the way it was, where I have to click on the button in the image above to launch the GUI.

    Update on the OS and logic, the latest versions of both.

    I'm hoping this is an easy (probably) in trouble, but I can't seem to find any info on what caused it to change to auto load.

    Thanks in advance for the advice.

    Never mind!  I got a PreSonus Faderport plugged, and it was the origin of the problem.  Logic has had another problem of GUI, and as soon as I unplugged the Faderport, things are back to normal.  He followed the question all the time, and I never thought to unplug the unit.

  • Skype GUI is not loaded correctly.

    After installation run Skype on Win7 GUI of Skype is not correctly loaded. It looks like image below. Can someone help me?

    Hello

    It sounds like the question that occurs because of a problem with your .css parameters in the windows registry. Please follow the steps hereto restore your Windows default .css and then let me know if it is persistent.

    Anthony



    This message was by Anthony - I do not work for Microsoft!
    If this solves your problem - mark it as a solution! If you like my post - Please add Bravo!

    Profile of the community - Spotify Anthony
    Feel free to PM me - Here

  • Old kernel and gui acceleration

    In FireXT (XT530/531) Motorola uses dyplay and the old kernel (from Froyo) is not accelerated by the GPU.

    My question is: WHY.

    Motorola think their customers are stupid?

    We need new software with the new kernel and GUI GPU accelerated and the charger unlocked boot.

    Yes motorola has no answer to that! Its terrible problems that we encounter on our phone is because of the way that Motorola has tried to disable features and put on a nucleus of froyo gingerbread.

    And on top of that, they lock their Chargers to start so that we the customers can't even do something.

    If the XT532 can have the new gingerbread kernel why can not get you a similar update for our phone equipment is essentially the same.

    You have fooled as in the purchase of a phone that has the right hardware and software poor... most of my friends (20 of them to be exact) would buy motorola until I told them my experience now they're looking elsewhere. !

    Your company is losing and not listening to the customers and try to trick customers how do you improve these sales... !

    My next phone won't be motorola that's for sure. !

  • The proSafe (JGS524E + GS116E) Switches: Configuration Management Web GUI in VLAN specific

    Hello

    I use a JGS524E and a GS116E. The two are connected via a 802. 1 q uplink with all defined VLANS in him.

    A 802. 1 q other interfaces goes to a pfsense firewall, which serves as a router and dhcp server for each VLAN that I use.

    How can I configure the switches plug are in one VLAN specific and get his IP address of the dhcp server in this VLAN?

    At present, it seems to be random access: it is not predictable that range from intellectual property, it takes its IP configuration via dhcp...

    How management function works internally?

    Thank you

    Markus

    Hello

    Thank you. I tried it out, but the behavior seems to be a little different:

    I configured a static IP address for the switch (10.1.0.13 / 24). I have access to the switch web gui via the ip address of the host of a host directly connected (connected via a trunk port, where I put 1 VLAN on the trunk), but it is all the same, what VLAN that I use:

    When it is connected to the VLAN 1 I have access, but also through 10 VLANS, VLAN 20 and so forth (assumed, I configure my computer appropriate staticly in the IP network, for example 10.1.0.20 / 24). So it seems not be limited only to the VLAN 1. You have access to each vlan, only the IP configuration must be in the same network.

    I'm not sure, how it behaves when cascading the two switches, I have not tried.

    If this information can be useful for other users with the same question about this switching product line.

    For me, this behavior is not very well implemented from my point of view. For security reasons, you must limit access to the administration, for example by allowing access from a specific hardware port or a vlan. With the effective implementation, centralized management for a cascade topology is not easy to set up, perhaps because the behavior is not very clear and not documented in the manuals.

    Mentioned on the edge: there is no available TLS/SSL encryption when accessing the web gui (not https). So the password is transmitted in clear text... not a very good idea, I think.

    Thanks a lot for your help.

    Best regards

    markusd112

  • E30 GPU Intel HD Graphics P3000 and GTX560Ti... Question?

    I managed successfully to adapt to an Asus GTX560Ti CUII 1 GB DDR5 card in the tiny bowels of my E30.

    I also upgraded to an ACE 'Black edition' 650BR 650w POWER supply unit. things work well for the moment in any case.

    I use the GPU GTX560Ti to an iRay CUDA renderer in 3DS Max 2013.

    Question...:

    Can I operate the monitor off the chip integrated Intel HD P3000, while having the GTX560Ti recognized by the E30 in the form of secondary card?

    I tried the BIOS setting for 'Video' of the 'AUTO' to "IGD" or what was the abbreviation for switching internal GUI. Then I plugged the via VGA in connector of the card mother VGA monitor to the rear. It starts up fine, but when I run 3DS Max 2013 he couldn't find the map GTX560Ti on the inside.

    I can run BIOS 'Video' as 'AUTO', and the GTX560 card works well as a main card. I want to just run as a secondary card, in order to free up memory cards to render iRay rather than be a Windows display adapter.

    Any help or ideas?

    Thank you

    Well with the IGP as primary; from the start the desktop both resident boot Asus graphic apps (SmartDoctor and GPUTweak) have both reported the lack of card. I went to start 3ds Max and entered in the dialog iRay, scrolled down and where the GPU was usually selectable was now empty. I assumed, and quite, not companies in the PC card.

    Anyway, I seem to have fixed "memory" problems to tweak some settings in Max;

    memory and performance parameters/bitmap /Render options/bitmap proxies on and systems / make with proxies.

    (This adjustment clips and reduction textures not visible within the limits of the object they are applied to so that it loads less bitmaps in memory cards)

    I also used a third party called PolygonCrusher application to reduce the number of polygons and so faces to load into memory too. That dropped the polygons around 50% without any significant artifacts.

    Everything works fine now, and on doubts, I also like boost GUI I get in applications to use as primary GTX560. Maybe when the budget of departments is reset next year I'll put in an order for a 2 GB card, but for now I think I've got it sorted at a performance level that is achievable.

    Thanks for your help, Erik

  • How to display data series changed after each step in labview gui, that is to say after the match point fantasy, after substring etc.

    Hi, I have a labview GUI that receives data serially through VISA and basically chops to the strings and realize games until I have values that I'm looking for. I have then convert Ascii string in decimal and feed the new values to a waveform. However, I discovered that some of the output values are incorrect. I checked this by pulling data through Realterm.

    Is it possible that I can see the modified data after each step in the user interface so that I can find where the problem is? I created indicators after each step, but they do not display data, I guess that its because the data is moving too quickly.

    I am very new to labview and struggled through every bit of this GUI, as none of you regular posters know. If you can suggest a solution, please know that I will probably ask more fundamental questions in order to implement your solution.

    I enclose my GUI with a screenshot of the same data through the Realterm. Basically any where you see xxxx TR TR or W xxxxW, know that it is the data between them is to say xxxx that corresponds to the data of interest. Everything else is ignored.

    I suspect that the problem lies in the string to decimal conversion and where 3 digit values increase to 4-digit values. That is, all values of less than 850 are correct but it is the maximum value is reached. My values are expected to reach 2500. Any help would be greatly appreciated.

    You have other debugging tools available to you.  You can use the run culminating to slow down the code and show you the data flowing from each wire.

    You can create a Subvi, which takes the data of each wire and written to a log file if you can review it later.

    You give not the screenshots to your message.

Maybe you are looking for