Throw a UI object on top of another user interface object

Hello friends and family,.

So, I'm looking to place a label field ontop of a bitmap image. No idea how to do this? I want to do bitmap image to be in the background and the label at the forefront (top).

Thanks for the help.

I personally prefer to create a custom Manager.

Here is an example

public class CustomManager extends Manager {

    public CustomManager(long style){
        super(style);
    }

    protected void sublayout(int w, int h){
        Field field = null;
        int nb = getFieldCount();
        for(int i=0; i

In this code, you create a handler, so for each field added to the Manager, you specify what are the coordinates (relative to the Manager)

The easy way for you is to create the Manager and specify the height and width depending on the size of the bitmap image, place the bitmap (0; 0) and place the label where you want on the bitmap image.

Of course, he must add the bitmap image to the Manager before adding the label

Tags: BlackBerry Developers

Similar Questions

  • You can adjust the opacity in Adobe video? My goal is to have a clip playing on top of another, similar to a double exposure. If not, is there an iOS application that can?

    You can adjust the opacity in Adobe video? My goal is to have a clip playing on top of another, similar to a double exposure. If not, is there an iOS application that can?

    I dug around and found that imovie 9 will do, not elegant, but looks like it will work for this experience.1

  • ODI - planning - the object... is locked by another user?

    I am trying to execute an interface to remove L0 in the Planning, but I get an error message:

    org.apache.bsf.BSFException: exception of Jython: Traceback (innermost last):
    "< String >" file, line 23, in there?
    com.hyperion.odi.planning.ODIPlanningException: com.hyperion.planning.ObjectIsLockedException: plant object is locked by another user.
    + com.hyperion.odi.planning.wrapper.PlanningWrapper.beginLoadDimension (Unknown Source) +.
    + com.hyperion.odi.planning.ODIPlanningWriter.loadData (Unknown Source) +.
    + sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) +.

    How can I avoid it? Thank you

    Hello

    Sorry Nico who is bad planning not a mistake to essbase.

    The error means planning is locked, this usually means that build a dimension has been arrested before completing and left a lock on the app.

    There is a utility in the planning\bin directory, called HspUnlockApp , launches the present, and it will unlock the application.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Another user has modified the line containing oracle.jbo.Key primary key

    Hello

    In jdev 12 c

    I have a jsf page in a BTF, and there is a display of master(A:readonly table)-detail(B1:readonly table)-detail(B2:editable form) this page

    The (readonly table) B1 and B2 (editable form) are created on the same data control. There is no other layout compicated or functions on this page.

    The B2 (editable form) was based on a VO whose id is a type of DBSequence, and the new value has been created by a database trigger.

    I put

    All the columns that are updated by a database trigger or a PL/SQL call, are enabled for "Refersh on Insert" (for the case of the insertion) or "Refresh update" (for the case of update) or both in the entity object xml file.

    But when I submit/validate the page (form B2), the error msg 'another user has changed the line containing oracle.jbo.Key primary key' was always held randonly.

    And after the error msg, I can commit the data successfully by press the button validate again.

    How can I solve this problem?

    Thank you.

    The problem is that you use the pl/sql code. It is run out of the box. When a change is made in a row in this way, the framework removes upward, neither knowing that the change was done rightly and throws an error message.

    The code (which I copied from the other thread for reference) intercepts the error and re executs the lock in the case of the specific error.

    /*** customizing locking management:

    * Because attribute values can change 'outside' ADF standard life cycle,

    * when optimistic locking executes, the exception "Another User Changed the Row" is thrown.

    * In this case, we execute locking again, ignoring the exception

    */

    public void lock()

    {

    try

    {

      super.lock();

    } catch (oracle.jbo.RowInconsistentException e)

    {

      if (e.getErrorCode().equals("25014"))

      {

      super.lock();

      }

      else throw e;

    }

    }


    Timo

  • Error: "it is not possible to disable the connection at this time. "This connection may be using one or more protocols that don't support Plug-and-play, or it may have been initiated by another user or the system account.

    Original title: unable to disable my lan connection

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas:

    • I turn off my connection to the local network, it is showing message.

      It is not possible to disable the connection at this time. This connection may be using one or more protocols that don't support Plug-and-play, or it may have been initiated by another user or the system account.

      Please answer soon

      You have problems with programs

    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    Hi MVTDA,

    You can try the following methods and check to see if it helps:

    Method 1:

    a. Click Start and select run, type cmd and click OK.

    b. type net stop cryptsvc and press ENTER.

    c. type ren %systemroot%\System32\Catroot2 oldcatroot2, and then press the Enter key.

    d. restart the computer.

    e. open new command prompt and Type net start cryptsvc, and press ENTER.

    Method 2:

    If the same problem persists then you can try to uninstall the network drivers and check.

    a. click the Start button. Select run, type devmgmt.msc and press OK.

    b. Select the network card and right click on it.

    c. now, select Properties.

    d. in the Properties window, on the driver tab, click Uninstall.

    e. After you have uninstalled the drivers, restart the computer.

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to view the activity of another user on the computer

    I want to be able to search the activity of another user, and if I am able to see what they've removed because my son told me it wouldn't matter because it has deleted his old research and e-mail. So I guess my main question is if you can view deleted the activity. I am registered as an administrator. Vista is the operating system that I use

    Set up Parental controls activity reports

    You can use activity reports to see your children's online activities.

    To turn on activity reports

    1. Parental control opened through Control Panel. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. Click the account you want to turn on activity reporting for.

    3. Under Parental controls, click.

    4. The title of the activity tracking, click on, collect information about the use of the computer.

    To view activity reports

    1. Open parental controls in Control Panel. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.

    2. Click the account that you want to view activity reports.

    3. Click view reports of activity.

    I hope this helps

    If this post can help solve your problem, please click the 'Mark as answer"If you find it useful, mark it as useful by clicking the 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Performance issuses, impossible to uninstall a program, add another user account, the computer doesn't turn off etc.

    Can anyone help, my vista home 32-bit edition computer is seriously messsed! ??

    I'm unable to download windows updates and I have like 20 of them to download, it just never performs an act he says its download, but it's not I can leave it for hours and nothing happens, this causes problems because my computer does now, because when you do it just says : configuration of updates and can last for hours, so I have to unplug the power to turn it off, which is not good for the computer.

    IM also having problems with other things such as it won't let me uninstall not more programs, I can't do a restore of the system from the control panel or add another user account. freezes Internet too much, slow start. I always get microsft popups saying: "the program has stopped working and not could find solutions to this problem" but I did a system restore in safe mode, but the dates were 3 months back and that didn't help the performance of this computer. I want to return to a closer date now, but I can't. as it doesn't let me do a restore of the system in the menu start control pannel ir.

    I run a scan with malaware had 181 made thereats that were deleted but I still have the same problems as above

    He said also my windows defender is not protected (outdated) more and needs to update, but it will not update

    Help, please

    Hi gandt85,

    1. you remember to make changes to the computer before this problem?

    2. are you able to boot into safe mode without any problem?

    Since you are not able to restore the system to normal mode, I suggest you to do a system restore to a recent date of WinRE using the full version of Windows Vista disk.

    Method 1:

    Do follow link below:

    What are the system recovery options in Windows Vista?

    http://Windows.Microsoft.com/en-us/Windows-Vista/what-are-the-system-recovery-options-in-Windows-Vista

    Method 2:

    You can also try to run a scan using Microsoft Security Essentials.

    Check out the link:

    http://www.Microsoft.com/security/products/MSE.aspx

    Also, try the malicious software removal tool and check.

    http://www.Microsoft.com/security/malwareremove/default.aspx

    Hope this information is useful.

    Jeremy K
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Impossible to uninstall Windows SteadyState or the opening of session "another user"...

    Hello, I recently tried Windows SteadyState to keep my PC to get banged by my nephew and my brother not so savvy in computer and download _ not knowing the source or if it has malware attached. in any case it was too complicated for me to understand, itself tried to uninstall it, it is not in the programs; used Revo Uninstaller, even deleted the files of the register... but it's ALWAYS THERE! I also tried to remove additional users added to the logon screen, to no avail... Any ideas?

    I am happy that we managed to get rid of these two files.  I installed SteadyState just to see what would happen and I also have another user on my login screen if it is not listed in the user accounts and so it cannot be deleted anyway, I know.  As long as it requires a name and a password (so not just anyone can get in), then I would probably just that it is--that's what I'll do (at least for now).  It is causing no harm and is secure.  You are probably right that SteadyState doesn't has not been uninstalled completely - perhaps reinstall it and uninstallling this new will do the trick.

    Alternatively, you can try posting in the SteadyState Forum: http://social.microsoft.com/Forums/en-US/windowssteadystate/threads to see if they have any ideas or suggestions.

    I hope this helps.

    Good luck!

    Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • How to recover the active user interface objects on a screen?

    Hello

    Is it possible to recover all of the active user interface objects on a screen?

    I found ago api like net.rim.device.api.ui.Screen.getFieldWithFocus, but how to get sound type of subclass as ButtonField or BitmapField?

    another take:

    If you retrieve the field with focus, you can check what type of field you have recovered (using instanceof, for example)

  • Another user changed the row with a primary key oracle.jbo.Key]

