Display Problems with CellRenderer for JList and JRE 1.2.2

I'm using a CellRenderer to handle a JList as below. The problem is that with the JRE 1.2.2, I'm getting bizarre artifacts like choosing an item in the list and having every item above it go bold, then choosing another item in the list and having all items go unbold. This works fine with the JDK, but when run with the JRE the cell renderer goes amok. Any suggestions? Could it just be my card? (the Matrox G400 Max is documented to have Java display problems) or did I miss something in the class? Thanks.
class EB_ListCellRenderer extends JLabel implements ListCellRenderer, EditorConstants{
private final String[] text;
private Font plain = new Font("Arial",Font.PLAIN,12);
private Font bold = new Font("Arial",Font.BOLD,12);
public EB_ListCellRenderer(String[] text) {
     this.text = text;
public Component getListCellRendererComponent(JList list,Object value, int index,boolean isSelected,boolean cellHasFocus)
     setText(text[index]);
     setEnabled(true);
     setOpaque(true);
     setForeground(FOREGROUND);
     if (isSelected) {
     setFont(bold);
setBackground(SELECTED);//color
     } else {
     setFont(plain);
     setBackground(UNSELECTED);
     return this;

I found a solution for Matox Gxx cards. If you lower the hardware accelleration down one notch, it will most likely help you to display java gui's correctly.
Hope this helps.
..ec

Similar Messages

  • Display Problem with my Mac Pro and LG Flatron Wide Monitor in Mountain Lion

    After upgrading to Mountain Lion, my Mac Pro has display problems with my LG Flatron display.  The image is displayed with a black bar on the right and on the bottom.  And the left side of the content is not visible.  I tried every resolution available in the Display System Preferences, they are different in terms of how big the black bars are, and what part is not visible, but none of them are correct.  I held down the option key to try to detect displays or switch to resolutions that are not normally available.  When I restart the image is lined up with the display, but if the display ever goes to sleep or gets turned off, the image reverts to being off center, and the only way I can get it back is to restart...  The interesting thing is that this monitor works fine with the same machine if I reboot using BootCamp into Windows 7.  The Monitor also works fine, connecting the same connector to a Mac Mini, although that mac mini is running 10.6 and not Mountain Lion.  I've reset the SMC and restarted countless times, I don't see any other levers to pull or things to try...

    That card is for a PC it may not give you Startup and Option-Boot screens.
    The 7950 "Mac Edition" card has a very distinctive look:
    http://www.sapphiretech.com/presentation/product/product_index.aspx?cid=1&gid=3& sgid=1157&pid=1777&psn=&leg=0&lid=1

  • Is anyone else having problems with Office for Mac and Lion?

    Since installing Lion 10.7.1 on a macbook pro 2.53 Ghz 4GB 1067 MHz DDR3 I have had no end of problems. Both Excel and Word hang, crash and saving an Excel file is a pain. A 12mb spread sheet just took 4 minutes to save! I have MS Office for Mac 2011 version 14.1.3.
    Another problem that may not be related to Office is that opening Finder is so slow and most of the time it takes a minute to display folders in Desktop or Documents.
    Any suggestions would be welcome .. I regret installing Lion .. I had no problems with Snow Leopard!

    botro wrote:
    I'm unable to install the MS Office 14.1.3 update - I keep getting "Installation Failure"
    I have not found a solution on this board or Microsoft community
    This thread had some things to try.

  • Detect Displays problem with ViewSonic VX2035 - VGA and Snow Leopard 10.6.6

    I just bought a KVM switch (IOGEAR GCS72U) so that my ViewSonic VX2035WM can jump between my macbook (where it is an external monitor) and a linux box that I built. The monitor worked fine with the macbook, always detected automatically or by the "Detect Displays" button - before I switched from a DVI connection to a VGA connection. I had to switch to VGA to facilitate the KVM switch. The monitor has a separate built-in VGA input and built-in detection of analog versus digital input.
    Now that I have setup the KVM switch and VGA connection - using appropriate Apple mini-DVI-2-VGA adapter - Snow Leopard detects that a monitor is connected, but only generically as "Display" instead of naming the display model (ViewSonic VX2035WM). Display Preferences does not provide the optimal resolution (in this case, 1680 x 1050), with the closes being 1400 x 1050, resulting in a distorted picture.
    http://www.viewsonic.com/products/desktop-monitors/lcd/x-series/k
    The KVM switch is listed as being compatible with Mac OS X, and supports resolutions up to 2048x1536.
    I do see a picture. It does detect that a monitor is there. It does not recognize what kind of monitor it actually is, and it does not allow me to select the resolution/frequency settings that I actually need.
    When I skip the switch and connect directly from the Apple VGA adapter to the built-in VGA input, the problem is exactly the same. No amount of putting the laptop to sleep, turning monitor off, clicking Detect Displays, is getting anything to change. An option to manually specific the resolution and monitor would be fine. At this point I would even be willing to pull a "Windows" and install a driver, so long as the problem is fixed. I'm pretty sure the appropriate driver is already included in Snow Leopard, because it was working fine and recognized this model before I switched from DVI to VGA connections.

    Using the printerto  manage color is worse, still magenta cast, or gray/browns. We've tried all the different settings withing Photoshop Color Setting, we've tried all the different combinations within the printer window dialogue, all either have a magenta cast or red cast...we've tried different combinations with photo papers...what is interesting is with no change in any settings if we use plain copier paper with the medium selected for Plain Paper the colors are truer but because of paper quality the image is not good enough. I'm thinking it may be something within settings for paper and ink. But since I am not techically savy enough to understand all of the color management settings we've relied just on the internal settings and only had to change the medium paper quality to get good images. Once I upgradedto Snow Leopard  it appears I have to be more sophisticated in color management. At a loss. What we're going to try now is change out all the inks to fresh Canon inks, and recalibrate monitor (which I did before but maybe needs again) and try and match a Pantone Color Guide to set monitor, and experiment with paper combos...if that doesn't work quess I have to bring in some tech help....we're designers and graphic artists so havng a hard copy for clients is crucial. Thank you for any help.

  • Problem with Obi for Excel and Agents - Obiee 11.1.1.6.6

    Hello,
    When I export query to Excel from a dashboard OBI, the file size is only *350 KB* but when I use agent for same query and send an email, the excel file size is *6 MB*, so there is a great diference in size and I have a problem because I have restriction for sending emails regarding to file size.
    Do you Know why increase a lot file size when I use aaan gent ?
    I have another question:
    When I use pluggin obi for excel, I am lossing information content when I use pluggin obi for excel.
    Do you know if I must to change configuration in instanceconfig.xml ? or is there another reason ?
    Regards,
    MBP

    Thanks Benoit,
    I changed the parameter jus like you suggested to me and it works very well, but I have another problem with agent and it is regarding to file size.
    When I export query to Excel from a dashboard OBI, the file size is only *350 KB* but when I use agent for same query and send an email, the excel file size is *6 MB*, so there is a great differenrence in size and I have a problem because I have restriction for sending emails regarding to file size.
    Do you Know why increase a lot file size when I use agent ?
    I have another question:
    When I use pluggin obi for excel, I have the same problem than I expused here at beggining with agent, I am lossing information content when I use pluggin obi for excel.
    Do you know if I must to change configuration in instanceconfig.xml ? or is there another reason ?
    Regards,
    MBP

  • Possible Problem with Save for Web and Devices?

    II've come here to the forum for some insight on why a gif file created by save for web and devices command is not showing up as an image in an uploading dialog box for my website.  I'm buildiing my website with word press and a custom freelancer theme.  I've created a customized header with Illustrator and have been saving the file with the save for web and devices command.  Once I have my gif file, I go to my theme uploader and try to upload the gif image and place it on my homepage.  I've not had any problems with doing this until yesterday, when I tried to upload an updated file.  What usually happens is that the thumbnail image shows up in the dialog box, I select my options, and click insert.  But what's started happening yesterday is that the thumbnail does not show up, unless I click on edit image.  This makes no difference, as when I click insert and go to my homepage and refresh it, the header doesn't show up.  I've tried working with the developer of the theme to resolve this problem and so far we've not found a solution.  I've tried to upload the header with different file types: jpg, png, tiff, but they don't work.  I thought I'd come here to see if anyone might have some suggestions.  The problem may not be with Illustrator's save for web and devices, but I thought I'd give this forum a shot.  Thanks for any and all respones. :[

    CT,
    If you can see and open the GIF/whatever (with any viewing application), the Illustrator Save for Web&Devices works. If not, you may ask about it in the Illustrator forum:
    http://forums.adobe.com/community/illustrator/illustrator_general?view=discussions
    If the image is there, to have the issue solved quickly, I believe you should ask in a forum covering the web building application.

  • Cs3 Problems with saving for web and devices

    Lately, I have had a problem saving my files for Web and Devices and the problem I am having is that when I save the file it saves as a very pixelated version of the very crisp illustration I have created.  I can easily copy and paste the file from Illustrator into Photoshop and save it that way but I would much rather just save it in Illustrator.
    I am going to get the CS5 package shortly, however I wasn't sure if this problem would also continue in CS5.

    It should not be a problem in CS 3 either, definitely not in CS5.
    Try this
    PC
    1. Quit Illustrator.
    2. Rename the AIPrefs file (for example, to AIPrefs.old) in the Users/(user)/AppData/Roaming/Adobe/Adobe Illustrator CS3 Settings folder.
    3. Start Illustrator. Illustrator creates a new preferences file.
    Also here should be a Save for the Web folder as well trash that also should be in the same directory.
    Mac
    1. Quit Illustrator.
    2.Go to User/username/Library/Preferences/ Adobe illustrator CS4 Settings and trash the settings folder, the whole folder not just the contents of the folder..
    3. Start Illustrator. Illustrator creates a new preferences file.
    Also here should be a Save for the Web folder as well trash that also should be in the same directory

  • I tried downloading a free app and it asked for my billing information and when i entered it, it says that there was a billing problem with a previoud purchase and i have to update it. I keep updating it and it wont let me verify it and i cant get apps

    I tried downloading a free app and it asked for my billing information and when I entered it, it said that there was a billing problem with a previous purchase and I have to update it. I keep updating it and it wont let me verify it and I cant get any apps even if they are free, and I just Deleted some apps to make room for my new upate!

    The message says: "The payment method has been denied, try another method"
    I'm living in the same country and city since I was born, so I don't think the location is the problem.
    And yes, I paid with the card a meal in Burguer King today. And nothing more.

  • I have problem with syncing in itunes and it stared since i installed new version of itunes.it stuck in backup step for houres.what shud i do?

    I have problem with syncing in itunes and it stared since i installed new version of itunes.it stuck in backup step for houres.what shud i do?

    So, in iTunes, when you look at the shuffle's content (in the sidebar) and click on the playlist under the shuffle, over to the right, the songs are in your desired order, correct?  Where do you look, or what do you do, that indicates the playlists are in alphabetical order?  Are you saying that when you play the songs while using the shuffle, they play in alphabetical order?
    If so, when you listen to the songs on the shuffle, are you using the playlist, or are you using the All Songs list? If you are in the default All Songs list, with the shuffle's power switch set to play-in-order (the middle position), the songs play alphabetically, I believe. 
    The 3rd gen shuffle uses VoiceOver.  If you are in the All Songs list, you need to use VoiceOver to switch to the playlist (see manual linked below for details).  When you are in the playlist (with the shuffle's power switch set to play-in-order), then the songs should play in playlist order.
    There are more details in the manual for the 3rd gen shuffle, which is online here
    http://manuals.info.apple.com/en_US/iPod_shuffle_3rdGen_UG.pdf
    See page 22 for the section about setting up and using VoiceOver.  The part about switching playlists starts on page 23 (Using the Playlist Menu).

  • I have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me

    i have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me

    i have problem with fonts for my site, i have used "Lucida sans unicode " family for certain texts. it shows perfect in mozilla 3.5 and mozilla 4. But the font not supporting in mozilla 5.0? please help me

  • ?I am getting an error when installing on my dell inspiron with latest updates for drivers.  Error 1406.  I have the problem with Scan Snap software and a full version of reader.

    ?I am getting an error when installing on my dell inspiron with latest updates for drivers.  Error 1406.  I have the problem with Scan Snap software and a full version of reader.

    Error 1402 | Error 1406 | Acrobat, Reader

  • Very big problem with JSF about FORM and "id=" for HTML form's elements and

    I have discovered a very big problem with JSF about FORM and "id=" for HTML form's elements and java instruction "request.getParameterNames()".
    Suppose you have something like this, to render some datas form a Java Beans :
    <h:dataTable value="#{TablesDb2Bean.myDataDb2ListSelection}" var="current" border="2" width="50%" cellpadding="2" cellspacing="2" style="text-align: center">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Name"/>
    </f:facet>
    <h:outputText id="nameTableDb2" value="#{current.db2_name_table}"/>
    </h:column>
    </h:dataTable>
    Everything works fine...
    Suppose you want to get the name/value pairs for id="nameTableDb2" and #{current.db2_name_table} to process them in a servlet. Here is the HTML generated :
    <td><span <span class="attribute-name">id=<span class="attribute-value">"j_id_jsp_1715189495_22:0:nameTableDb2">my-table-db2-xxxxx</span></td>
    You think you can use the java instructions :
    Enumeration NamesParam = request.getParameterNames();
    while (NomsParam.hasMoreElements()) {
    String NameParam = (String) NamesParam.nextElement();
    out.println("<h4>"++NameParam+ "+</h4>);
    YOU ARE WRONG : request.getParameterNames() wants the syntax *name="nameTableDb2" but JSF must use id="nameTableDb2" for "<h:outputText"... So, you can't process datas in a FORM generated with JSF in a Servlet ! Perhaps I have made an error, but really, I wonder which ?
    Edited by: ungars on Jul 18, 2010 12:43 AM
    Edited by: ungars on Jul 18, 2010 12:45 AM

    While I certainly appreciate ejb's helpful responses, this thread shows up a difference in perspective between how I read the forum and how others do. Author ejb is correct in advising you to stay inside JSF for form processing if form processing is what you want to do.
    However, I detect another aspect to this post which reminds me of something Marc Andreesen once said when he was trying to get Netscape off the ground: "there's no such thing as bad HTML."
    In this case, I interpret ungar's request as a new feature request. Can I phrase it like this?
    "Wouldn't it be nice if I could render my nice form with JSF but, in certain cases, when I REALLY know what I'm doing" just post out to a separate servlet? I know that in this case I'll be missing out on all the nice validation, conversion, l10n, i18n, ajax, portlet and other features provided by JSF".
    If this is the case, because it really misses the point of JSF, we don't allow it, but we do have an issue filed for it
    https://javaserverfaces-spec-public.dev.java.net/issues/show_bug.cgi?id=127
    If you can't wait for it to be fixed, you could decorate the FormRenderer to fix what you want.
    I have an example in my JSF book that shows how to do this decoration. http://bit.ly/edburnsjsf2
    Ed

  • We have been having a problem with newsletters for a client. The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!

    We have been having a problem with newsletters for a client.
    The newsletter works fine except if we add a button and/or link to the top zone on that newsletter it blows up ONLY ON iPhones!
    This happened last month too. It seems to be related to length of the newsletter too. It works on every device except iPhones - so weird.

    Hi, is anyone else experiencing i-phone only problems on email campaigns? not bashing Apple, just having issues where our newsletter are only having issues on iPhones

  • Hallo Apple, what does it mean this Message0x7fff7500b300 resumeBackgroundConversion: background conversion started/resumed for lv 82832E6C-B6AC-46A6-8836-715414EBE8F4. Because I have a Problem with my CPU: Kernel_task and corestoraged

    Hallo Apple,
    what does it mean this Message0x7fff7500b300 resumeBackgroundConversion: background conversion started/resumed for lv 82832E6C-B6AC-46A6-8836-715414EBE8F4.
    Because I have a Problem with my CPU: Kernel_task and corestoraged.

    I'm having this same issue. I also have this line in my log, which is curious:
    12/14/14 7:13:07.822 PM netbiosd[16766]: Attempt to use XPC with a MachService that has HideUntilCheckIn set. This will result in unpredictable behavior: com.apple.smbd
    Is this related to the problem? What does it mean?
    My 2010 27" iMac running Yosemite won't wake up from sleep.

  • HT3042 Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me

    Please show us the video tutorial for this because i am having so much problem with my iphone5 bluetooth and can not send any file . So plz plz help me

    You have to use airdrop which is on iOS 7

Maybe you are looking for

  • Going to install a PC with Arch in my car!

    In my Miata, the center console has a single hole that usually holds a standard-sized radio and a junk holder.  When you take them both out, walla, the perfect size and place for a touchscreen!  So I'm going to put a display right on my console and i

  • Can I run a backup when iOS beta has expired?

    Hi, I'm traveling overseas and have been unable to install IOS 6 after the latest beta. I was trying to backup my phone, but the Internet here is bad, so it kept failing. Is there a way to still do a backup before restoring to the release version of

  • Best Practice addon for EP 7.0

    Hi All, We are planning for best practice for EP 7.0 (SAP BP for portals). This will help us in all ready made portals done already. Wanted to know the pre-requisite for this. I have ECC 6.0(Abap)+ EP 7.0 (Java). The current SP level is 6 in Java. Pl

  • I keep getting a 'Looking for backup disc' message from my  Time Capsule.

    I keep getting a 'Looking for backup disc' message from my  Time Capsule. I have set it up several times without any apparent problems (I have even done a Hard and Factory reset). Everything seems fine until I ask Timemachine to 'back up', and then t

  • Redundant guest anchor/office extend 5508 controllers

    Hello, We are looking to deploy 2 guest anchor/office extend 250 AP 5508 Controllers. The first 5508 would be primary for both public wireless and office extend AP's.  The second 5508 would not be used unless the first controller fails. What is best