Is this really a Swing bug?

Hi all... :)
I've just installed J2SDK 1.4.2 and there is something wrong with Swing over here. Not sure if this was already related to Bug DB, so I'm asking here if anyone has seen this problem too.
You can see a screenshot about the problem at:
http://www.bcborges.brturbo.com/swingbug.jpg
The problem doesn't happen with my home pc, which is running Win XP.
In this screenshot, I'm running Win 2000 with VIA Chipset, onboard display card.

multiple threads on same subject!
Dave's right, it's almost certainly a compatibility problem with your JDBC driver

Similar Messages

  • Is this really a java  bug?

    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x8d22d623, pid=12929, tid=2293337008
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # [thread 2106588080 also had an error]
    C [libocijdbc10.so+0x12623]
    [thread -2127164496 also had an error]
    [thread 2117065648 also had an error]
    Rset -->spsingh0
    # An error report file with more information is saved as [thread 2117065648 also had an error]
    [thread -2050204752 also had an error]
    [thread 2041535408 also had an error]
    [thread 1980222384 also had an error]
    [thread 2144336816 also had an error]
    [thread 1984424880 also had an error]
    [thread -2090341456 also had an error]
    [thread -2096682064 also had an error]
    [thread 1920981936 also had an error]
    [thread 2116537264 also had an error]
    [thread -2123084880 also had an error]
    [thread -2022728784 also had an error]
    [thread -2027484240 also had an error]
    [thread -2117076048 also had an error]
    [thread 2011167664 also had an error]
    [thread 2042063792 also had an error]
    [thread -2061300816 also had an error]
    [thread 1996430256 also had an error]
    [thread -2024313936 also had an error]
    [thread 1994845104 also had an error]Rset -->spsingh0
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    [thread -2085139536 also had an error]
    [thread -2092983376 also had an error]
    [thread -2121970768 also had an error]
    [thread 2130369456 also had an error]
    [thread -2079855696 also had an error]

    multiple threads on same subject!
    Dave's right, it's almost certainly a compatibility problem with your JDBC driver

  • Swing bug? cannot set width of JToggleButton

    Hello,
    Just wondered if this was a Swing bug. See also
    bug 6349010.
    The width of the JToggleButton cannot be set.
    However the height can be set.
    The important line is line 135 - and also 140.
    Try changing the width of the button - it does not change.
    thanks,
    Anil
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.util.EventObject;
    import javax.swing.BorderFactory;
    import javax.swing.Box;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.JTabbedPane;
    import javax.swing.JTextArea;
    import javax.swing.JToggleButton;
    import javax.swing.JTree;
    import javax.swing.UnsupportedLookAndFeelException;
    import javax.swing.tree.DefaultMutableTreeNode;
    import javax.swing.tree.DefaultTreeCellEditor;
    import javax.swing.tree.DefaultTreeCellRenderer;
    import javax.swing.tree.DefaultTreeModel;
    import javax.swing.tree.TreeSelectionModel;
    public class TreeUIFailed extends JPanel {
           AnilTreeCellRenderer3 atcr;
           AnilTreeCellEditor4 atce;
           DefaultTreeModel treeModel;
           JTree tree;
           DefaultMutableTreeNode markedNode = null;
         public TreeUIFailed() {
                super(new BorderLayout());
                   treeModel = new DefaultTreeModel(null);
                   tree = new JTree(treeModel);          
                  tree.setEditable(true);
                   tree.getSelectionModel().setSelectionMode(
                             TreeSelectionModel.SINGLE_TREE_SELECTION);
                   tree.setShowsRootHandles(true);
                  tree.setCellRenderer(atcr = new AnilTreeCellRenderer3());
                  tree.setCellEditor(atce = new AnilTreeCellEditor4(tree, atcr));
                  tree.setRowHeight(0);//TEMP - needed only if setting Win L&F
                   JScrollPane scrollPane = new JScrollPane(tree);
                   add(scrollPane,BorderLayout.CENTER);
         public void setRootNode(DefaultMutableTreeNode node) {
              treeModel.setRoot(node);
              treeModel.reload();
           public static void main(String[] args) throws ClassNotFoundException, InstantiationException, IllegalAccessException, UnsupportedLookAndFeelException{
    //            UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
                TreeUIFailed tb = new TreeUIFailed();
                tb.setPreferredSize(new Dimension(800,600));
                  JFrame frame = new JFrame("Tree Windows UI Failed");
                  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                  frame.setContentPane(tb);
                  frame.setSize(800, 600);
                  frame.pack();
                  frame.setVisible(true);
                  tb.populate();
         private void populate() {
              TextAreaNode3 r = new TextAreaNode3(this);
               setRootNode(r);
                   r.gNode.notes.addTab("0", null/* icon */, new JTextArea(2,25),
                   "no menu!");
                   r.gNode.notes.addTab("1", null/* icon */, new JTextArea(2,25),
                   "no menu!");
                   TextAreaNode3 a = new TextAreaNode3(this);
                   a.gNode.notes.addTab("1", null/* icon */, new JTextArea(2,25),
                   "no menu!");
               treeModel.insertNodeInto(a, r, r.getChildCount());          
    class AnilTreeCellRenderer3 extends DefaultTreeCellRenderer{
         TreeUIFailed panel;
    DefaultMutableTreeNode currentNode;
      public AnilTreeCellRenderer3() {
         super();
    public Component getTreeCellRendererComponent
       (JTree tree, Object value, boolean selected, boolean expanded,
       boolean leaf, int row, boolean hasFocus){
         TextAreaNode3 currentNode = (TextAreaNode3)value;
         NodeGUI4 gNode = (NodeGUI4) currentNode.gNode;
        return gNode.vBox;
    class AnilTreeCellEditor4 extends DefaultTreeCellEditor{
      DefaultTreeCellRenderer rend;
      public AnilTreeCellEditor4(JTree tree, DefaultTreeCellRenderer r){
        super(tree, r);
        rend = r;
      public Component getTreeCellEditorComponent(JTree tree, Object value,
       boolean isSelected, boolean expanded, boolean leaf, int row){
        return rend.getTreeCellRendererComponent(tree, value, isSelected, expanded,
         leaf, row, true);
      public boolean isCellEditable(EventObject event){
        return true;
    * this is done to keep gui separate from model - as in MVC.
    * not necessary.
    * @author juwo
    class NodeGUI4 {
         JPanel notesPanel = new JPanel(new BorderLayout(), true);
         JTabbedPane notes = new JTabbedPane(JTabbedPane.RIGHT);
         final TreeUIFailed view;
         Box vBox = Box.createVerticalBox();
         Box hBox = Box.createHorizontalBox();
         final JTextArea textArea = new JTextArea( 1, 5 );
         JToggleButton toggleButton = new JToggleButton();
         NodeGUI4( TreeUIFailed view_ ) {
              this.view = view_;
              toggleButton.setAlignmentX(Component.CENTER_ALIGNMENT);
    // BEGIN PROBLEM          
              toggleButton.setPreferredSize(new Dimension(200,toggleButton.getPreferredSize().height));
    // END PROBLEM
              vBox.add(toggleButton);
              vBox.add(hBox);
              hBox.add( textArea );
              textArea.setBorder( BorderFactory.createMatteBorder( 0, 0, 1, 0, Color.GREEN ) );
              notesPanel.add(notes);
              hBox.add( notesPanel);
              hBox.setBorder( BorderFactory.createMatteBorder( 5, 5, 5, 5, Color.CYAN ) );
    // THE FOLLOWING DOES NOT WORK EITHER!!!          
              //          halo.setPreferredSize(new Dimension(vBox.getPreferredSize().width,halo.getPreferredSize().height));
    class TextAreaNode3 extends DefaultMutableTreeNode {  
         NodeGUI4 gNode;
         TextAreaNode3(TreeUIFailed view_t) {     
              gNode = new NodeGUI4(view_t);          
    }

    ok, sorry!
    I understood why it does not work.
    Box Layout respects the maximum size of the component.
    By default, a JToggleButton is set to 34.
    Changing the JToggleButton max width to 75, allows the preferred size to be set.
    Thank you camickr!
    Note: in contrast, Flow Layout respects the preferred size and ignores the max size!
    Message was edited by:
    anilp1

  • HT3576 I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I have many apps where i must swipe down and it constantly brings down the notification screen. Is there anyway to disable this or activate it a different way because this really bugs me.

    I don't have that problem.  Perhaps I touch the screen lower when I wipe down?  I don't know for sure but there's got to be some difference in the way that we wipe down.  you might wish to do some experimenting.

  • I want to ask a question but is it supposed to go in this "Ask Your Question" field or should this really be a synopsis or a tersely worded teaser, like a "subject" line?

    Oh.
    When I pushed the "Ask your question of the community" I got this empty box. But I've already asked my question. Should I copy and paste it into this box?
    > I want to ask a question but is it supposed to go in this "Ask Your Question" field or should this really be a synopsis or a tersely worded teaser, like a "subject" line?<
    There. Now I have asked the same question, which is of questionable value, for sure, twice. So, if someone answers it, they will get twice the points. Right? Or is there another box for that? Should I paste the question into another box? Twice? 
    I've been around here for a l-o-n-g time, longer than ol' BenB by several years, so you'd think I'd know better.
    Maybe I do.
    bogiesan
    Message was edited by: David Bogie Chq-1, I blame all misspellings on my iPad's virtual keyboard.

    Don't you have a deadline?
    Oh, sorry, I thought this was an URGENT query because you have clients waiting.
    Keep calm, carry on.

  • ORA-22805 - (inserting an XMl type FAILS) I suspect this is a oracle Bug

    We're using
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    Basically when I try to execute the following
    dbms_xmlschema.registerschema
    ('MySchema.xsd',
    sys.UriFactory.getUri('/Location/MySchema.xsd'),
    genTables=>TRUE);
    this generates a table for us with the name "xmlt_ds_0"
    when we try to insert into this table, we get an error
    INSERT INTO tddb.xmlt_ds_0
    SELECT sys.xmltype.createschemabasedxml(mq.content, 'http://My.Schema.xsd')
    FROM message_queue mq
    WHERE mq.sys_id = 148100
    ORA-22805: cannot insert NULL object into object tables or nested tables
    Now this works for most xml files, it just one or two that fail, however these files that have failed are well formed, and valid (ie: conform to the scehema)
    however, if I try to do this
    create table tempTest of xmltype
    XMLSCHEMA "Myschema.xsd"
    ELEMENT "schedule"
    then insert into this
    INSERT INTO tempTest
    SELECT sys.xmltype.createschemabasedxml(mq.content, 'http://My.Schema.xsd')
    FROM message_queue mq
    WHERE mq.sys_id = 148100
    Basically, this works for the same file, I just dont understand why it wouldn't work in the "resitering the schema" way. I strongly suspect this is a Oracle Bug
    Has any one encountered this before, any help would be appriciated.

    FIRST of all...
    If you create the table via registerschema, then you table will be created case-sensitive (in general take notice that with XMLDB everything can be / will be case-sensitive). So this means you will have to do things the following way (mark the double quotes):
    NSERT INTO tddb."xmlt_ds_0"
    SELECT sys.xmltype.createschemabasedxml(mq.content, 'http://My.Schema.xsd')
    FROM message_queue mq
    WHERE mq.sys_id = 148100Your statement (see below) will generate a table the default way, that is a table in uppercase
    create table tempTest of xmltype
    XMLSCHEMA "Myschema.xsd"
    ELEMENT "schedule"so ...this will create a table with the name "TEMPTEST".
    regarding the ORA-22805...
    - can you post the schema
    - can you post the values that cause the error...

  • This really *****,.I just bought a ipod 5th gen,...it was stolen,..i got it back,..but i am now locked out because of icloud lock,.please help

    this really *****,.I just bought a ipod 5th gen,...it was stolen,..i got it back,..but i am now locked out because of icloud lock,.please help

    Take your original proof of purchase from an Apple authorized retailer (or Apple Store) and the police report, make a Genius Bar appointment at your nearest Apple Store and they should be able to help you.

  • When install iTunes 11.1.4   It says Apple Mobile Device Service service will not start.  It was started when I began the installation.  Is this an Apple software bug?

    When install iTunes 11.1.4   It says Apple Mobile Device Service service will not start.  It was started when I began the installation.  Is this an Apple software bug?

    I have this issue. It isn't the MSVCR80 issue. No matter what I do nothing will let me even INSTALL Apple Moblie Device. Further details are in my thread:
    https://discussions.apple.com/thread/5831093

  • Is this really the best I'm going to get?

    2 years with BT and had awful connection and speed issues, many numerous long calls to India doing first line tests, mostly being told that I would receive a call back and never do. Recently informed of an upgrade at the exchange but speeds dipped since and have not been any better since.
    Been reading these forums for a while, I am plugged into master socket, the one with BT Openreach logo on, ring wire removed, connected for over 3 days, no other phones in sockets. I was always told as I am 1.6k from the exchange speeds were not to be great but next door shows as 4-6k, I'm lucky to have dial up speeds most of the time.
    It appears that other people within feet of me are having decent speeds, mostly via Talk Talk I hasten to add but was told that it would make no difference as BT are the main supplier.
    The quiet line check appears in order, no noises or crackles seems a little quiet but reported that online a week ago but not heard anything since.
    I would be grateful and see from your experience is this really the best I'm going to get?
    ADSL Line StatusConnection information
    Line state:
    Connected
    Connection time:
    3 days, 23:30:49
    Downstream:
    1,920 Kbps
    Upstream:
    448 Kbps
    ADSL settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    13.5 dB / 15.0 dB
    Line attenuation (Down/Up):
    55.5 dB / 31.5 dB
    Output power (Down/Up):
    16.8 dBm / 12.6 dBm
    FEC Events (Down/Up):
    468069285 / 1845
    CRC Events (Down/Up):
    1578613 / 1771
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    Loss of Link (Remote):
    0
    HEC Errors (Down/Up):
    738099 / 1160
    Error Seconds (Local/Remote):
    0 / 0
    More Details
    Hide Details
    To reset back to the default BT Total Broadband username and password, click the 'Reset username' button.
    Reset username
    Applying...
     WAN StatusConnection information
    Line state:
    Disconnected
    Connection time:
    Not available
    Software version V100R001C01B031SP09_L_B | Time & date 13:51 08/04/2012
    Here's part of the BT speed test, still waiting................
    1. Best Effort Test: -provides background information.
    Download  Speed
    11 Kbps
    0 Kbps
    2 Mbps Max Achievable Speed
    Download speedachieved during the test was - 11 Kbps For your connection, the acceptable range of speeds is 800 Kbps-2 Mbps. IP Profile for your line is - 1.69 Mbps
    2. Upstream Test: -provides background information.
    Upload Speed
    370 Kbps
    0 Kbps
    448 Kbps Max Achievable Speed
    Upload speed achieved during the test was - 370Kbps Additional Information: Upstream Rate IP profile on your line is - 448 Kbps
    This test was not conclusive and further testing is required.This might be useful for your Broadband Service Provider to investigate the fault.
    If you wish to carry out further tests,please click on 'Continue' button.If not, please close the window using 'Exit' button and contact your ISP for further assistance with these results.
    The speed is extremely slow today, however this is nothing new as dips in and out constantly. I have left the BT Homehub 3 connected to the master socket, hopefully anyone able to assist??
    Thanks
    Mark

    Hi you are 4km from your exchange that is your line length as you have been connected 3days + and your noise margin is high i will suggest you contact the forum mods and request a noise margin reset to the default 6db this is a link to them
    http://bt.custhelp.com/app/contact_email/c/4951
    they normally reply by email or phone directly to you within 3 working days
    They are a UK based BT specialist team who have a good record at getting problems solved
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • 24 hours so far downloading Lion and no end in sight. Is this really the way forward?

    Here in the UK a lot of us have fairly pathetic download speeds, so I ask Apple is this really the way forward?

    Same for me - started 20.July about 7pm in germany with VDSL capable of 2.5MB/s
    Download Started well soon but dropped to about 300KB/s. Stopped and went to bed at about 10pm.
    Resumed at 21. July at 7am - between 100KB/s and 300 KB/s for about 90min. Stopped and got to work.
    Resumed now at about 2:30p.m. lying between 50KB/s and 100KB/s :-(

  • When I download a podcast on my iPhone why is the release date missing? This really screws up the sort order.

    when I download a podcast on my iPhone why is the release date missing? This really screws up the sort order.

    Hello yung ron,
    It may be that your iPhone's set to sync automatically, which can potentially remove any music that's been added to the device. It may help to set the device to 'manual mode,' so that you have complete and total control over what content is on the device.
    Managing content manually on iPhone, iPad, and iPod
    http://support.apple.com/kb/HT1535
    Cheers,
    Allen

  • Is this really bronze?

    I just received a powerbook G3 and I'm trying to figure out what I can/should upgrade. I know very little about what I'm doing, and I'm hoping someone can help point me in the right direction. My goal is to get on the internet and do email.
    My questions are:
    1. What do I have?
    2. What can/should I upgrade?
    Here's what I know:
    333MHz/128MB/18GB HD/OS 8.6
    (I think it might be the bronze keyboard thing because of the 333MHz, but it looks more like a quasi-transparent keyboard with maybe an amber tint. Maybe I'm just picky, but is this really bronze?)
    Many, many thanks! Bryan

    Here is an article to help you determine what G3 PowerBook you have.
    Once you have determined that you will be able to know what kind and how much RAM you need. Your internal HDD should be sufficient for the use to which you want to put it.
    To check further, to to Apple Menu>About this Mac. Then click on More Info. This will open the Apple System Profiler which will tell you more about your computer.
    Good luck.
    cornelius
    PB G3 Pismo400, 100 GB 5400 Toshiba internal, 1 GB RAM   Mac OS X (10.3.9)   Beige G3 OS 8.6

  • I changed my ID due to an email accessibility issue and I lost access to all my purchased music for the last few years.  Been browsing through the support area and it seems like everyone is saying I will have to rebuy everything.  Is this really true?

    I changed my ID due to an email accessibility issue and I lost access to all my purchased music for the last few years.  Been browsing through the support area and it seems like everyone is saying I will have to rebuy everything.  Is this really true? 
    Apple has to be more user friendly than to let something like this happen, right?

    Did you change the ID, or did you create a new Apple ID? If you had simply changed the ID then what I suggested above should work as the ID itself is the same (even though the name of the ID - the address - has changed).
    However if you created a new ID, logged in with that, and purchased items on it, then you have two separate IDs each with purchased associated with them. You say that you can't log in to the original account with the 'alternate' email - have you tried logging in with the original email address? It doesn't matter if it doesn't actually work to receive mail, as far as logging in is concerned it's just a text string.

  • Pages wont load half the time have to close all the way and reopen always says conecting this really started to happen after the last 2 updates

    pages wont load half the time have to close all the way and reopen always says connecting this really started to happen after the last 2 updates

    Hello,
    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information. <br>
    '''Note''': ''This will cause you to lose any Extensions and some Preferences.''
    *Open websites will not be saved in Firefox versions lower than 25.
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • HT201272 I bought a season pass for a TV series on my MAC. It shows up on my Apple TV but isI not loaded. I had to download on my MAC the wait again to download on the Apple TV. Is this really how it is done? It is very time consuming.

    I bought a season pass for a TV series on my MAC. It shows up on my Apple TV but isI not loaded. I had to download on my MAC the wait again to download on the Apple TV. Is this really how it is done? It is very time consuming. What am I doing wrong?

    If you downloaded it to your Mac you don't watch it on your ATV unless you are using home sharing. Otherwise, you can stream it from your ATV directly from the store... which means you somewhat download it twice.

Maybe you are looking for

  • What does it take to get Verizon's attention?

    I don't want to talk to a "community forum." I want to notify Verizon of a problem. I cannot access online chat - "all the customer reps are busy." Emailing Verizon is apparently not an option. Thinking seriously about taking my business elsewhere. D

  • Connecting Zen to stereo or

    I had a Zen Vision M with the video cable to plug directly into my TV or stereo. Well, it was stolen. So for x-mas, I got a Zen. How do you connect his player to the TV or stereo? Is there a better way than just using the headphone jack? Thanks

  • Reg: Error in CMOD

    Hi After creating a project from CMOD,while giving a enhancement name by clicking on enhancement assignments , it is throwing error as "SAP enhancement V45A0003 already belongs to project Zxxxxx" How to resolve it.. regards chandrakanth.k

  • Web Dynpro ABAP vs web dynpro java

    Why do we have webdynpro abap when we already have webdynpro java?

  • Can the MTM Test Run 'build number' field be unhooked from a real build without using a fake or empty string.

    I'm working on integrating MTM Test Runs (Via TFS/MTM API) with our automated build & test system, and I've noticed that if I supply a valid build number when creating a test run, and I later delete the build, the test run data disappears with it. I