JInternalFrame drawing problem.

Hi gurus
Please could you help with a java problem that I cant find an answer to over the net:
I have a JDesktop which contains multiple JInternalFrames. On one JInternalFrame i have attached a JPanel on which to draw on. I have multiple threads (simple ball shapes) that need to be drawn onto the JPanel and have left it up to the indivual threads to draw themselves (as opposed to using paintComponent in the JPanel class). The drawing on the JInternalFrame works perfectly fine.
The problem arises when the other JInternalFrames are placed on top of each other - the balls are drawn over the top most JInternalFrame. What am i doing wrong? I have attached snippets of the code:
public class Desktop extends JFrame implements ActionListener
          public Desktop()
                    setTitle("Agent's world");
                    setSize(w,h);
                    setDefaultCloseOperation(EXIT_ON_CLOSE);
                    JDesktopPane desktop = new JDesktopPane();
                    setContentPane(desktop);
                    /************* Agent *************/
                    JInternalFrame agents = new JInternalFrame("Agents War", true, false, true, false);                    
                    agents.reshape(0,0,(int)((w/3)*2),h);
                    Container contentPane = agents.getContentPane();
                    canvas = new AgentPanel(agents);
                    contentPane.add(canvas);
                    /************* Button *************/
                    JPanel buttonPanel = new JPanel();
                    ButtonGroup buttonGroup = new ButtonGroup();
                    JButton start = new JButton("START");
                    start.addActionListener(this);
                    buttonPanel.add(start);
                    contentPane.add(buttonPanel, "North");
                    agents.setVisible(true);
                    desktop.add(agents);
                    //sets focus to other frames within the desktop
                    try
                              agents.setSelected(true);
                    catch(PropertyVetoException e)
                              //attempt to refocus was vetoed by a frame
          /** Method to listen for event actions, i.e. button clicks **/
     public void actionPerformed(ActionEvent event)
               //passes through 'this' to allow access to the getList method
               Agents agent = new Agents(canvas, this);
               agent.start();
public class Agents extends Thread
          public Agents(AgentPanel panel, Desktop desktop)
                    panel =_panel;
                    desktop = _desktop;
                    setDaemon(true);
/** Moves the agent from a spefic position to a new position **/
          public void move()
                    Graphics g = panel.getGraphics();
                    Graphics2D g2 = (Graphics2D)g;
                    try
                              //set XOR mode
                              g.setXORMode(panel.getBackground());
                              //draw over old
                              Ellipse2D.Double ballOld = new Ellipse2D.Double(i , j, length, length);
                              g2.fill(ballOld);     
                              i++;
                              j++;
                              if(flag == true)
                                        //draw new
                                        Ellipse2D.Double ballNew = new Ellipse2D.Double(i , j, length, length);
                                        g2.fill(ballNew);
                                        g2.setPaintMode();
                    finally
                              g.dispose();
          /** Activates the Thread **/
          public void run()
               int i = 0;
               while(!interrupted() && i<100)
                    try
                                   for(i = 0 ; i <100 ; i++)
                                             //draw ball in old position                                             move();          
                                             sleep(100);                              
                         catch(InterruptedException e)
public class AgentPanel extends JPanel
          /** local copy of internal frame */
          private JInternalFrame frame;
          public AgentPanel(JInternalFrame _frame)
                    frame = _frame;
                    setSize(frame.getWidth(), frame.getHeight());
                    setBackground(Color.white);          
          public void paintComponent(Graphics g)
                    super.paintComponent(g);
Thank you in advance.
Ravs

I have the same problem. Seems to be a bug. See:
http://forum.java.sun.com/thread.jsp?forum=57&thread=231037
Bummer.

