Changing textfield cursor color in Forms

Hi All,
We are using Oracle App Server 9iAS and 9iDS. I need to change the color of my cursor for the text field/or change the cursor to a block cursor in forms application. Does any one know how that can be done ?.
TIA
Saurabh

Saurabh,
changing the color of a cursor is more difficult than changing its shape. You can use a PJC to change the cursor shape to one of the standard shapes. If you need a custom cursor then you still can used a PJC, but designing your own cursors in Java is not trivial.
See:
http://www.oracle.com/technology/sample_code/products/forms/demo/9i/javabeans_pjc_samples/mod_cursor/viewlet/pjc_modcursor_viewlet.html
which is available in the Forms 9i demos at
http://www.oracle.com/technology/sample_code/products/forms/index.html
Frank

Similar Messages

  • (J2ME)change the Background Color Of Form

    Hello
    I have a question about create a Form on J2ME Midlet.
    How could we change the Background Color Of Form? Is it possible?
    Thanx a lot.

    You can try the J2ME forums http://forum.java.sun.com/category.jspa?categoryID=23
    Then don't seem to be bursting with life though. You may find what you need searching these examples http://www.java2s.com/Code/Java/J2ME/CatalogJ2ME.htm
    I don't use J2ME myself.

  • Is there a way to change the cursor color in TextEdit?

    If I am typing with white on a black background the cursor becomes invisible. Is there a way to change this besides to change the background color to another color?

    Sorry, but no.

  • How do I change the highlight color of forms?

    I'm using Acrobat Pro X.
    I need the form highlights to be transparent when another user opens the pdf, views and fills individual forms out.
    Trying to keep this very simple for end user. I don't want to give the user instruction on how to go to preferences and change highlight color. 
    Please help!
    Thanks!

    Wow!  I was trying too hard I guess.   Will this bypass the preferences set
    on another users computer?
    Thanks,
    Chris

  • Changing the Cursor Color

    Is anyone aware of a way to change the color of the cursor from black to a lighter color? White or a light gray would be ideal.
    I am working with a document that has a dark background that even shifts to black in certain areas. The problem is that I can hardly ever see the cursor so I often loose my place while jumping around doing edits.
    I know that hiding the background would let me see the cursor however since I am using a light font hiding the background would require that I switch my styles back to dark colors and then back again and that would be a pain.
    Rob

    I'm sure there are a number of third-party system utilities or haxies that can do this. I suggest a search on MacUpdate or VersionTracker, perhaps looking for "cursor" to start.

  • Changing Cursor Color

    can i change the cursor color beside changing its type ??

    I thought Toolkit.createCustomCursor was used for this sort of thing.
    You don't seem to be able to capture the Image representing a system cursor, however, so can't base a custom cursor on changing the colour of a system one.
    You could probably get around this by using a custom cursor for your entire application (or at least the part that requires its colour to change) and use colourised versions of that as appropriate.
    Hope this helps.

  • Zsh change cursor color to indicate vi mode

    Hello, I have written this for the .zshrc to change the cursor color to red when in cmd mode on the zsh command line.
    zle-keymap-select () {
    if [ $KEYMAP = vicmd ]; then
    echo -ne "\033]12;Red\007"
    else
    echo -ne "\033]12;Grey\007"
    fi
    zle -N zle-keymap-select
    zle-line-init () {
    zle -K viins
    echo -ne "\033]12;Grey\007"
    zle -N zle-line-init
    bindkey -v
    It works well in urxvt however my tty does not know what to do with the escape codes so It just prints them to the command line. Is there any command for changing the cursor color that is for urxvt only? I think this would fix the problem.
    Thanks,
    Andreas

    Cool! The extra $TERM conditional works. Thank you.
    With xterm the color changing does not work as well, the cursor color only changes back to insert-mode-color once text is being typed.
    This is working for me. I may simplify it later.
    zle-keymap-select () {
    if [ $TERM = "rxvt-256color" ]; then
    if [ $KEYMAP = vicmd ]; then
    echo -ne "\033]12;Red\007"
    else
    echo -ne "\033]12;Grey\007"
    fi
    fi
    zle -N zle-keymap-select
    zle-line-init () {
    zle -K viins
    if [ $TERM = "rxvt-256color" ]; then
    echo -ne "\033]12;Grey\007"
    fi
    zle -N zle-line-init
    bindkey -v
    There are many colorname choices in /usr/share/X11/rgb,txt
    You can also add colors. Or just use rgb values directly, apparently. More about the color stuff here.
    EDIT: You can just use the hex as you defined it in your .Xdefaults:
    echo -ne "\033]12;#83C048\007"
    Last edited by AndreasBWagner (2010-05-01 02:48:28)

  • When I send or receive e-mail, the mail gets changed significantly from its' original form.....typestyle, size of letters, symbols, page layout, color, everything changes.....is there a way to fix that?.....

    When I send or receive e-mail (Thunderbird).....the mail gets changed significantly from its original form.....typestyle, font size, symbols, page layout, color.....everything changes.....is there a way to fix that so my the original form of the mail is not changed?.....

    Just to recap, this is a collection of ports I have collected over time for people who needed this information when setting up the HP ePrint app so that they could view their email from within the app.  I am certain other applications also need this information.  Although lengthy, I could not find a more comprehensive place to retrieve this information.  Feel free to post additional information, faulty information, or other related topics below as this is simply a collection of data and it would be practically impossible to test all of them. Thank you!
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Code for changing a TextField BackGround color?

    Hello again!
    I can´t find anywhere the code for changing the background color of a TextField, anyone knows?
    I tried:
         TextField.border.fill.color.value = "255,255,255";      // doesn´t change bg color
         TextField.caption.font.fill.color.value = "255,255,255";     // doesn´t change bg color
         TextField.value.rectangle.fill.color.value = "153,153,153";      // doesn´t change bg color
    Bur none of them works!

    The script works fine..please show here..
    https://workspaces.acrobat.com/?d=EKbH6jmrJ-5RXnVNyxPiPA
    Kind regards,
    Mandy

  • Cursor color change according to background

    The default cursor is Black, and black tool-tips (such as slashes, carats, circles, eyedrop, etc...).  However, I have trouble tracking down a certain line segment or end-point when I can't see the black slash on the thick black border.   All I can do is change the item to white, make my selection, make the connection, then change it back to black.  Very time consuming and interrupts the creative flow.
    Is there a plug-in or setting so that the cursor color changes from black to white according to the darkness/lightness of the background?    Or am I simply SOL?

    Nope, that stuff is hard-coded. If you have difficulty in detecting thin elements, I suggest you use the colored paper simulation in the doc settings/ prefs and assign som contrasty color temporarily If you e.g. work with black and white, obviously something like a dirty lime green or greenish grey will work perfectly rfor both colors...
    Mylenium

  • Change footer font color with embedded form?

    How do I change the font color on the footer of a form in FormsCentral?
    When I developed the form I was using a design that looked great in a standalone format, but we're considering embedding the form. When I went to embed the form, the links at the bottom became useless because the font in the footer is white (see attached screen shots).

    Hi,
      In order to see the background color of the form, you will have to enable it.
    Open the form in FormsCentral, go to Distribute tab / Embed sub tab and check : "Include page background color" check box.
    >>How do I change the font color on the footer of a form in FormsCentral?
    You will need to change the text color of your form header.  Open the form in FormsCentral, select Design Tab, select the form header, select the text and change the text color to other-than-white via the Toolbar.
    Hope this works for you,
    Thanks,
    Lucia

  • Customizing Cursor Color and/or appearance:  Does anyone know if you can change cursor color?

    Customizing Cursor Color and/or appearance:  Does anyone know if you can change cursor color in Mountain Lion? Any software for customizing and saving different cursors for Mountain Lion? Already have cursor size changed, but would like more options. Are more cursor customization options coming in future Mac OS X versions?

    There may be some haxies/3rd party s/w that can do this, but I've not heard of them.
    Customisation is limited on macs, unless you start hacking deep into the coreservices of the system - dodgy at best and almost certainly to get reset on the next update from Apple central
    Think different? Nooo....that was just a slogan.

  • Colorful Web Forms does not work in IE like it does in Firefox

    Well, I have this great colorful web form that I got from Paulo Vale. The colors of the textareas, textfields, and select lists all change colors as they should when I mouseover them and when I set focus and type in them .......... if I am in Firefox.
    When I try to run my application in IE, none of this works.
    Does anyone know what I need to do to get this to work in IE like it does in Firefox?
    Thank you,
    Maggie

    Yes, I can provide the code.
    Thank you, Andy
    <style type="text/css">
    select.slCamp {
    color:
    #000000;
    background-color:
    #FFFFCC;
    cursor:
    pointer;
    select:hover.slCamp {
    color:
    #000000;
    background-color:
    #E6FF97;
    select:focus.slCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    textarea.taCamp
    background-color:
    #FFFFCC;
    textarea:hover.taCamp {
    background-color:
    #E6FF97;
    color: #000000;
    cursor: pointer
    textarea:focus.taCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    cursor: text;
    textarea.taOptCamp
    background-color:
    #FFFFFF;
    textarea:hover.taOptCamp {
    background-color:
    #E6FF97;
    color: #000000;
    cursor: pointer
    textarea:focus.taOptCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    cursor: text;
    select.slOptCamp {
    color:
    #000000;
    background-color:
    #FFFFFF;
    cursor:
    pointer;
    select:hover.slOptCamp {
    color:
    #000000;
    background-color:
    #E6FF97;
    select:focus.slOptCamp {
    color:
    #FFFFFF;
    background-color:
    #81AD00;
    </style>
    Andy, anything that has an 'Opt' in the name is used with a field or list that is optional. I did this so that there would be a difference in the manddatory and optional fields.
    Edited by: mjhamilton on Jan 5, 2009 12:01 PM

  • How to change font/ font color etc in a graphic object using JCombobox?

    Hello
    My program im writing recently is a small tiny application which can change fonts, font sizes, font colors and background color of the graphics object containing some strings. Im planning to use Jcomboboxes for all those 4 ideas in implementing those functions. Somehow it doesnt work! Any help would be grateful.
    So currently what ive done so far is that: Im using two classes to implement the whole program. One class is the main class which contains the GUI with its components (Jcomboboxes etc..) and the other class is a class extending JPanel which does all the drawing. Therefore it contains a graphics object in that class which draws the string. However what i want it to do is using jcombobox which should contain alit of all fonts available/ font sizes/ colors etc. When i scroll through the lists and click the one item i want - the graphics object properties (font sizes/ color etc) should change as a result.
    What ive gt so far is implemented the jcomboboxes in place. Problem is i cant get the font to change once selecting an item form it.
    Another problem is that to set the color of font - i need to use it with a graphics object in the paintcomponent method. In this case i dnt want to create several diff paint.. method with different property settings (font/ size/ color)
    Below is my code; perhaps you'll understand more looking at code.
    public class main...
    Color[] Colors = {Color.BLUE, Color.RED, Color.GREEN};
            ColorList = new JComboBox(Colors);
    ColorList.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ev) {
                     JComboBox cb = (JComboBox)ev.getSource();
                    Color colorType = (Color)cb.getSelectedItem();
                    drawingBoard.setBackground(colorType);
              });;1) providing the GUI is correctly implemented with components
    2) Combobox stores the colors in an array
    3) ActionListener should do following job: (but cant get it right - that is where my problem is)
    - once selected the item (color/ font size etc... as i would have similar methods for each) i want, it should pass the item into the drawingboard class (JPanel) and then this class should do the job.
    public class DrawingBoard extends JPanel {
           private String message;
           public DrawingBoard() {
                  setBackground(Color.white);
                  Font font = new Font("Serif", Font.PLAIN, fontSize);
                  setFont(font);
                  message = "";
           public void setMessage(String m) {
                message = m;
                repaint();
           public void paintComponent(Graphics g) {
                  super.paintComponent(g);
                  //setBackground(Color.RED);
                  Graphics2D g2 = (Graphics2D) g;
                  g2.setRenderingHint             
                  g2.drawString(message, 50, 50);
           public void settingFont(String font) {
                //not sure how to implement this?                          //Jcombobox should pass an item to this
                                   //it should match against all known fonts in system then set that font to the graphics
          private void settingFontSize(Graphics g, int f) {
                         //same probelm with above..              
          public void setBackgroundColor(Color c) {
               setBackground(c);
               repaint(); // still not sure if this done corretly.
          public void setFontColor(Color c) {
                    //not sure how to do this part aswell.
                   //i know a method " g.setColor(c)" exist but i need to use a graphics object - and to do that i need to pass it in (then it will cause some confusion in the main class (previous code)
           My problems have been highlighted in the comments of code above.
    Any help will be much appreciated thanks!!!

    It is the completely correct code
    I hope that's what you need
    Just put DrawingBoard into JFrame and run
    Good luck!
    public class DrawingBoard extends JPanel implements ActionListener{
         private String message = "message";
         private Font font = new Font("Serif", Font.PLAIN, 10);
         private Color color = Color.RED;
         private Color bg = Color.WHITE;
         private int size = 10;
         public DrawingBoard(){
              JComboBox cbFont = new JComboBox(GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames());
              cbFont.setActionCommand("font");
              JComboBox cbSize = new JComboBox(new Integer[]{new Integer(14), new Integer(13)});
              cbSize.setActionCommand("size");
              JComboBox cbColor = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbColor.setActionCommand("color");
              JComboBox cbBG = new JComboBox(new Color[]{Color.BLUE, Color.RED, Color.GREEN});
              cbBG.setActionCommand("bg");
              add(cbFont);
              cbFont.addActionListener(this);
              add(cbSize);
              cbSize.addActionListener(this);
              add(cbColor);
              cbColor.addActionListener(this);
              add(cbBG);
              cbBG.addActionListener(this);
         public void setMessage(String m){
              message = m;
              repaint();
         protected void paintComponent(Graphics g){
              super.paintComponent(g);
              Graphics2D g2 = (Graphics2D)g;
              g2.setColor(bg);//set background color
              g2.fillRect(0,0, getWidth(), getHeight());          
              g2.setColor(color);//set text color
              FontRenderContext frc = g2.getFontRenderContext();
              TextLayout tl = new TextLayout(message,font,frc);//set font and message
              AffineTransform at = new AffineTransform();
              at.setToTranslation(getWidth()/2-tl.getBounds().getWidth()/2,
                        getWidth()/2 + tl.getBounds().getHeight()/2);//set text at center of panel
              g2.fill(tl.getOutline(at));
         public void actionPerformed(ActionEvent e){
              JComboBox cb = (JComboBox)e.getSource();
              if (e.getActionCommand().equals("font")){
                   font = new Font(cb.getSelectedItem().toString(), Font.PLAIN, size);
              }else if (e.getActionCommand().equals("size")){
                   size = ((Integer)cb.getSelectedItem()).intValue();
              }else if (e.getActionCommand().equals("color")){
                   color = (Color)cb.getSelectedItem();
              }else if (e.getActionCommand().equals("bg")){
                   bg = (Color)cb.getSelectedItem();
              repaint();
    }

  • Changes in the Payment program Form for Checks

    SAP Experts,
    Issue: The Form for printing checks is not printing correctly. When there is an Overflow of Invoices from the first page (> 14) the check is voided on the first page and the invoice data overflows to the next page which is fine, but the company logo does not print on the check and also the check info is printed below the check section (colored portion) Can some one please guide me how I can find the logo file/text and insert it in the right area. I am NOT an abaper and we dont have an abaper here to fix this. Please give me all the relevant transactions (other than SE71) to make changes on the Check payment Form. I will promptly reward with points for any relevant answers.
    Thanks in advance

    t.code>> FBZP>> select payment method in company code>> select the payment method & co code>>  Form data
    http://help.sap.com/bestpractices/BBLibrary/Documentation/J03_BPP_05_EN_IN.doc
    Hope this helps
    Pls assign points as way to say thansk

Maybe you are looking for

  • Input Ready Query, Variable read mode setting Only Values for InfoProvider

    Hi, I have a problem with Selection Variable for a BEx Query : - I'm working with SAP BI 7.0 support package 15 - My query is an input ready query built for an "aggregation level" based on "real time infocube" (Planning); - Characteristic, I want to

  • WDA - customer text in field label in Layout

    Hi, I need to display the customer text in field label in Layout. Currently field label text is coming from OTR. OTR ‘PAOC_RCF_UI_SELF_SERVICES/MIDDLE_NAME’ has text ‘Second Name’. My customer wants to display ‘Middle Name’ instead of ‘Second Name’.

  • Xcode: plist requirements are not correct?

    The Info.plist for application at /zz.ipa specifies device capability requirements, which are not met I am trying to run on itouch. Help?

  • Cover Art has disappeared

    After updating to 3.1 all of my cover art for both movies and music has disappeared, only the generic icons remain. The art is still there in iTunes but not on the phone itself. Any help would be appreciated.

  • Why is "internet" flagged as miss-spelling in Indesign but not auto-corrected?

    when the entire support system for Indesign exists on the internet, why is this word not recognised by the Indesign inbuilt dictionary? Further, I have auto-correct set to ON!  Yet it's not correcting this to whatever it assumes is the correct spelli