Text bleed, when using Titled border and JPanels

I have written a JApplet with some panels depicting numbers and graphs that change according to the use of Jsliders. Most of the panels have titled borders. They all work fine, but one. That title seems to bleed everytime I change the value of the slider. If I resize the window, it sets back to normal.
I've tried shifting the position of the panel to other area;s of the applet or changing the text, but to no avail. I have defined it exactly as the rest (AFAIK).
Does anyone have any idea what might be causing this? Do I need to add the code (it's rather lengthy)?
Thanks in advance for your help.
Benoit

Do I need to add the code (it's rather lengthy)?No, what you need to do is add the errant component (and only the errant component)
to a frame/panel, compile run. Does it still bleed?
if so, post that code, if not, add another part of your code to it. Compile/run, does this bleed?
etc etc

Similar Messages

  • Changing the text color of a titled border

    Hello everyone,
    I have an applet that I have created. The background color of the applet is black. My jpanels have titled borders. I cannout figure out how to change the color of the titled border text to a different color other than black. Can anyone tell me how to do this please?
    Dave

    Hi,
    Not exactly sure what you are putting a border around, but here is one example of using a border and changing the color and the placement of the title. In this instance editor is a JTextPane:
    TitledBorder tb = new TitledBorder("Title");
    tb.setTitleColor(new Color(128,0,0));
    tb.setTitleJustification(TitledBorder.LEFT);
    editor.setBorder(tb);
    Joel

  • Panel contents overlap when using borderSkin style and layout=absolute

    This problem has been reported on several occasions
    (http://bugs.adobe.com/jira/browse/SDK-14806)
    and there are several articles that talk about this:
    http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/
    http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/
    I´m not an expert but think I found a fix/workaround for this.
    frameworks\projects\framework\src\mx\containers\Panel.as
    Must to be changed in the viewMetrics() method.
    Line:
    973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {
    Replace by:
    if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {

    Hi Andres,<br /><br />I haven't tried to verify your fix, but would you be willing to fill out a contributor agreement and submit an official patch?<br /><br />Matt<br /><br /><br />On 4/25/08 12:34 PM, "Andres Serral" <[email protected]> wrote:<br /><br />A new discussion was started by Andres Serral in<br /><br />Developers --<br />  Panel contents overlap when using borderSkin style and layout=absolute<br /><br />This problem has been reported on several occasions<br />(http://bugs.adobe.com/jira/browse/SDK-14806)<br />and there are several articles that talk about this:<br />http://dougmccune.com/blog/2008/01/17/followup-about-flex-panel-bug/<br />http://dougmccune.com/blog/2008/01/12/calling-********-on-a-resolved-flex-bug/<br /><br />I´m not an expert but think I found a fix/workaround for this.<br /><br />frameworks\projects\framework\src\mx\containers\Panel.as<br />Must to be changed in the viewMetrics() method.<br /><br />Line:<br />973- if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) 974- {<br /><br />Replace by:<br />        if ((FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0) || (getQualifiedClassName(border) != "mx.skins.halo::PanelSkin") || (getStyle("borderStyle") != "default") ) {<br /><br />________________________________<br />View/reply at Panel contents overlap when using borderSkin style and layout=absolute <a href=http://www.adobeforums.com/webx?13@@.59b51731><a href=http://www.adobeforums.com/webx?13@@.59b51731><br />Replies by email are OK.<br />Use the unsubscribe <a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3><a href=http://www.adobeforums.com/webx?280@@.59b51731!folder=.3c060fa3>  form to cancel your email subscription.

  • My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?

    My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?

    <http://www.thexlab.com/faqs/sbbod.html>

  • After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    After I installed the recent Apple security patch, I can no longer save PDFs when using Safari. And Firefox no longer can open website PDFs. Any suggestions?

    Dansyacht wrote:
    If the previous Safari suggestion doesn't work try the following:
    In Finder, go to Macintosh HD/Library/Internet Plug-ins and move AdobePDFViewerNPAPI.plugin to the Disabled Plug-ins Folder.  Restart Safari.  If this works you may just want to delete that FUBAR plug-in.
    Thanks.  This was the solution for me.
    Message was edited by: tvdowntown

  • In Firefox 3.6.10 I was able to go forward and backwards between pages without the page defaulting to the top of the page. Is there any way to prevent the page from automatically moving to the top when using the forwards and back buttons in Firefox Four?

    I like to be able to navigate backwards and forwards without having to scroll down and find where I was previously. In Firefox Four, when using the forwards and back buttons, the page will automatically return to the top of the page. Is there any way to change this setting in Firefox Four to prevent it from doing that?

    Thanks for the response. No Time Machine, but I probably have a backup from a few months ago on an external hard drive. :/ I guess it'd have useful history, but not if it overwrote the last 3 months or so of Awesome Bar, that might not be so great.

  • Performance issues when using Smart View and Excel 2010

    Hello, we are experiencing very slow retrieval times when using Smart View and Excel 2010. Currently on v.11.1.3.00 and moved over from Excel 2003 in the last quarter. The same spreadsheets in 2010 (recreated) are running much slower than they used to in 2003 and I was wondering if anyone else out there has experienced similar problems?
    It looks like there is some background caching going on as when you copy and paste the contents into a new file and retrieve it is better.....initially. The size of the files are generally less than 2mb and there aren't an expecially large number of subcubes requested so I am at a loss to explain or alleviate the issues.
    Any advice / tips on how to optimise the performance would be greatly appreciated.
    Thanks,
    Nick

    Hi Nick,
    Office 2010 (32 bit) only is supported.
    Also check these documents:
    Refresh in Smart View 11.1.2.1 is Slow with MS Office 2010. (Doc ID 1362557.1)
    Smart View Refresh Returns Zeros (Doc ID 758892.1)
    Internet Explorer (IE7, IE8 and IE9) Recommended Settings for Oracle Hyperion Products (Doc ID 820892.1)
    Thank you,
    Charles Babu J
    Edited by: CJX on Nov 15, 2011 12:21 PM

  • "Could not complete scan" error when using Windows Fax and Scan

    "Could not complete scan" error when using Windows Fax and Scan with a HP OfficeJet Pro 8600 Plus All-In-One network printer.
    Printing is fine.
    When using the HP Scan application, get the error "Scanner communication cannot be established".
    When scanning from the printer itself it fails with the same message. In addition the printer panel displays the error:
    "The scan could not be completed due to one or more of the following issues:
    Connection to the computer is lost
    The scanner is in use
    OCR application is not installed"
    My PC is a HP Compaq Pro 6300 SFF 64bit, with ethernet cable to the router and ethernet cable to the printer
    Originally ran Windows 8.0; recently upgraded to Windows 8.1.
    Older separate Netgear router and modem was replaced with a newer Netgear Router/Modem, but both experienced the same problem.
    There was no problem with the original Windows 8.0 configuration and only after upgrading to 8.1 did the problem emerge.
    On my home netowrk I have an HP ProBook 6550b running Windows 7 sp1 that uses wireless to get to the Router, and it has no problem with scanning.
    I have followed the recommendations of a number of articles relating to this issue (including: http://h10025.www1.hp.com/ewfrf/wc/document?cc=us&​lc=en&docname=c02915410&product=4323659#N94), but there has been no change in behaviour.
    The printer has a static IP address;
    Power settings have been adjusted to Never for Turn off Hard Disk; Sleep and Hybrid Sleep.
    Scanning has been tested with all firewalls and antivirus turned off and in Selective Startup.
    The printer has been plugged directly into the power socket.
    With all these settings the Windows 8.1 cannot scan while the Windows 7 laptop with wireless to the router has no problems.
    Appreciate any insights into this problem.
    I can only surmise that the problem is a compatibility problem between the 8600 Printer and Windows 8.1.
    Any ideas?
    regards,
    Motorbike

    You can determine if there is compatiblity between the printer and PC by checking the Windows 8.1 hardware compatibility list. I have done that and it is shown to be fully compatible.  If the driver you installed before was only the basic driver,it would explain the lack of scan and copy functionality.
    Download and install the Windows 8.1 full feature driver and software on the HP Compaq Pro 6300 SFF 64bit PC . 
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloa​dIndex?softwareitem=bi-108858-4&cc=us&dlc=en&lc=en​...
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Where are my designs stored when using Adobe CC and can i access them if i cancel ?

    where are my designs stored when using Adobe CC and can i access them if i cancel ?

    This is answered in the CC FAQ: http://www.adobe.com/products/creativecloud/faq.html

  • HT204291 When using my iPad and playing videos, I only hear the sound. Why will it not show the video?

    When using my iPad and playing videos, I only hear the sound. Why will it not show the video?  My iPad 2 and iPhone 5 work no issues.

    Hi sheilafrommannford,
    Welcome to the Support Communities!
    The articles below may be able to help you with this issue.
    Click on the links to see more details and screenshots.
    Using AirPlay
    http://support.apple.com/kb/HT4437
    Troubleshooting AirPlay and AirPlay Mirroring
    http://support.apple.com/kb/TS4215
    Cheers,
    Judy

  • If i dont use the display when using the GPS and only listen to the voice instructions can that also makes the iphone overheat even if you dont use the display

    because when i use the gps app in my iphone 4s in the car my iphone gets overheat so
    if i dont use the display when using the GPS and only listen to the voice instructions can that also makes the iphone overheat even if you dont use the display
    will that help?

    When you use your GPS does your iPhone get hot enough to shutdown?  The reason I ask is that I have run my GPS app with the screen brightness set to near max connected to power for hours.  My iPhone got hot, but didn't shutdown.

  • Cannot download aperture when using trial version and all photo work will be lost if delete trial version

    App Store will not download aperture when using trial version and all 30 days of photo work will be lost if delete trial version to be able to purchase Aperture download version???  any ideas?    

    Your Aperture library is not deleted when you delete Aperture from the Applications folder. Neither are your settings BTW.
    Do make certain your library is backed up!

  • How can I show only text edits and not text formatting when using print comments summary?

    Acrobat 9.3.0 for Mac.
    Here is the scenario: I used the Compare command to see the changes between 2 PDFs. The resulting file some edits are inserts and some are deletions. I want to print a comments summary only showing the text edits. In the Compare Option pane, I select Text and deselect Images, Annotations, Formatting, Headers/Footers, and Backgrounds. Now on the screen I see inserts are highlighted in blue and deletions are marked with sort of a caret and vertical bar symbol. So all looks good at this point. However, when I show the Comments List, I see addtional comments that indicate "Replace - The following text attributes were changed: fill color." Those comments do not appear in the page view unless I check the Formatting check box to show them. With Formatting unchecked, I print a comments summary and all of the "Replace - Fill Color" comments" appear on the resulting comments summary.
    I only want to show text edits, not text formatting changes. So questions are:
    1. Why, when the Formatting checkbox is unchecked, do the text formatting comments still appear in the comments list when they do not appear on the page display.
    2. How can I print only the text content edits and not show the text formatting changes when using Print Comments Summary.

    Hi,
    You can set ExecuteWithParams as default activity in the task flow then method activity to return total no of rows passing to Router activity if your method has value 0 then call Create insert operation else do directly to page.
    Following idea could be your task flow
    Execute With param (default) > SetCurrentRowWithKey > GetTotalNoOfRows (VOImpl Method)
    |
    v
    Router
    1. If pageFlowScope outcome is 0 then call CreateInsert > MyPage
    2. if pageFlowScope outcome > 0 then MyPage
    hope it helps,
    Zeeshan

  • Report error when using combo box and one text field is empty

    I'm building an interactive pdf in adobe pro 9. My problem is the following: I have one text field where you can enter a numeric code and that is used to populate another text field when I choose an option on one combo box.For example: suppose I write the code 123 in the text field "A" and that the combo box has two options ("data" and "-"). When I select "-", another text field "B" is empty, while when I select "data" i populate the text field "B" using the code entered "A" with the text "data_123". In order to do this I use the standard javascript code in the Format>Custom tab of the combo-box.
    My questions are:
    - how can I prevent the pdf to proceed selecting an option in the combo box when the field "A" is empty?
    - how can I update the field "B" every time that I change the text in "A"? I found that the text is "B" is updated only when I press the selection in the combo box.

    You can set the combo box to read-only in the Validate event of the A field:
    // Validate script for text field
    getField("combo1").readonly = !event.value;
    To update the value of B when A changes, you can expand the script above to something like:
    // Validate script for text field
    var f1 = getField("combo1");
    var f2 = getField("B");
    // If there is an entry in the A field...
    if (event.value) {
        f1.readonly = false;  // Make sure the combo box is activated
        f2.value = f1.value === "-" ? "" : "fa.value + event.value;  // Update the value of field B
    } else {
        f1.readonly = true;  // Deactivate the combo box
        f2.value = f2.defaultValue;  // Reset field B
    You might also want to reset the combo box somewhere in there, but it's not clear to me when you would want to do that.

  • System freeze when using catalyst driver and xorg 1.16

    As the title says, my computer freezes up when using the catalyst drivers.  This happens even when I haven't run startx (happens even when I ssh).  Typically I would check my syslog after a crash, right?  However, I don't see a syslog in /var/log.  How would I go about troubleshooting this?
    EDIT:
    Okay I discovered journalctl  .  I ran journalctl --since=today and the point in time at which my computer froze and had to be rebooted was blank.  Here is the relevant part of the log...
    Feb 26 21:56:47 kodi systemd[554]: Starting Default.
    Feb 26 21:56:47 kodi systemd[554]: Reached target Default.
    Feb 26 21:56:47 kodi systemd[554]: Startup finished in 11ms.
    -- Reboot --
    Feb 26 22:04:36 kodi systemd-journal[141]: Runtime journal is using 8.0M (max allowed 84.6M, trying to leave 127.0M free of 838.9M available → current limit 8
    Feb 26 22:04:36 kodi systemd-journal[141]: Permanent journal is using 64.0M (max allowed 2.7G, trying to leave 4.0G free of 22.3G available → current limit 2.
    Feb 26 22:04:36 kodi systemd-journal[141]: Time spent on flushing to /var is 1.152ms for 2 entries.
    My computer froze at about 22:03.  That portion is missing from the log so I have no way of knowing what caused the freeze.
    EDIT2:
    I should also mention that I recently upgraded so I'm running kernel 3.18.6-1-ARCH.  Will the catalyst drivers work with this kernel?  I did not have a problem with the old kernel, which I think was 3.16
    Last edited by necbot (2015-02-27 02:34:49)

    necbot wrote:I should also mention that I recently upgraded so I'm running kernel 3.18.6-1-ARCH.  Will the catalyst drivers work with this kernel?  I did not have a problem with the old kernel, which I think was 3.16
    First of all - I'm AMD APU user but I've not used Catalyst for a long time, then please be carefull with my opinion. When we can read on Release note, the latest Catalyst driver works with:
    - Xorg/Xserver 7.4 and above (up to 1.16)
    - Linux kernel 2.6 or above (up to 3.17)
    - glibc version 2.2 or 2.3
    - POSIX Shared Memory (/dev/shm) support is required for 3D applications
    see: http://support.amd.com/en-us/kb-article … Notes.aspx but on AUR we can read, that this driver is for linux < 3.19 (then kernel 3.18 is supported). This is possible because lano1106_fglrx-13.8_proc.patch but, of course, it's not official, upstream patch. From the other hand, I know that Ubuntu's users has seriously problem with Catalyst on Xorg 1.16.

Maybe you are looking for

  • Form Returns Null Values or Empty Values For Variables After Clicking OK Button

    I'm trying to create a new user based on a template user. Right now I just want to get the variables right, I just want to be able to select a template user, fill in the information that will be different, and click Create User.  I'm not sure why thi

  • How do i share files between two computers using the ethernet?

    i have bought a cord that is ethernet to ethernet. i do not understand how or where to go after the two computers are seemingly connected. i have a bunch of photos on iphoto id like to transfer. thank you.

  • IPhone loses play counts when syncing with iTunes

    I would like to repeat the question from this thread, which has mistakenly been marked "answered". When syncing with iTunes, not all play counts are transferred into iTunes. When I turn the iPhone off, it even forgets the complete list of played song

  • The date and time setting go crazy[SOLVED]

    Hello, Each time, I boot up the time setting changes. Sometime two hours behind, sometimes five. Even if I set the time and date by using the "date -s" command or kde time setting feature when reboot the time changes. Any idea how to fix this for goo

  • Net results not apearing in Financial statement

    Hi We have created a Financial statement verion (FSV) in FSE2 and assigned in a report painter Balance sheet report (FSI5). The issue is the "Net Profit" is not displayed in the report painter report. Its showing in F.01. Thanks