Similar Messages

  • X11 drawing problem after 10.6.3 update.

    The latest software update has caused drawing problems in the only X11 application that I need to use.
    The application (among other things) draws a tree diagram where boxes are drawn around text. The boxes are connected with lines. The boxes may be filled with a background color.
    The issue is that the box outlines, which should be black, either do not get drawn entirely, or are partially drawn. Further more, as the window is resized the outline is drawn with various colors with portions potentially missing. (This is very basic stuff, not likely to be deprecated.)
    If I could upload images I could show the effect, since we have a number of workstations without the 10.6.3 update.
    Would the moderator (or someone) direct me to the appropriate web site where I could file a bug report about this?
    Thanks.
    Additional Info:
    This app has been working just fine since 1996 till yesterday, when I updated to 10.6.3. The application also works fine with the latest Ubuntu release, the failure is only on Mac OS X 10.6.3.

    Filed Apple Bug Report 7814332.
    REF: https://bugreport.apple.com/cgi-bin/WebObjects/RadarWeb.woa/wa/signIn

  • Advance level drawing problem with Jframe and JPanel need optimize sol?

    Dear Experts,
    I m trying to create a GUI for puzzle game following some kind of "game GUI template", but i have problems in that,so i tried to implement that in various ways after looking on internet and discussions about drawing gui in swing, but i have problem with both of these, may be i m doing some silly mistake, which is still out of my consideration. please have a look at these two and recommend me one of them, which is running without problems (flickring and when you enlarge window the board draw copies (tiled) everywhere,
    Note: i don't want to inherit jpanel or Jframe
    here is my code : import java.awt.BorderLayout;
    public class GameMain extends JFrame {
         private static final long serialVersionUID = 1L;
         public int mX, mY;
         int localpoints = 0;
         protected static JTextField[][] squares;
         protected JLabel statusLabel = new JLabel("jugno");
         Label lbl_score = new Label("score");
         Label lbl_scorelocal = new Label("local score");
         protected static TTTService remoteTTTBoard;
         // Define constants for the game
         static final int CANVAS_WIDTH = 800; // width and height of the game screen
         static final int CANVAS_HEIGHT = 600;
         static final int UPDATE_RATE = 4; // number of game update per second
         static State state; // current state of the game
         private int mState;
         // Handle for the custom drawing panel
         private GameCanvas canvas;
         // Constructor to initialize the UI components and game objects
         public GameMain() {
              // Initialize the game objects
              gameInit();
              // UI components
              canvas = new GameCanvas();
              canvas.setPreferredSize(new Dimension(CANVAS_WIDTH, CANVAS_HEIGHT));
              this.setContentPane(canvas);
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              this.pack();
              this.setTitle("MY GAME");
              this.setVisible(true);
         public void gameInit() {     
         // Shutdown the game, clean up code that runs only once.
         public void gameShutdown() {
         // To start and re-start the game.
         public void gameStart() {
         private void gameLoop() {
         public void keyPressed(KeyEvent e) {
         public void keyTyped(KeyEvent e) {
         public void gameKeyReleased(KeyEvent e) {
              PuzzleBoard bd = getBoard();
              for (int row = 0; row < 4; ++row) {
                   for (int col = 0; col < 4; ++col) {
                        if (e.getSource() == squares[row][col]) {
                             if (bd.isOpen(col, row)) {
                                  lbl_score.setText("Highest Score = "
                                            + Integer.toString(bd.getPoints()));
                                  setStatus1(bd);
                                  pickSquare1(col, row, squares[row][col].getText()
                                            .charAt(0));
         protected void pickSquare1(int col, int row, char c) {
              try {
                   remoteTTTBoard.pick(col, row, c);
              } catch (RemoteException e) {
                   System.out.println("Exception: " + e.getMessage());
                   e.printStackTrace();
                   System.exit(1);
         // method "called" by remote object to update the state of the game
         public void updateBoard(PuzzleBoard new_board) throws RemoteException {
              String s1;
              for (int row = 0; row < 4; ++row) {
                   for (int col = 0; col < 4; ++col) {
                        squares[row][col].setText(new_board.ownerStr(col, row));
              lbl_score.setText("Highest Score = "
                        + Integer.toString(new_board.getPoints()));
              setStatus1(new_board);
         protected void setStatus1(PuzzleBoard bd) {
              boolean locals = bd.getHave_winner();
              System.out.println("local win" + locals);
              if (locals == true) {
                   localpoints++;
                   System.out.println("in condition " + locals);
                   lbl_scorelocal.setText("Your Score = " + localpoints);
              lbl_score
                        .setText("Highest Score = " + Integer.toString(bd.getPoints()));
         protected PuzzleBoard getBoard() {
              PuzzleBoard res = null;
              try {
                   res = remoteTTTBoard.getState();
              } catch (RemoteException e) {
                   System.out.println("Exception: " + e.getMessage());
                   e.printStackTrace();
                   System.exit(1);
              return res;
         /** Custom drawing panel (designed as an inner class). */
         class GameCanvas extends JPanel implements KeyListener {
              /** Custom drawing codes */
              @Override
              public void paintComponent(Graphics g) {
                   // setOpaque(false);
                   super.paintComponent(g);
                   // main box; everything placed in this
                   // JPanel box = new JPanel();
                   setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));
                   // add(statusLabel, BorderLayout.NORTH);
                   // set up the x's and o's
                   JPanel xs_and_os = new JPanel();
                   xs_and_os.setLayout(new GridLayout(5, 5, 0, 0));
                   squares = new JTextField[5][5];
                   for (int row = 0; row < 5; ++row) {
                        for (int col = 0; col < 5; ++col) {
                             squares[row][col] = new JTextField(1);
                             squares[row][col].addKeyListener(this);
                             if ((row == 0 && col == 1) || (row == 2 && col == 3)
                             || (row == 1 && col == 4) || (row == 4 && col == 4)
                                       || (row == 4 && col == 0))
                                  JPanel p = new JPanel(new BorderLayout());
                                  JLabel label;
                                  if (row == 0 && col == 1) {
                                       label = new JLabel("1");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else if (row == 4 && col == 0) {// for two numbers or
                                       // two
                                       // blank box in on row
                                       label = new JLabel("2");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else if (row == 1 && col == 4) {
                                       label = new JLabel("3");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else if (row == 4) {
                                       label = new JLabel("4");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  else {
                                       label = new JLabel("5");
                                       label.setHorizontalAlignment(JLabel.LEFT);
                                       label.setVerticalAlignment(JLabel.TOP);
                                  label.setOpaque(true);
                                  label.setBackground(squares[row][col].getBackground());
                                  label.setPreferredSize(new Dimension(label
                                            .getPreferredSize().width, squares[row][col]
                                            .getPreferredSize().height));
                                  p.setBorder(squares[row][col].getBorder());
                                  squares[row][col].setBorder(null);
                                  p.add(label, BorderLayout.WEST);
                                  p.add(squares[row][col], BorderLayout.CENTER);
                                  xs_and_os.add(p);
                             } else if ((row == 2 && col == 1) || (row == 1 && col == 2)
                                       || (row == 3 && col == 3) || (row == 0 && col == 3)) {
                                  xs_and_os.add(squares[row][col]);
                                  // board[ row ][ col ].setEditable(false);
                                  // board[ row ][ col ].setText("");
                                  squares[row][col].setBackground(Color.RED);
                                  squares[row][col].addKeyListener(this);
                             } else {
                                  squares[row][col] = new JTextField(1);
                                  // squares[row][col].addActionListener(this);
                                  squares[row][col].addKeyListener(this);
                                  xs_and_os.add(squares[row][col]);
                   this.add(xs_and_os);
                   this.add(statusLabel);
                   this.add(lbl_score);
                   this.add(lbl_scorelocal);
              public void keyPressed(KeyEvent e) {
              public void keyReleased(KeyEvent e) {
                   gameKeyReleased(e);
              public void keyTyped(KeyEvent e) {
         // main
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   @Override
                   public void run() {
                        new GameMain();
      thanks a lot for your time , consideration and efforts.
    jibby
    Edited by: jibbylala on Sep 20, 2010 6:06 PM

    jibbylala wrote:
    thanks for mentioning as i wasn't able to write complete context here.Yep thanks camickr. I think that Darryl's succinct reply applies here as well.

  • Photoshop CS4 OPENGL Drawing problem with Photoshop CS4

    Hello, I've had this problem since i installed photoshop cs4, and its finally getting on my nerves and i'm looking for a fix.
    I am on Windows XP SP3, NVIDIA 8800GTS. The OPENGL Drawing in Photoshop CS4 works fine, but a lot of times, when i start photoshop, it'll say that OPENGL Drawing is disabled and i'll have to go in to preferences and re-endabe and restart photoshop again to get it working. Please help, it's really annoying

    NVIDIA apparently does not update their drivers specifically to correct Photoshop CS4 incompatibilities. There release notes have never mentioned bugs or fixes relating to Photoshop.
    Try setting the 3D settings to Performance (rather than Quality) in the NVIDIA Control Panel.

  • BitmapData.draw problem due to security

    As another thread has posted, there seems to be a problem for BitmapData.draw on the Stratus server.
    After connecting to the Stratus server, drawing any part of the UIComponents will be stopped by a security alert.
    Event after disconnecting to Stratus, the problem still exist.  The only time when BitmapData.draw worked is when
    the application just lunched and havn't connect to Stratus yet.
    I've found another thread in the LCCS forum discussing the same problem, and it seems that over there they found a solution.
    Just wondering of Stratus will apply the same fix or do we have to wait until the new edition of FMS to have this fixed.
    Thanks in advance
    The LCCS forum thread discussing this problem:
    http://forums.adobe.com/message/2803074#2803074

    Hi,
    If you haven't already, I suggest opening a ticket with customer support.
    Jennie

  • DVD Drawer problem

    This is probably a simple problem, the drawer on my DVD re-writer/player will not stay closed.  I had earlier been attempting to copy a DVD which had a problem and wouldnt copy(using sonic)  Now the drawer keeps opening with or without a disc. Is it simply broken?  I would appreciate any advice. 

    Try closing manually the DVD tray(drawer)  when the computer is off. Turn on the computer and insert a good DVD disk or music CD and see what happens.
    Hope it helps.

  • InDesign PDF importing to Corel Draw - problem

    Hi,
    I wonder if anyone has come across this problem, we have several designers in the office, all using either InDesign or Corel Draw X3 (all on PC).
    Every time we import a PDF that has originated from InDesign into Corel Draw, the file corrupts. Most commonly, the text appears as Chinese writing and makes no sense.
    When exporting the PDF from InDesign, all the text is set to curves, so I am not even sure why Corel is recognising the text elements as text, when they have been set to curves.
    I have tried various export options from InDesign with no luck.
    Help!!

    When exporting the PDF from InDesign, all the text is set to curves, so I am not even sure why Corel is recognising the text elements as text, when they have been set to curves.
    That would be Outlines, actually. Sorry, but what you are describing here is impossible. If you open the PDF with Acrobat and check its Fonts tab, neither embedded nor missing fonts should be listed -- the list should be entirely empty. If there are a few font names, your convert-to-outline procedure is not correct.
    As for the problem Corel has with perfectly acceptable PDFs, I have no idea. Converting to outlines is, actually, frowned upon, as usually the PDF file format is robust enough not to need this, but it was a nice try if the fonts caused problems in other programs.

  • Drawing problems in Minefield interface elements and page content

    Some sort of graphic related problem with Minefield nightly builds.
    I'm not an expert, but it looks like the problem is with semi transparent pixel drawing. Might this be related with graphics hardware?
    Here is the screenshot, how it looks:
    http://img148.imageshack.us/img148/2536/ffinterface1.png
    In the picture the problem is well seen on the TAB headers and vertical line with a pattern in a page illustrates the problem in displaying transparent elements in page content.
    When interactive interface elements are mouseovered (paticularly "close tab" buton), the distortion around changes.

    Try the Builds forum over at MozillaZine, that's where all the "testers" hang out.
    http://forums.mozillazine.org/viewforum.php?f=23

  • Please help!! Drawing problem

    Hi all,
    Sorry for bothering for this question but it's important for me to have an answer..
    Well, i created a small graphic interface in which i put some buttons and an area to display Graphics (see Xrect in my code).
    The problem i have is that i can display my graphics in my area but if i come with a window over it, it erases it!!!! What shall i do??
    Thanx in advance, i hope this piece of code will be helpful..
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.lang.*;
    //D�finition de la classe Bio_Window
    public class Bio_Window extends JFrame {
    public Bio_Window () {
    initGUI();
    //Initialisation de la fen�tre de BIOWAY
    public void initGUI () {
    Xrect rect = new Xrect(); //initialisation de la zone de dessin
    rect.setBounds(xrect,yrect,370,340);
    getContentPane().add(rect);
    setVisible(true);
    //methode r�sultante d'un click sur Accept
    public void accept() {
    //Dessin du r�seau repr�sent� dans le fichier
    Graphics g1 = this.getGraphics();
    int x1 = xrect + w2;
    int y1 = yrect+50 + w3;
    g1.setColor(Color.black);
    g1.fillOval(x1,y1,6,6);
    Graphics g2 = this.getGraphics();
    int x2 = xrect + w4;
    int y2 = yrect + 50 + w5;
    g2.setColor(Color.black);
    g2.fillOval(x2,y2,6,6);
    Graphics g3 = this.getGraphics();
    g3.setColor(Color.blue);
    int c = 3;
    g3.drawLine(x1+c,y1+c,x2+c,y2+c);
    //Termine l'application lorsqu'on clique sur la croix...
    protected void processWindowEvent(WindowEvent e) {
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    System.exit(0);
    //class permettant la creation de la zone de dessin
    public class Xrect extends JComponent {
    public Xrect() {
    //methode affichant la zone de dessin
    public void paintComponent(Graphics g) {
    g.setColor(Color.white);
    g.fillRect(0,0,370,340);
    super.paintComponent(g);
    //main
    public static void main (String args[]) {
    new Bio_Window();
    //classe traitant des click de bouton de l'interface
    class Evenement implements ActionListener {
    static final int EDIT = 0;
    static final int DRAW = 1;
    static final int PARAMETERS = 2;
    static final int ACCEPT = 3;
    static final int EXIT = 4;
    static final int RUN = 5;
    static final int ERASE = 6;
    static final int REDRAW = 7;
    Bio_Window ev;
    int id;
    public Evenement (Bio_Window ev, int id) {
    this.ev = ev;
    this.id = id;
    public void actionPerformed(ActionEvent e) {
    switch(id) {
    case EDIT:
    ev.edit();
    break;
    case DRAW:
    ev.draw();
    break;
    case PARAMETERS:
    ev.parameters();
    break;
    case ACCEPT:
    ev.accept();
    break;
    case EXIT:
    System.exit(0);
    break;
    case RUN:
    ev.run();
    break;
    case ERASE:
    ev.erase();
    break;
    case REDRAW:
    ev.accept();
    break;
    }

    It looks like your XRec overrides the paintComponent (g) method, which is the correct way or having the XRec updated when damage is done to your GUI, but your Bio_Window has painting code in the accept() method. This should be moved to a seperate method (for example customDraw(g)). You should then override one of the Bio_Window's painting methods to include the customDraw(g) method. For instance, you may make a
    paint method like this:
    paint (g) {
      paintComponent(g);
      customDraw(g);
      paintBorder(g);
      paintChildren(g);
    }Oh, BTW,
    class x implements ActionListener extends Component
    should be
    class x extends Component implements ActionListener
    Steve

  • BUFFERIMAGE AND VECTOR DATA FILE DRAWING PROBLEM

    THERE IS A VECTOR DATA FILE OF A COUNTRY/REGION OF CERTAIN PORTION. THAT IS FILE CONTAINS ONLY DATA IN (X,Y,Z) FORMAT OR ITS COLOR CODING OR WHAT TYPE OF SHAPE IT IS GIVEN BELOW
    shape: Line, Color: red
    no of vertices: 3
    (234,543,45)
    (34,567,345)
    (76,234,345)
    like above. a vector file exists. file is very heavy with lot of information. one needs to read the file and draw in java.
    My problem is: i am reading the file properly, in paint function i have created BufferedImgae, createGraphics all necessary actions. i have also used rubber binding. using rubber binding when i select few portion of the map i found it is taking
    lots of time to draw. once it is drawn when next time i am using RUBBER BAND SELECTION EXCEPTION occurs saying HEAP OUT OF MEMORY like.
    one more thing if i used affinetransform it is simply zooming completely distorting my map defeating entire purpose.
    how i can solve above problem using bufferedimage such that i can draw vector data file which should be faster when redrawing also using rubber band as well.
    thanks in Advance
    Roy

    I have completely no idea what you mean by rubber banding. But you shouldn't be creating a BufferedImage and parsing a file inside of a gui component's paint function.
    one more thing if i used affinetransform it is simply zooming completely distorting my map defeating entire purpose.AffineTransform is a transformation from one 2D coordinate system to another. It probably wont be as useful in a 3D environment such as your vector data file.

  • KT880 Screen Draw problem

    Someone else posted a similar thread, but his issue got resolved.  Here's the deal.
    I have the system described in my signature.  The PSU is not mentioned, but it is an Antec 400W PSU that I bought specifically because it met the suggested requirements set forth in the Trouble Shooting guide (I'd list the amps, but I really don't want to open my computer up right now).  Anyways, the screen draw performance is horrible, particularly in Windows Media Player 10 and at http://www.pcpitstop.com during the video test.  The odd thing is that when I play games (Rainbox Six 3 Raven Shield for example) I see no problem in video performance.  I just reinstalled windows, updated it, and then installed the latest 4in1s and nVidia driver (66.93) and tried it: same problem occurs.  I have tried my Mushkin memory as well as some cheap SimpleTech stuff I have, and both give problems.  Any suggestions?  Do you think this may be a problematic board?  Does any other KT880 Delta user have this problem?

    Quote from: drummer13 on 07-March-05, 15:53:33
    https://forum-en.msi.com/index.php?action=dlattach;topic=74852.0;id=448
    There is the URL to the beta bios. It is named as index.zip, but I downloaded it and it is fine. In case the .exe file doesn't work, just download the 1.8 bios file from the kt880 webpage and use it. That was the one I used.
    I don't think this is a quality of memory issue. I set one up for my friend with some corsair memory in it and it did the same thing. And the beta bios here (1.9b6) fixed it and mine. I am not sure what exactly it fixes, but it does fix it. My computer was the same. good on games, bad on desktop. It's got me, but all I know is my system is a beast now.
    Hope this helps... but remember, don't cry if you blow stuff up using beta anything.
    I'm crying now... I recently got a KT880 with 512MB x2 Corsair PC3200 value RAM. Right now not overclocked, DDR set to SPD mode. I was using bios 1.8 and I couldn't install WinXP SP1 or SP2 with "Vlink8X" enabled in the bios. Once disable I can install everything. Even then sometimes my PC will restart itself for no apparent reason, even with onboard Gigabit and AC97 disabled. I tried bios 1.96 and now my PC reboots itself again and again during POST. How I know, the keyboard lights blink every 5 seconds or so. Anyone else experiencing this?
    XP1800+ stock
    MSI KT880
    Corsair Value PC3200 at SPD timings
    Sapphire Radeon 9800 Pro 128MB
    80GB Seagate SATA with NCQ
    LG DVD-DL burner
    Surecom 10/100 PCI

  • Strange drawing problems

    I've put two spheres, either side of a cylinder, into a simple universe and added mouse and keyboard navigation to allow me to move around. When I rotate them around, or move my viewing platform around, it seems to get the depth wrong. I end up with one sphere always going behind and the other in front of the cylinder even when I've rotated around several times. It's a bit hard to explain, but instead of passing behind the cylinder the spheres appear over the top of it. The perspective is correct (ie they get smaller as they move to go behind the cylinder) as well as the shadows but the drawing makes your head hurt.
    Maybe I've missed setting particular abillities or I need to put things in different/the same BranchGroups/TransformGroups, I don't know. The examples and documentation don't seem to give any reasonably complex demos, they all concentrate on one thing and don't put them all together as it were.
    Can anybody see what I'm doing wrong from my discription of the problem? If not I'll post my code.
    Cheers,
    Phil

    S'OK, I've fixed it. Doesn't seem to like doing Transparencies for some reason, I'll figure that one out later.
    Cheers

  • XFCE4 Window drawing problem

    Greetings again,
    I have this problem with XFCE4, from [extra] (look at the toolbar): http://xs313.xs.to/xs313/07136/toolbar.png
    My xorg.conf is as follows:
    # File generated by xorgconfig.
    # Copyright 2004 The X.Org Foundation
    # Permission is hereby granted, free of charge, to any person obtaining a
    # copy of this software and associated documentation files (the "Software"),
    # to deal in the Software without restriction, including without limitation
    # the rights to use, copy, modify, merge, publish, distribute, sublicense,
    # and/or sell copies of the Software, and to permit persons to whom the
    # Software is furnished to do so, subject to the following conditions:
    # The above copyright notice and this permission notice shall be included in
    # all copies or substantial portions of the Software.
    # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
    # The X.Org Foundation BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
    # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
    # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    # SOFTWARE.
    # Except as contained in this notice, the name of The X.Org Foundation shall
    # not be used in advertising or otherwise to promote the sale, use or other
    # dealings in this Software without prior written authorization from
    # The X.Org Foundation.
    # Refer to the xorg.conf(5) man page for details about the format of
    # this file.
    # Module section -- this section is used to specify
    # which dynamically loadable modules to load.
    Section "Module"
    # This loads the DBE extension module.
    Load "dbe" # Double buffer extension
    # This loads the miscellaneous extensions module, and disables
    # initialisation of the XFree86-DGA extension within that module.
    # SubSection "extmod"
    # Option "omit xfree86-dga" # don't initialise the DGA extension
    # EndSubSection
    # This loads the font modules
    # Load "type1"
    Load "freetype"
    Load "xtt"
    # This loads the GLX module
    Load "glx"
    # This loads the DRI module
    Load "dri"
    EndSection
    # Files section. This allows default font and rgb paths to be set
    Section "Files"
    # The location of the RGB database. Note, this is the name of the
    # file minus the extension (like ".txt" or ".db"). There is normally
    # no need to change the default.
    # RgbPath "/usr/share/X11/rgb"
    # Multiple FontPath entries are allowed (which are concatenated together),
    # as well as specifying multiple comma-separated entries in one FontPath
    # command (or a combination of both methods)
    FontPath "/usr/share/fonts/misc"
    FontPath "/usr/share/fonts/100dpi:unscaled"
    FontPath "/usr/share/fonts/75dpi:unscaled"
    FontPath "/usr/share/fonts/TTF"
    # FontPath "/usr/share/fonts/Type1"
    # FontPath "/usr/lib/X11/fonts/local/"
    # FontPath "/usr/lib/X11/fonts/misc/"
    # FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
    # FontPath "/usr/lib/X11/fonts/Speedo/"
    # FontPath "/usr/lib/X11/fonts/Type1/"
    # FontPath "/usr/lib/X11/fonts/TrueType/"
    # FontPath "/usr/lib/X11/fonts/freefont/"
    # FontPath "/usr/lib/X11/fonts/75dpi/"
    # FontPath "/usr/lib/X11/fonts/100dpi/"
    # The module search path. The default path is shown here.
    # ModulePath "/usr/lib/modules"
    EndSection
    # Server flags section.
    Section "ServerFlags"
    # Uncomment this to cause a core dump at the spot where a signal is
    # received. This may leave the console in an unusable state, but may
    # provide a better stack trace in the core dump to aid in debugging
    # Option "NoTrapSignals"
    # Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
    # (where n is 1 through 12). This allows clients to receive these key
    # events.
    # Option "DontVTSwitch"
    # Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
    # This allows clients to receive this key event.
    # Option "DontZap"
    # Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
    # sequences. This allows clients to receive these key events.
    # Option "Dont Zoom"
    # Uncomment this to disable tuning with the xvidtune client. With
    # it the client can still run and fetch card and monitor attributes,
    # but it will not be allowed to change them. If it tries it will
    # receive a protocol error.
    # Option "DisableVidModeExtension"
    # Uncomment this to enable the use of a non-local xvidtune client.
    # Option "AllowNonLocalXvidtune"
    # Uncomment this to disable dynamically modifying the input device
    # (mouse and keyboard) settings.
    # Option "DisableModInDev"
    # Uncomment this to enable the use of a non-local client to
    # change the keyboard or mouse settings (currently only xset).
    # Option "AllowNonLocalModInDev"
    EndSection
    # Input devices
    # Core keyboard's InputDevice section
    Section "InputDevice"
    Identifier "Keyboard1"
    Driver "kbd"
    # For most OSs the protocol can be omitted (it defaults to "Standard").
    # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
    # uncomment the following line.
    # Option "Protocol" "Xqueue"
    Option "AutoRepeat" "500 30"
    # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
    # Option "Xleds" "1 2 3"
    # Option "LeftAlt" "Meta"
    # Option "RightAlt" "ModeShift"
    # To customise the XKB settings to suit your keyboard, modify the
    # lines below (which are the defaults). For example, for a non-U.S.
    # keyboard, you will probably want to use:
    # Option "XkbModel" "pc105"
    # If you have a US Microsoft Natural keyboard, you can use:
    # Option "XkbModel" "microsoft"
    # Then to change the language, change the Layout setting.
    # For example, a german layout can be obtained with:
    # Option "XkbLayout" "de"
    # or:
    # Option "XkbLayout" "de"
    # Option "XkbVariant" "nodeadkeys"
    # If you'd like to switch the positions of your capslock and
    # control keys, use:
    # Option "XkbOptions" "ctrl:swapcaps"
    # These are the default XKB settings for Xorg
    # Option "XkbRules" "xorg"
    # Option "XkbModel" "pc105"
    # Option "XkbLayout" "us"
    # Option "XkbVariant" ""
    # Option "XkbOptions" ""
    # Option "XkbDisable"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc104"
    Option "XkbLayout" "gb"
    EndSection
    # Core Pointer's InputDevice section
    Section "InputDevice"
    # Identifier and driver
    Identifier "Mouse1"
    Driver "mouse"
    Option "Protocol" "Auto" # Auto detect
    Option "Device" "/dev/input/mice"
    # When using XQUEUE, comment out the above two lines, and uncomment
    # the following line.
    # Option "Protocol" "Xqueue"
    # Mouse-speed setting for PS/2 mouse.
    # Option "Resolution" "256"
    # Baudrate and SampleRate are only for some Logitech mice. In
    # almost every case these lines should be omitted.
    # Option "BaudRate" "9600"
    # Option "SampleRate" "150"
    # Mouse wheel mapping. Default is to map vertical wheel to buttons 4 & 5,
    # horizontal wheel to buttons 6 & 7. Change if your mouse has more than
    # 3 buttons and you need to map the wheel to different button ids to avoid
    # conflicts.
    Option "ZAxisMapping" "4 5 6 7"
    # Emulate3Buttons is an option for 2-button mice
    # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
    # Option "Emulate3Buttons"
    # Option "Emulate3Timeout" "50"
    # ChordMiddle is an option for some 3-button Logitech mice
    # Option "ChordMiddle"
    EndSection
    # Other input device sections
    # this is optional and is required only if you
    # are using extended input devices. This is for example only. Refer
    # to the xorg.conf man page for a description of the options.
    # Section "InputDevice"
    # Identifier "Mouse2"
    # Driver "mouse"
    # Option "Protocol" "MouseMan"
    # Option "Device" "/dev/mouse2"
    # EndSection
    # Section "InputDevice"
    # Identifier "spaceball"
    # Driver "magellan"
    # Option "Device" "/dev/cua0"
    # EndSection
    # Section "InputDevice"
    # Identifier "spaceball2"
    # Driver "spaceorb"
    # Option "Device" "/dev/cua0"
    # EndSection
    # Section "InputDevice"
    # Identifier "touchscreen0"
    # Driver "microtouch"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "1412"
    # Option "MaxX" "15184"
    # Option "MinY" "15372"
    # Option "MaxY" "1230"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    # Section "InputDevice"
    # Identifier "touchscreen1"
    # Driver "elo2300"
    # Option "Device" "/dev/ttyS0"
    # Option "MinX" "231"
    # Option "MaxX" "3868"
    # Option "MinY" "3858"
    # Option "MaxY" "272"
    # Option "ScreenNumber" "0"
    # Option "ReportingMode" "Scaled"
    # Option "ButtonThreshold" "17"
    # Option "ButtonNumber" "1"
    # Option "SendCoreEvents"
    # EndSection
    # Monitor section
    # Any number of monitor sections may be present
    Section "Monitor"
    Identifier "S700"
    Option "DPMS"
    # HorizSync is in kHz unless units are specified.
    # HorizSync may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    HorizSync 30-69
    # HorizSync 30-64 # multisync
    # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
    # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
    # VertRefresh is in Hz unless units are specified.
    # VertRefresh may be a comma separated list of discrete values, or a
    # comma separated list of ranges of values.
    # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
    # USER MANUAL FOR THE CORRECT NUMBERS.
    VertRefresh 59-85
    EndSection
    # Graphics device section
    # Any number of graphics device sections may be present
    # Standard VGA Device:
    Section "Device"
    Identifier "Standard VGA"
    VendorName "Unknown"
    BoardName "Unknown"
    # The chipset line is optional in most cases. It can be used to override
    # the driver's chipset detection, and should not normally be specified.
    # Chipset "generic"
    # The Driver line must be present. When using run-time loadable driver
    # modules, this line instructs the server to load the specified driver
    # module. Even when not using loadable driver modules, this line
    # indicates which driver should interpret the information in this section.
    Driver "vga"
    # The BusID line is used to specify which of possibly multiple devices
    # this section is intended for. When this line isn't present, a device
    # section can only match up with the primary video device. For PCI
    # devices a line like the following could be used. This line should not
    # normally be included unless there is more than one video device
    # intalled.
    # BusID "PCI:0:10:0"
    # VideoRam 256
    # Clocks 25.2 28.3
    EndSection
    # Device configured by xorgconfig:
    Section "Device"
    Identifier "prosavage"
    Driver "savage"
    BusID "PCI:1:0:0"
    #VideoRam 16384
    # Insert Clocks lines here if appropriate
    EndSection
    # Screen sections
    # Any number of screen sections may be present. Each describes
    # the configuration of a single screen. A single specific screen section
    # may be specified from the X server command line with the "-screen"
    # option.
    Section "Screen"
    Identifier "Screen 1"
    Device "prosavage"
    Monitor "S700"
    DefaultDepth 24
    Subsection "Display"
    Depth 8
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 16
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    Subsection "Display"
    Depth 24
    Modes "1280x1024" "1024x768" "800x600" "640x480"
    ViewPort 0 0
    EndSubsection
    EndSection
    # ServerLayout sections.
    # Any number of ServerLayout sections may be present. Each describes
    # the way multiple screens are organised. A specific ServerLayout
    # section may be specified from the X server command line with the
    # "-layout" option. In the absence of this, the first section is used.
    # When now ServerLayout section is present, the first Screen section
    # is used alone.
    Section "ServerLayout"
    # The Identifier line must be present
    Identifier "Simple Layout"
    # Each Screen line specifies a Screen section name, and optionally
    # the relative position of other screens. The four names after
    # primary screen name are the screens to the top, bottom, left and right
    # of the primary screen. In this example, screen 2 is located to the
    # right of screen 1.
    Screen "Screen 1"
    # Each InputDevice line specifies an InputDevice section name and
    # optionally some options to specify the way the device is to be
    # used. Those options include "CorePointer", "CoreKeyboard" and
    # "SendCoreEvents".
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
    EndSection
    # Section "DRI"
    # Mode 0666
    # EndSection
    Can anyone help me? Thank you.

    It was with all themes, the problem's fixed now. I had to add this line into my xorg.conf
    load extmod
    Under modules. Thanks though.

  • 100 percent browser width draw problem in IE10

    When I draw a rectangle at 100 percent browser width, in IE10 when I resize the browser window the rectangle will flash on and off until I stop resizing the browser. This does not happen in Chrome , any suggestions?

    No,
    I try to explain better:
    In my real application (not this simple example) I compose an image by the union of many little gifs. Then I have to save the result in a unique image. It's for this that I've overridden paintComponent(), so , after having painted all gifs, I save composite image to a png one.
    This function is activated from a main application, and I don't want to show too much to user, so I try to make this by using a popup frame that disappear quickly.
    I hope to having been as clear as possible.
    I hope to have chosen the best solution too
    Bye and thanks
    Edited by: giuseppe_italiano on Nov 21, 2007 3:35 AM

  • Direct Draw problems on T61 w/ Vista x64

    Has anyone had problems with applications that use directdraw on a T61 with 64bit windows?  There were a couple applications i tried running (diablo II amongst others) that fail to launch, saying the video mode is unavailable.  I ended up just using a virtual machine with x86 XP to solve the problem, but i'd rather not have to.
    T61 15.4" T9300 (2.5GHz 6MB L2) Windows 7 Professional x64 4GB Memory, NVidia Quadro NVS 140M

    Hello,
    I have been battling this similar issue for a few months on two T500's that we have with the switchable graphics. While I dont have a WD MyBook, I do have a USB hub attached to the dock with a Maxtor ext. HDD hooked to that (althought I use it for my Rescue & Recovery auto backups) I will try disconnecting that.
    I do get the BSOD on atikmpag.sys. 3 calls to lenovo support and they still tell me no fix. These machines were announced in August 2008 and its almost 2009 with no fix.
    I am beginning to wonder if its my KVM switch causing the crash for the video driver, but it even fails when I am not switching between PC's.
    Let me know if you have any other thoughts please!!!
    Thanks in advance,
    Brian G.
    T430s (current), T420s, ThinkStation S20

Maybe you are looking for

  • Is there a way to create 'Book Color's with CS Extension Builder?

    Dear all Is there a way to add a spot color with color mode "Book Color" as those from the swatch libary, the PANTONE color book for example. I see those Book Colors have fixed Lab Values and cannot be changed. So they would be fixed for the user. Is

  • Error in Creating a Supplier in R12

    Hi All, I am getting the following error when trying to create a supplier. "You cannot assign the SUPPLIER party usage because the calling application is not a seeded value". Thanks, Saritha

  • Problem with iPod.app

    My iPhone 3G has now decided that all of my artists, songs and albums now begin with a number, leaving me no way of quick-jumping to a certain song I'd like to hear out of 1800 Any chance of rectifying this problem? Screenshots: http://i179.photobuck

  • VIRSA 5.2 Support by SAP

    Does anyone know if and when SAP is going to stop supplying support for the 5.2 version of the GRC software? Thanks! Elizabeth

  • Can't activate Clip Jam with Audible Manager

    I've seen lots of forum posts about problems with Clip Sport / Clip Zip / Clip Zip+ and Audible Manager.  Add the Clip Jam to that list. Before you can transfer books to the device with the Audible Manager, you're supposed to "activate" the device.