Gnome-keyboard-applet uses wrong background color

gnome-keyboard-applet always uses white color as a background, even when panel's color is not white.
(Or, maybe, not exactly white, but it's clearly different from panel's color)
WTF?

It seems that this is the problem with theme. I'm using gnome-human-theme from AUR.
With other murrine themes it's OK. Does somebody know where in gtkrc is the color value, which is responsible for that?

Similar Messages

  • [SOLVED] Gnome notification area has wrong background color

    I'm using the Shiki-Brave theme on Gnome and all (yes, all) of the tray icons have the wrong background color.  The color changes slighty if I select another Shiki theme, but is pretty close to the default gray.  Strangely, I only have this issue on my desktop at home -- none of my other machines (two laptops and a desktop at work) exhibit the problem.  I have ensured that the theme is exactly the same on all machines.  Another oddity is that other themes (e.g. high contrast inverse) have the right background color!
    The only thing I have managed to find via Google is a bug report against Gnome.  Here is what I have tried:
    * Removing and readding the applet to the panel.
    * Blowing away all my settings (rm -rf .gnome2 .gconf .gconfd .local) and setting things up again.  To be sure I did not miss anything, I also tried creating a new user with a clean home.  Still the same issue.
    * Removing and reinstalling all of the gnome and gnome_extra groups.  I even cleared the pacman cache to force a redownload.
    Any ideas?  I'm at a loss on what to try next.
    Thanks!
    Last edited by kdorf (2011-04-09 06:29:51)

    I figured out the problem.
    I have an NVIDIA card and I recently modified my X server to use Xinerama instead of TwinView.  Xinerama was responsible for all this nastiness.  Reverting to TwinView fixed the problem (and some other weird ones that started popping up).
    Those of you with NVIDIA cards, avoid Xinerama!

  • Keyboard shutcut for choosing background color when brush tool is active?

    Hello,
    I've forgotten the keyboard shortcut for choosing a background color when the brush tool is the active tool . Holding down the alt key with the brush selected chooses the foreground color. What key do you hold down to select the background color?  I'm on a mac. Thanks.

    caligula1 wrote:
    One keyboard shortcut for choosing a background color that you might not be aware of is opt + I  (on a mac)
    That's interesting, but is it a lower case L or upper case i?  I certainly can't make it work on a PC.
    A couple of thought for you...  There are no easy to use shortcuts unused in Photoshop nowadays, so I sometimes steal them from little or never used operations.  For instance, how many people use H for panning instead of the Space bar.  I know H has the benefit of locking in panning, but I don't think I have 'ever' had a need for it.  I have, in the past, stolen Y from Blur and Smudge, but I have not done so in recent versions.
    But for quickly and constantly picking background colours, you need a convenient key, and that suggests the Z key to me, as I always zoom with the mouse and Ctrl (or Alt) Space bar.  Just a thought.
    Another option is the Wacom Express keys if you are using a tablet that has them.  The Keystroke option won't accept some combinations, but I think it would be doable
    Shift F4 is for an Action I used to use a few versions back, to place guides at 50% vertical and horizontal.  They are easy to snap drag nowadays.
    One last idea on a similar vein, are programmable keys on custom keyboards.  I don't know if they are available for the Mac, but I use a Logitech G110 which has 12 programmable keys on the left of the usual layout.  These 12 keys can be programed three different ways, and selected by the M keys above.  I originally bought this keyboard for its illuminated keys, but I quickly got used to the extra functionality.  Even the little volume control, in the top right corner, (highlighted in magenta below) is such a convenience. I use these keys for launching Actions,, although I found I had to make both G8 and G12 mirror the Ctrl key as I occasionally hit them by mistake.

  • Can the current line be highlighted using a background color or have the cursor flash?

    I use the split screen and left click in the Design pane to jump to where I want to be in the Code pane in Dreamweaver CS6. The problem is that it can be very hard to tell where the cursor is in the Code pane since the cursor doesn't flash.
    Is there a way to force Dreamweaver CS6 to change the background color of the currently selected line or at least have the cursor flash in both panes? There must be some way to make it easier to find the current line of code.
    Thanks.

    John Waller wrote:
    The cursor does not flash in Code View only when Code View is not in focus i.e. you're working in the Design View window in Split View.
    In those caases, I just highlight a word or two in Design View and the corresponding words are highlighted by DW in Code View (even when Code view is not in focus).
    Thanks. I've been doing that, but sometimes there is no text to highlight. I hoped Dreamweaver might have a hidden setting that I could enable. That's a lot of extra sliding of the hand/wrist for no good reason when it would be easy for the Dreamweaver programmers to change the background color of the current line or make the cursor flash or do something else to indicate where you are in the code besides making the user constantly make a smearing action with the mouse. All of those extra movements add up the wear and tear when you're trying to avoid getting a repetitive stress injury, especially if you already use mouse gestures in a browser.

  • Graphics.drawImage not using specified background color

    Thanks to everyone in advance -
    I have created an image resizing class, with a crop method. The cropping works great, the issue that I am having is the background color that i specify in the drawImage function of Graphics is not working correctly, it defaults to black as the background regardless of what I supply (in this case Color.WHITE). Also, the overlaying image or top most image (comes from a file) is being inverted(i think it is) or otherwise discolored. Here is the code below that I am working with:
    Thanks,
    Sam
                   public void Crop(int Height, int Width, int SourceX, int SourceY) throws Exception {
                        //output height and width
                        int OutputWidth = this.OutputImage.getWidth();
                        int OutputHeight = this.OutputImage.getHeight();
                        //create output streams
                        ByteArrayOutputStream MyByteArrayOutputStream = new ByteArrayOutputStream();
                        MemoryCacheImageOutputStream MyMemoryCacheImageOutputStream = new MemoryCacheImageOutputStream(MyByteArrayOutputStream);
                        //Create a new  BufferedImage
                        BufferedImage NewImage = new BufferedImage(Width, Height, BufferedImage.TYPE_INT_ARGB);
                        Graphics MyGraphics = NewImage.createGraphics();
                        MyGraphics.drawImage(this.OutputImage, -SourceX, -SourceY, OutputWidth, OutputHeight, Color.WHITE, null);
                        // Get Writer and set compression
                        Iterator MyIterator = ImageIO.getImageWritersByFormatName("PNG");
                        if(MyIterator.hasNext()) {
                             //get image writer
                             ImageWriter MyImageWriter = (ImageWriter)MyIterator.next();
                             //get params
                             ImageWriteParam MyImageWriteParam = MyImageWriter.getDefaultWriteParam();
                             //set outputstream
                             MyImageWriter.setOutput(MyMemoryCacheImageOutputStream);
                             //create new ioimage
                             IIOImage MyIIOImage = new IIOImage(NewImage, null, null);
                             //write new image
                             MyImageWriter.write(null, MyIIOImage, MyImageWriteParam);
                        //convert output stream back to inputstream
                        ByteArrayInputStream MyByteArrayInputStream = new ByteArrayInputStream(MyByteArrayOutputStream.toByteArray());
                        MemoryCacheImageInputStream MyMemoryCacheImageInputStream = new MemoryCacheImageInputStream(MyByteArrayInputStream);
                        //resassign as a buffered image
                        this.OutputImage = ImageIO.read(MyMemoryCacheImageInputStream);
                   }

    Thanks for all your help!
    Here is the solution, notice the clear rect:
                   public void Crop(int Height, int Width, int SourceX, int SourceY) throws Exception {
                        //output height and width
                        int OutputWidth = this.OutputImage.getWidth();
                        int OutputHeight = this.OutputImage.getHeight();
                        //Create a new BufferedImage
                        BufferedImage NewImage = new BufferedImage(Width, Height, BufferedImage.TYPE_INT_RGB);
                        //create new grapics
                        Graphics2D MyGraphics = NewImage.createGraphics();
                        //set background
                        MyGraphics.setBackground(Color.decode(this.BackgroundColor));
                        //clear rect
                        MyGraphics.clearRect(0, 0, Width, Height);
                        //draw image
                        MyGraphics.drawImage(this.OutputImage, -SourceX, -SourceY, OutputWidth, OutputHeight, null, null);
                        //dispose graphics
                        MyGraphics.dispose();
                        //resassign as a buffered image
                        this.OutputImage = NewImage;
                   }

  • Content Aware Using Wrong Background

    Hi Guys
    I'm trying to animate someone moving their arm. I used the pen tool to copy the arm to a new layer (left image) then used the pen tool again to cut out where the original was. I clicked "fill", "content aware" to fill in the hole, which should be a girl's blouse but the content aware fills the space with parts of her face and hair (right image), which isn't anywhere near where the fill is. Am I doing something wrong or have I overlooked something obvious?

    Many thanks, Trevor. I tried your suggestion, which is useful to know. The result is better than above but if it was for a job of work I'd have to cut, paste and clone. Perhaps there isn't enough distinction between the area to be replaced and potential background for CA to work (normally I've had situations with definate edges and shapes). I'm using CS5; do you know if it is addressed in CS5.5?
    Happy New Year!

  • Vnstati background color

    Good evening,
    Since today I am using vnStat 1.11 and the daemon is running smoothly on my Arch Linux install.
    However when I try to create a graph with the vnstati command it returns a graph where the background color is being defined by the CText in the configuration file.
    The problem with this is that the text itself will be the same color as the background and thus not readable.
    I did try to set the background color to transparant, however this does not make any changes.
    I did try prefixing the color codes with a # character only this does not matter. Also I tried using the -D parameter but this seemes to be fine.
    Below I added the vnstati configuration, the command I use and the image it results into. To clarify things I made the CText red which should result in red text and not a red background.
    Does someone had this before and can help me out?
    # vnstati
    # title timestamp format
    HeaderFormat "%x %H:%M"
    # show hours with rate (1 = enabled, 0 = disabled)
    HourlyRate 1
    # show rate in summary (1 = enabled, 0 = disabled)
    SummaryRate 1
    # layout of summary (1 = with monthly, 0 = without monthly)
    SummaryLayout 1
    # transparent background (1 = enabled, 0 = disabled)
    TransparentBg 1
    # image colors
    CBackground "000000"
    CEdge "AEAEAE"
    CHeader "606060"
    CHeaderTitle "FFFFFF"
    CHeaderDate "FFFFFF"
    CText "FF0000"
    CLine "B0B0B0"
    CLineL "-"
    CRx "92CF00"
    CTx "606060"
    CRxD "-"
    CTxD "-"
    vnstati -i eth0 -s --config /etc/vnstat.conf -o /tmp/vnstati_s.png -D

    I believe it has something to do with a conflicting package. I made a quick clean install on a virtual server and vnstati is outputting it's graphs like a charm. However on my normal server it still gives wrong background colours.
    I did double check the GD library and it is the same on both machine, even the optional dependencies.
    The only thing I could imagine was that maybe the seperate php-gd package could conflict with the normal GD package. However this did not seem to be the cause as when I uninstalled the php-gd package the images still had a wrong background color.
    So far no solution yet, any help is appreciated.

  • Background color for column heading

    Hi,
    I have 5 columns in my report and I would like to have different background color for column headings. How can I do this in report templates?
    I was looking at Column heading section-
    <th class="t10ReportHeader"#ALIGNMENT# id="#COLUMN_HEADER_NAME#">#COLUMN_HEADER#</th>
    How can I specify backgrund colors for all columns here?
    Thanks in advance

    G'day Karen,
    Thanks for ur reply.
    I have seen this note before, its not that the header colors have changed after latest SP was applied in our systems. Also the ABAP and JAVA stacks are in sync.
    Scenario is that we are trying to set up a new Portal theme for Enterprise Reporting with some specific color codes (hex codes).
    What i have observed is Characterstics Header background color is set up using the element "Background Color of Level 1 Column Heading ".
    While the Background color for Key Figures header is using element "Background Color of Level 2 Column Heading ".
    But the problem is element "Background Color of Level 2 Column Heading " is also used as the Background color for Standard Characterstics cell, so if we make it same the whole report of the same color, which we dont want.
    Requirement is to get the same Background color for Header cells (both Char. and Key Figure headers).
    Any further suggestions will be appreciated.
    Thanks
    CK

  • WorkOrderList TileView Row & Selected Row Background Color Change

    Hi,
         can we change the background color of WorkorderList TileView Row & Selected Row Background color ?. Actually i am trying to change the color of both in WorkOrderList but it not reflecting any color on my Agentry client. I used a style on Tile List View Data/Style.
    but these applied style on Rows & Selected Rows are not working in Agentry client.
    if any other alternate solution exist in Agentry, please guide me.
    i am using following...
      sap mobile platform-2.3.3
    Thanks & Regard
    Manish Kumar
    Tags edited by: Michael Appleby

    Hi Jason
          Yes using Image we can achieve that goal but i want to use a background color instead of Image background. Finally I used a background color on label and set the that label field on Screen. And It's showing the background color on WorkOrderList Row & Selected Row that what i wanted. But on both Row & Selected TileView Screen showing white outline that i don't want and also i could not remove the default Selected Blue Background Color.
         Please guide me how to remove white outline and default Blue Selected Background color.
    Thanks & Regard
    Manish Kumar

  • Background colors dreamweaver/photoshop

    When I use the background color #FFFACD in a photo in
    Photoshop and then place this photo on a page in Dreamweaver with
    the same background color, the colors don't match exactly. The
    photo's background appears lighter. Any ideas on how to fix this
    problem?
    Here's the link:
    http://www.japanesetemari.com/
    The right float image has this problem as well as some of the
    smaller photos on the left.
    Thanks!

    I am getting different values from the right float image from
    the page using
    an independent color picker. Here's what I get:
    bg of picture #ffffce
    bg of page #fffacd
    hth,
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
    2003)
    Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
    A Beginner''s
    Guide, Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
    Web Development
    "Barb S." <[email protected]> wrote in
    message
    news:f27a0i$3af$[email protected]..
    > When I use the background color #FFFACD in a photo in
    Photoshop and then
    > place
    > this photo on a page in Dreamweaver with the same
    background color, the
    > colors
    > don't match exactly. The photo's background appears
    lighter. Any ideas on
    > how
    > to fix this problem?
    > Here's the link:
    >
    http://www.japanesetemari.com/
    > The right float image has this problem as well as some
    of the smaller
    > photos
    > on the left.
    > Thanks!
    >
    >

  • Setting JScrollPane background color.

    Does anybody know how to set what color appears in the background of a JScrollPane when the Component in the pane is smaller than the pane itself?
    In particular, I have a JTable in a JScrollPane, and when the pane is bigger than the table, the gray default background of the viewport looks weird behind the white background of the table.
    MyScrollPane.setBackground() doesn't do it, neither does MyScrollPane.getViewport().setBackground().
    Thanks in advance,
    Jason

    This might explain some things, hope it helps...
    it's a cut and paste from the JScrollpane source....
    A common operation to want to do is to set the background color that will be used if the main viewport view is smaller than the viewport, or is not opaque. This can be accomplished by setting the background color
    of the viewport, via scrollPane.getViewport().setBackground().The reason for setting the color of the viewport and not the scrollpane is that by default JViewport is opaque which, among other things, means it will completely fill in its background using its background color. Therefore when <code>JScrollPane</code> draws its background the viewport will usually draw over it.

  • Background colors are now gone from every web page...

    This happened just this morning. I've never seen this before. I don't believe it is my Netscape browser setting. I'm befuddled. Any ideas?
    Thanks.
    ~Raymon
    2002 G4 933 MHz Quicksilver, 1.54 GB RAM, two 160 GB HD,   Mac OS X (10.4.8)   iLife'06

    Yup! Thank you. That was it. I was there earlier in the day trying out different settings and must have left it on the wrong background color option.
    My Excite home page is still missing background colors. But I now recall other times when Excite would have temporary maintenance episodes causing the "problem".
    ~Raymon

  • How to use a GradientPaint as background color in a JPopupMenu

    I want to use a GradientPaint as background color in a JPopupMenu.
    I try to use something like
    GradientPaint p;
    p = new GradientPaint(0, 12, Color.white, 0, 24, Color.pink);
    UIManager.put("MenuItem.selectionBackground", p);but it doesn't work.
    I also tried to extends BasicMenuItemUI in MenuItems
    public class CMenuItem extends JMenuItem {
         public CMenuItem(String text) {
              super(text);
              setUI(BUI.createUI(this));
         static final class BUI extends BasicMenuItemUI {
             private final static BUI ui = new BUI();
             public static BUI createUI(JComponent c) {
                 return ui;
             @Override
             public void update(Graphics g, JComponent c) {
                   if (c.isOpaque()) {
                        Graphics2D g2 = (Graphics2D)g.create();
                        int w = c.getWidth();
                        int h = c.getHeight();
                        GradientPaint p;
                        p = new GradientPaint(0, 12, Color.white, 0, 24, Color.pink);
                        g2.setPaint(p);
                        g2.fillRect(0, 0, w, h);
                        g2.dispose();
                   paint(g, c);
    }I used this technique for JLabel and it works fine.
    Please help

    ok, here the SSCCE. I hope its helpful for an answer.
    import java.awt.Color;
    import java.awt.GradientPaint;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import javax.swing.JComponent;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuBar;
    import javax.swing.JMenuItem;
    import javax.swing.UIManager;
    import javax.swing.plaf.basic.BasicMenuItemUI;
    public class Menu {
        public JMenuBar createMenuBar() {
             JMenuBar menuBar;
            JMenu menu;
            JMenuItem menuItem;
            //Create the menu bar.
            menuBar = new JMenuBar();
            //Build the first menu.
            menu = new JMenu("A Menu");
            menuBar.add(menu);
             GradientPaint p;
             p = new GradientPaint(0, 12, Color.white, 0, 24, Color.pink);
             UIManager.put("MenuItem.selectionBackground", p);
            menuItem = new JMenuItem("1st item: when selected its background is black: wrong");
            menu.add(menuItem);
             UIManager.put("MenuItem.selectionBackground", Color.pink);
            menuItem = new JMenuItem("2nd item: when selected its background is pink: ok");
            menu.add(menuItem);
            menuItem = new CMenuItem("3rd item: when selected its background is pink: WRONG!");
            menu.add(menuItem);
            return menuBar;
        private static void createAndShowGUI() {
            //Create and set up the window.
            JFrame frame = new JFrame();
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            //Create and set up the content pane.
            Menu demo = new Menu();
            frame.setJMenuBar(demo.createMenuBar());
            //Display the window.
            frame.setSize(450, 260);
            frame.setVisible(true);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    class CMenuItem extends JMenuItem {
         private static final long serialVersionUID = 1L;
         public CMenuItem(String text) {
              super(text);
              setUI(BUI.createUI(this));
         static final class BUI extends BasicMenuItemUI {
             private final static BUI ui = new BUI();
             public static BUI createUI(JComponent c) {
                 return ui;
             @Override
             public void update(Graphics g, JComponent c) {
                   if (true || c.isOpaque()) {
    //                    System.out.println("update()");
                        Graphics2D g2 = (Graphics2D)g.create();
                        int w = c.getWidth();
                        int h = c.getHeight();
                        GradientPaint p;
                        p = new GradientPaint(0, 0, Color.white, 0, 10, Color.pink);
                        g2.setPaint(p);
                        g2.fillRect(0, 0, w, h);
                        g2.dispose();
                   paint(g, c);
    }Thanks for the help

  • Applet-Panel, background color and size problem

    I am writing an applet with simple form.
    Form is having 3 rows and 2 cols (label and textfield). Each row I want to display in different color. So I created each row with 2 separate panel (one for label and one for text field - of which I set the backgroung color).
    The total form is in one panel with grid layout (2 colmns).
    My problems are
    1)The space between label and text field (col width) can not be resized. I tried to use setSize but not giving any effect.
    2)Another problem is when I am seting the background color, the textfield is also changing the color (textfield I want to white color only). This does not have any effect on Choice
    3)The first label I wanted to use simple break but could not. I tried \n\t, \n, chr(13) + chr(10) etc but not getting any result so created separate panel.
    My code goes here:
    import java.awt.*;
    import java.applet.*;
    import java.awt.event.*;
    public class test1 extends Applet{
    protected TextField refnoTextField=null, payerTextField=null, amtTextField=null;
    protected Choice typeChoice;
    public void init() {
         /* The mainPanel layouts components with BorderLayout manager
              which will hold form and button panel */
         Panel mainPanel = new Panel(new BorderLayout());
         Panel taxformPanel=new Panel(new GridLayout(3,2));
         Label l;
         //panel for tax ref no label
         Panel refnoLabelMainPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
    //here wanted to use simple line break but \n\t does not seems to work not even chr (10), chr(13)
    //so created separate panel (Payment Voucher Or \n\t Reference no.
         Panel refnoLabelPanel = new Panel(new GridLayout(2,1));
         l = new Label("Payment Voucher Or");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         refnoLabelPanel.add (l);
         l = new Label("Tax Reference No:");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         refnoLabelPanel.add (l);
         refnoLabelMainPanel.add(refnoLabelPanel);
         refnoLabelMainPanel.setBackground(Color.blue);
         //panel for tax ref no text field
         Panel refnoTextFieldPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         refnoTextField = new TextField(20);
         refnoTextFieldPanel.add(refnoTextField);
         refnoTextFieldPanel.setBackground(Color.blue);
         //panel for tax type label
         Panel typeLabelPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         l = new Label("Tax Type:");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         typeLabelPanel.add (l);
         typeLabelPanel.setBackground(Color.yellow);
         //panel for tax type choice
         Panel typeChoicePanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         typeChoice = new Choice();
         typeChoice.add("Personal Tax");
         typeChoice.add("Income Tax");
         typeChoicePanel.add(typeChoice);
         typeChoicePanel.setBackground(Color.yellow);     
         //panel for tax payers name label
         Panel payerLabelPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         l = new Label("Tax Payer's Name:");
    l.setFont(new Font("Helvetica", Font.BOLD,10));
         payerLabelPanel.add (l);
         payerLabelPanel.setBackground(Color.blue);
         //panel for tax payer field
         Panel payerTextFieldMainPanel = new Panel(new FlowLayout(FlowLayout.LEFT));
         Panel payerTextFieldPanel = new Panel(new GridLayout(2,1));
         payerTextField = new TextField(20);
         payerTextFieldPanel.add(payerTextField);
         l = new Label(" (as per NRIC or Passport)");
    l.setFont(new Font("Helvetica", Font.BOLD,8));
         payerTextFieldPanel.add (l);
         payerTextFieldMainPanel.add(payerTextFieldPanel);
         payerTextFieldMainPanel.setBackground(Color.blue);
         taxformPanel.add(refnoLabelMainPanel);
         taxformPanel.add(refnoTextFieldPanel);
         taxformPanel.add(typeLabelPanel);
         taxformPanel.add(typeChoicePanel);
         taxformPanel.add(payerLabelPanel);
         taxformPanel.add(payerTextFieldMainPanel);
         /* buttonPanel to hold all buttons */
         Panel buttonPanel = new Panel();
         buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
         Button continueButton = new Button("Continue");
         continueButton.addActionListener(new ActionListener() {
              public void actionPerformed(ActionEvent e) {
                        continueButtonAction();
         Button clearButton = new Button("Clear");
         clearButton.addActionListener(new ActionListener()     {
              public void actionPerformed(ActionEvent e)     {
                   clearButtonAction();
         Button cancelButton = new Button("Cancel");
         cancelButton.addActionListener(new ActionListener()     {
              public void actionPerformed(ActionEvent e)     {
                   cancelButtonAction();
         buttonPanel.add(continueButton);
         buttonPanel.add(clearButton);
         buttonPanel.add(cancelButton);
         mainPanel.add("Center", taxformPanel);
         mainPanel.add("South", buttonPanel);
         add(mainPanel);
    } // public void init()     
    public void continueButtonAction() {
         MessageDialog d=new MessageDialog("Confirm","Continue? ",true, 430, 150);
         System.out.println ("Continue Button Pressed");
    }//continueButtonAction
    public void clearButtonAction()     {
         System.out.println ("Reset Button Pressed");
    }//clearButtonAction
    public void cancelButtonAction()     {
         MessageDialog d=new MessageDialog("Confirm","Cancel Button ? ",true, 430, 150);
         System.out.println ("Cancel Button Pressed");
    } // cancelButtonAction
    } // TaxPaymentApplet3
    Please help,
    manisha

    I do not want to go into detail, but there are some hints you can follow.
    I am talking about AWT, not swing, you should decide which one you will use and don't mix the two of them.
    If you want to run your applet in current browsers without requiring the java plugin, you should be aware, that most browsers support old versions of java and many convenient methods and classes are missing :-(
    So
    You can change the size of a label by putting it in a panel ( labelPanel ), whose layout is set to FlowLayout. Then you put in labelPanel another empty panel ( emptyPanel ), whose layout is set to null, and you set the width of the empty panel to whatever you want ( this is the gap between the label and the next component ), an the height to the least nonsero number possible, i.e. 1. Well, you can add to the labelPanel more components, if you wish. So, when you want a gap, use an empty panel with a fixed size.
    You cannot use line break in a label. You should place more labels in a panel instead. I am not sure if the direction of FlowLayout can be set to vertical, but very probably it can. If so, that is your solution. If not - see what other layout managers you have available, but make sure your choice belongs to java.awt ! BorderLayout allows you to use up to three labels (=> 3 lines). And if nothing fits your needs, ... write a layout manager.
    Well, hope I could help.

  • Applets foregrouded with html body background color

    In our application we are using applets while loading applets ,applets controls are foregrounded with html background color thats why we are unable see applets properly.
    please give us suugesion, how can we solve this problem.
    thanks in advance..

    The HTML editor is the 'FCK Editor' of old, and the config for it is stored on the server where all of the javascript for your server instance is stored. You can modify much of the configuration of the HTML editor. The documentation for modifying the configuration of FCKEditor is here:
    http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Configuration/Configuration_File

Maybe you are looking for

  • R/3-- XI,   queue stuck problem,  concept not clear

    Hi Forum, I have a R/3(abap proxy)----->XI scenario, now the data being sent from R/3 to XI is getting stuck (due to some HTTP error) in the queue, which is visibale through tcode SMq2 of R/3, I want to know, why the stuck queue and hence the LUW is

  • Episodes played in V 6.5 won't show up in V 7.0

    When I played episodes on my computer and on my iPod in version 6.5 and before it didn't affect everything the way this did. In version 7.0 the episodes that I played once or twice (ones that didn't get lost; see other post) won't show up in the play

  • Student in desperate need of help!

    Hello, I am taking a course online and it started today. We have to download an ebook that is used by a plug-in of Adobe reader. I have a Mac OS X Version 10.5.8 (Intel). Every time I open Adobe reader, it freezes and tells me the application is not

  • Why do I have two itunes libraries

    After I updated Itunes, I now have two duplicate itunes libraries. How do I delete just one?

  • Collection date on YBNK transaction.

    Hello Experts, Your client has requirement on YBNK transaction. They are processing the bill of exchange via transaction code FTR03 and then printing the letter that need to send to bank with bills of exchanges details. They are sending the bill of e