    I see many discussions about this error, but still cannot understand the difficulty that I need in my scenario.

    I am an Oracle Developer and completely new to ADF, please bear with me.

    I use JDeveloper 11.1.1.9.0

    My scenario:

    Creates an object editable view (UVO) with sub selects in the query, which is from several db tables.

    Creating a table using the UVO

    When I try to update a field in the table, and then click the validate, I get the error message:

    Another user changed the row with a primary key oracle.jbo.Key]

    Can someone explain in what scenarios I see this error and how do I solve this problem?

    Try the viewObject execution after validation and reQueryOnCommit set to true

    For details see - binary: a reason more for "Houston-25014: another user has modified the line containing oracle.jbo.Key primary key '

    Ashish

  • Another user has modified the line containing oracle.jbo.Key [186 primary key].

    $36F1884EBC353A84.jpg

    as summer sees in this photo, when I click on the button to edit, it will invoke the code like this:

    BindingContext bcxt1 = BindingContext.getCurrent ();

    DCBindingContainer bc1 = (DCBindingContainer) bcxt1.getCurrentBindingsEntry ();

    DCIteratorBinding iterProj = bc1.findIteratorBinding("CuxProjects1Iterator");

    DC DCDataControl = iterProj.getDataControl ();

    ApplicationModule am = (ApplicationModule) dc.getDataProvider ();

    ViewObject projVO = am.findViewObject("CuxProjects1");

    projVO.clearCache ();

    projVO.setNamedWhereClauseParam ("project", currProjId);

    projVO.executeQuery ();

    got this page with changes on the name of the project:

    $24017B6E59120421.jpg

    then click on 'done' button.invoke a procedure like this:

    State channel = null;

    DBTransaction connection BD = this.getDBTransaction ();

    CallableStatement st =

    BD connection.createCallableStatement ("start cux_projects_crud.update_proj(?,?,?,?,?,?,?); end; ", 0) ;

    try {}

    st.setInt (1, proId);

    st.setString (2, proName);

    st.setString (3, proSummary);

    st.setDate (4, null);

    st.setDate (5, endDate);

    st.setInt (6, userId);

    st.registerOutParameter (7, Types.CHAR);

    st.executeUpdate ();

    State = st.getString (7);

    Then return to the first page as the top image.

    My problem is not rested but redesigned data into DB. When I click on the button to edit again, I get ' javax.faces.el.EvaluationException: oracle.jbo.RowInconsistentException: Houston-25014: another user has modified the line containing oracle.jbo.Key [186 primary key].» This error. How to solve this problem?

    In addition, I see a problem that the changes you make in the procedure are not validated and will not be picked up by the query.

    Timo

  • What is this error represents "another user has changed the line containing oracle.jbo.Key [21 primary key]."

    Mr President.

    What is this error represents "another user has changed the line containing oracle.jbo.Key [21 primary key]."

    Concerning

    You get this exception quite often when you have a business in PL SQL layer, but you can safely ignore (suppress) it by substituting the lock() method in all implementation of your entity classes.

    /*** customizing locking management: 
    * Because attribute values can change 'outside' ADF standard life cycle, 
    * when optimistic locking executes, the exception "Another User Changed the Row" is thrown. 
    * In this case, we execute locking again, ignoring the exception 
    */ 
    public void lock() 
    { 
     try 
     { 
      super.lock(); 
     } catch (oracle.jbo.RowInconsistentException e) 
     { 
      if (e.getErrorCode().equals("25014")) 
      { 
      super.lock(); 
      } 
      else throw e; 
     } 
    }
    
  • creating cloud runs is not on another user

    I installed the app to create clouds on account of major users on my Mac. I also installed first. However, when I log off and connect to another user on the computer, the creative application cloud does not work properly. the 'window' is empty (no pattern or text in the window, just white, with the exception of top that says creative cloud). I also noticed that the Adobe Creative Cloud folder is not available me me.

    Hello

    I think you are referring to the white empty window of CC desktop application.

    Please refer to the threads below where this issue has been addressed:

    Creative cloud is empty window why?

    Cloud Desktop App is empty?

    New application Cloud Creative unusable: it is empty!

    Re: Empty opening creative cloud app

    Kind regards

    Sheena

  • How to change the user interface of the entity object indicators / Validation msg when running?

    Hello

    I use JDeveloper with version 11.1.1.6.3. Given my requirment details below.

    Suppose I have a (say 'EMPLOYEE_RATING') table in DB with the following structure.

    Columns:

    1 EmployeeId (Employee Id)

    2 RatingType (values can be in Stock or Bonus)

    3 RatingLevel (values can be 1, 2, and 3)

    Constraint:

    EmployeeId, RatingType and RatingLevel all together must be unique.

    Requirement:

    The customer's requirement is to have two screens of rating (one for Bonus another stock) and display different user interface boards and validations as follows.

    1 RatingType is a hidden field, are defined with the default (Bonus or Stock) based on the screen that the user opens.

    1. for the Stock screen, RatingLevel label should be "Stock note.

    2. for the Bonus screen, the label should be 'Bonus Rating'.

    3. for validation, the message must be 'Bonus note level must be unique' or 'Level of Stock of notes must be unique' ADB on the user screen opens.

    Implementation:

    I have a def EO (for example "RatingEO") and VO (for example ' RatingVO') def. Tips UI (Label) are given at the level of the OS. Also the unique constraint validation is made to EO with the message ' {0} and {1} must be unique, where {0} is source.hints.EmployeeId.label "and {1} is source.hints.RatingLevel.label.  I also did the shuttle two different instances of the VO (EmployeeRatingBonusVO and EmployeeRatingStockVO) in the request form (although BonusTaskFlow and StockTaskFlow are set to open with the new transaction, Intension of the two shuttle different named instances is to have the common code in VO. impl class but can run different business logic code by checking the name of the instance of VO)

    Question:

    Since I have two different pages, I can define two different labels in the jsff, but I can't change the commit message defined at the level of object entity based on open display. At the opening of the screen, depending on the type of screen, I should be able to change the label specified at the level of the entity object. (It should not affect the definition but only the instance). As this entity object cannot be distinguished (if it belongs to Bonus or Stock), I have problem on how to change the indicators of UI during execution.

    Any help on this would be appreciated! Thank you.

    Rami

    Post edited by: rami

    I tried your script.

    I created the secondary key with EmployId and rating level. I added validation of Unique key. In failure handling handling section of the validator, I gave the error message like: {0} must be unique. For token 0: I gave RatingType (here RatingType is the name of the attribute in OT).

    We give the default for RatingType as Stock Bonus in VO. kind RatingType get its value or Stock Bonus based on the original Version that we use.

    I hope this helps.

  • Index of area of another user deleting - lack of permissions

    Hello

    My system user is able to delete a regular index to another user after you disable the DBA role. It's impossible, but the deletion of a domain created by the same user index.

    SELECT * FROM USER_SYS_PRIVS;

    USERNAMEPRIVILEGEADMIN_OPTION

    ------------------------------ ---------------------------------------- ------------

    SYSTEMSELECT ANY DICTIONARYNO.
    SYSTEMRUN A PROCEDURENO.
    SYSTEMDROP TABLESPACENO.
    SYSTEMGLOBAL QUERY REWRITENO.
    SYSTEMCREATE A MATERIALIZED VIEWNO.
    SYSTEMALTER ANY TABLENO.
    SYSTEMCREATE TABLENO.
    SYSTEMALTER TABLESPACENO.
    SYSTEMCREATE TABLESPACENO.
    SYSTEMUNLIMITED TABLESPACEYES
    SYSTEMREMOVE ANY MATERIALIZED VIEWNO.
    SYSTEMSELECT ANY TABLENO.
    SYSTEMREMOVE ANY INDEXYES

    DDL, used for the creation of index (running under the user star1)

    Start

    ctx_ddl.create_preference ('SUBSTRING_PREF', 'BASIC_WORDLIST');

    ctx_ddl.set_attribute ('SUBSTRING_PREF', 'SUBSTRING_INDEX', 'TRUE');

    end;

    CREATE INDEX 'FTXTINDEX101' ON 'FACT_CHARGE' ('SAVEC_RECONCILING_USERS') indextype is ctxsys.context parameters ("wordlist SUBSTRING_PREF MEMORY 50 M SYNC (ON COMMIT)");

    create table test (x varchar (20))

    create index test_index on test ('X')

    Now, when I run the following under system, I get the error mentioned in the lower part:

    role play all except DBA;

    Drop index star1.test_index;

    index STAR1T. TEST_INDEX dropped.

    Drop index star1. FTXTINDEX101

    Error report:

    SQL error: ORA-01031: insufficient privileges

    01031 00000 - "insufficient privileges".

    * Cause: An attempt was made to change the user name or password

    without the privilege appropriate. This error also occurs if

    trying to install a database without the need for employment

    access privileges.

    When Trusted Oracle is configure in DBMS MAC, this error may occur

    If the user has been granted the privilege necessary for a higher label

    that the connection is active.

    * Action: Ask the database to perform the operation or grant administrator

    the required privileges.

    For users Trusted Oracle get this error, well that granted the

    the privilege that is suitable for the top label, ask the database

    administrator to grant the privilege to the appropriate label.

    --

    If I let the system use its DBA roles, that the index is deleted. I struggle to identify approval which is induced by the DBA role and which allows to drop other indices of field system.

    Thanks for the tips,

    Radek

    PS. Oracle version information

    Oracle Database 11 g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE 11.2.0.1.0 Production
    AMT for 64-bit Windows: Version 11.2.0.1.0 - Production

    NLSRTL Version 11.2.0.1.0 - Production

    grant modify any index system;

Maybe you are looking for

  • What are the symbols below the post titles?

    the check mark that I receive, check mark green, resolved. What is the Red Star? I have however it could be new positions or those I had not read, but these two criteria appear not to be the case. What is the black Apple? If it was Apple feedback but

  • MainStage newbie

    Is there a "Dummies guide" to learn the 3 MainStage? I'm a guitarist/bassist looking to integrate loops in a real game situation. Any help is appreciated.

  • Satellite click 10 - keyboard battery is not available

    Hi, just bought a LX5W 10 click and the State of the battery for the keyboard says "This battery is not available for use" the keyboard works fine. I've updated the bios and 1.7, responsible for 24 hours and the windows update 10 nothing helps. Any i

  • Answer to security question

    Apple ID by filling out your ID and security questions that you have 2 as were your parents did or what was your first car. I forgot or I think I will give the right answer how this can be changed or repeat responses. Now, I can't get into apple.

  • Application of the computer settings. Update

    Hello After I downloaded some updates of high priority on my computer 3 other computers to my work and my computer are still blocked on the "Application of the parameters of the computer" message during Windows startup. I deleted the updates of windo