Help - labels not showing properly in a window

I am designing my first GUI using Java.
I have a window with two labels and two buttons. when the buttons are pressed, the text of the labels is changed within the event handler method. however, when compiling, the text is not displayed correctly, but is mangled, as in the following picture...
http://personalpages.umist.ac.uk/student/B.Hamilton-2/box.jpg
any ideas anyone ?
TIA

Sorry, have worked this out!
Just needed to quickly rezise the window, and all is well.
Sorry, guys

Similar Messages

  • Anychart labels not showing properly..

    Hi all...
    Anychart Version: 5.1.2
    I have a bar simple bar chart which calculates surgeons and their percentage of surgeries.
    x axis: surgeon name (labels rotated to 90 degrees)
    y axis: percentage
    If i am just showing 10 surgeons it is showing properly.
    But if am trying to show all the surgeons (around 100 surgeons on x axis).
    The Flash chart x axis labels are not showing properly
    In this thread..Austin suggested to increase the width of the chart
    APEX Flash Chart labels not displaying
    If i increase the width the labels are showing properly. But the chart looks so ugly with huge width. Is there any other way to show the labels properly
    without incresing the chart width
    In Mozilla filefox i checked the XML returned. In the XML it is showing the labels but in the chart
    it is not showing up.
    Sample X axis..
    The X axis is looking like this..
    s s
    u u
    r r
    g g
    e e
    o o
    n n
    1 3
    It is not showing the "surgeon 2" which is between 1 and 2
    This is custom XML that i am using..
    <anychart>
    <margin all="1"/>
    <settings>
    <animation enabled="true"/>
    </settings>
    <charts>
    <chart use_anychart3_data_model="true" use_sets_colors="false">
    <chart_settings>
    <title enabled="True" vertical_padding="30">
    <font bold="True" size="15" />
    <text>Death by Surgeon</text>
    </title>
    <subtitle enabled="True">
    <background enabled="false" />
    <font bold="False" size="15" />
    <text>Arranged by Increasing Annual Rate of Procedure</text>
    </subtitle>
    <footer enabled="true" align="Center" padding="30">
    <background enabled="false" />
    <font bold="False" size="12" color="Red"/>
    <text><![CDATA[Notice: This report generated considered privileged and confidential. &APP_TIME_STAMP.]]></text>
    </footer>
    <axes>
    <y_axis>
    <title><text>Percentage</text></title>
    <labels>
    <format>{%Value}{numDecimals:0}</format>
    </labels>
    </y_axis>
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90"/>
    </x_axis>
    </axes>
    </chart_settings>
    <data_plot_settings default_series_type="Bar">
    <bar_series>
    <tooltip_settings enabled="True">
    <format>
    {%SeriesName}{numDecimals:2,thousandsSeparator:}
    {%YValue}{numDecimals:2}%
    </format>
    </tooltip_settings>
    <bar_style>
    <states>
    <normal>
    <fill color="%Color"/>
    <border color="DarkColor(%Color)" thickness="1"/>
    </normal>
    <hover>
    <fill color="LightColor(%Color)"/>
    <border thickness="2"/>
    </hover>
    </states>
    </bar_style>
    </bar_series>
    </data_plot_settings>
    #DATA#
    </chart>
    </charts>
    </anychart>please help me to solve this

    Hi,
    100 columns is a lot of columns. I understand why you are having this issue. I think you have two options here:
    First, you could use a scrolling chart.
    your x-axis custom XML would look something like:
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90"/>
    <zoom enabled="true" allow_drag="false" />
    </x_axis>Second, you could reduce the font size of the labels on the x-axis to a very small number, so that the text of the label is not wider than the column width. With 100 columns, you are probably talking about a terribly small font size, probably making it unreadable.
    your x-axis custom XML would look something like:
    <x_axis tickmarks_placement="Center">
    <title><text>Surgeon</text></title>
    <labels rotation="90">
    <font size="4" />
    </labels>
    </x_axis>Austin
    Edited by: AustinJ on Feb 11, 2011 11:13 AM - fixed typos

  • The latest version of iTunes did not install properly on my Windows 7 PC.  I am getting the following error message: "Service 'Apple Mobile Device' failed to start.  Verify that you have sufficient privileges to start system services." Can anyone help?

    The latest version of iTunes did not install properly on my Windows 7-64bit PC.  I am getting the following error message: "Service 'Apple Mobile Device' failed to start.  Verify that you have sufficient privileges to start system services."
    I have tried the following troubleshooting steps without success:
    Restart PC
    Uninstall iTunes and attempt to reinstall
    Verify that I am signed in as an administrator
    Download and save iTunes64Setup file, right-click, and run as Administrator
    Disable Norton antivirus software
    Any suggestions would be greatly appreciated!

    Hi Iss9243,
    Welcome to the Support Communities!
    You've already tried some great troubleshooting steps, but the article below gives you quite a few more for this issue.  Hope it helps ....
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    Cheers,
    - Judy

  • IPod Classic not showing in iTunes or Windows

    I received a new iPod 80GB Classic for Christmas today, but I'm having trouble getting it to work with iTunes. I've plugged it into the USB port, but all that happens is that it starts charging but doesn't show in My Computer or iTunes.
    Before I got this new iPod I was using a 2GB iPod Nano, could it be because I was syncing a particular iPod with iTunes before I got this new iPod? Or do I have to do something like charge the iPod completely before connecting it to the USB port?
    Any help would be greatly appreciated. Thanks.

    Have you had a chance to look at these troubleshooting pages? They may be of some help:
    iPod missing in My Computer and in iTunes
    iPod is not recognized properly by computer when USB drivers are not installed properly or are out of date
    If you are using a laptop, this page might help: iPod not recognized when connected to Windows laptop over USB

  • HT4972 I AM USING WINDOWS XP. WHEN I AM CONNECTING MY IPOD TOUCH  MODEL NO. MC 008LL TO MY PC ,CHARGING INDICATION IS COMING BUT NEITHER THE WINDOWS NOR THE LATEST VERSION I TUNE DETECTING MY IPOD. IT IS ALSO NOT SHOWING IN I TUNE WINDOWS.

    I AM USING WINDOWS XP. WHEN I AM CONNECTING MY IPOD TOUCH  MODEL NO. MC 008LL TO MY PC ,CHARGING INDICATION IS COMING BUT NEITHER THE WINDOWS NOR THE LATEST VERSION I TUNE 10.6.3 DETECTING MY IPOD. IT IS ALSO NOT SHOWING IN I TUNE WINDOWS."DEVICE LIST" IS NOT DISPLAYING IN LEFT HAND SIDE WINDOW OF I TUNE. BEFORE IT WAS WORKING IN ITUNES 9 AND I WAS USING IT. BUT NOW IT IS  NOT DETECTIN AT ALL. SO PLEASE HELP ME WHAT TO DO?

    Have you tried here:
    iOS: Device not recognized in iTunes for Windows

  • Why is a simple Java applet not diplaying properly in its window bounds?

    Hello, I am having difficulty displaying applets on the Mac. Here is one of the simplest applets copied exactly from the Sun java website. This applet runs fine on PCs, unfortunately, on my sister's Mac, it does not display properly. It looks like the browser reserves the proper cutout window for the applet. But then the applet does not display in that window, instead, it paints itself shifted away from that window, even covering browser's borders and toolbars.
    She is using Leopard, the Mac was bought new last year, and the browser is Firefox. She is using java 1.4, I don't want to switch that, because that is what is by default running there. Most internet users would not know to switch their java version if an applet does not show properly. So it has to show properly for any java version that may be default on a Mac.
    Here is the SSCCE:
    file HelloWorld.java:
    import javax.swing.JApplet;
    import java.awt.Graphics;
    public class HelloWorld extends JApplet {
    public void paint(Graphics g) {
    g.drawRect(0, 0,
    getSize().width - 1,
    getSize().height - 1);
    g.drawString("Hello world!", 5, 15);
    file HelloWorld.html:
    <APPLET CODE=HelloWorld.class WIDTH=850 HEIGHT=730 >
    </APPLET>

    You'll most likely get a cogent response posting to the Unix forum under OS X Technologies.

  • Photoshop CC2014 running under window 8.1.  How do I access mini bridge.  It does not show under FILE or WINDOW-EXTENSIONS.  Works ok with CS6

    Photoshop CC2014 running under window 8.1.  How do I access mini bridge.  It does not show under FILE or WINDOW-EXTENSIONS.  Works ok with CS6

    Photoshop: Spring Cleaning | PHOTOSHOP.COM BLOG

  • Thai characters not showing properly

    Hi,
    When creating a product catalog in thai language the characters do not show properly. The characters have small aspects attached to them that hover above as you can see here http://www.gte-premium.com but when editing in Indesign the small aspects that are meant to hover above overlap the portion of the character below and are not aligned left to right properly.
    I have tried every thai-friendly font I can find but this does not fix the problem, how can I amend this?
    Thanks in advance

    If you're using a well-made font, you can probably get the tone marks to behave by turning on the World-Ready Composer. It's exposed in InDesign CC and CS6, in the Paragraph menu I think, but if you're using an earlier version of InDesign it's a hidden feature that you would need to use a script or a plugin to turn on.

  • I have a 7th generation ipod nano that is not showing in the itunes window after being put on the USB. how do i fix this, i have a 7th generation ipod nano that is not showing in the itunes window after being put on the USB. how do i fix this

    I have a 7th generation ipod nano that is not showing in the itunes window? how do i change that?

    Thank you Bilbo! I was trying to find the instructions on how to do this, but was unable to locate them until you pointed me to it!
    After running the diag, it shows me error...
    [Device Opened]
    Error
    Menu to continue
    From the information Ive read on this occurance, my HD is shot? Is this true or likely? What would be recommended as the next step?

  • Video will not show in the preview window

    I am using iMovie 08 and have some video that I pulled into iMovie using my iSight. Whenever I am trying to preview my movie it will not show in the preview window. I did a software update for iMovie and the issue is still happening. Any ideas??

    Although the same not preview-able iMovie event played perfectly fine when transferred to a different mac running perian and divx, disabling Perian solved the issue on my macbook, too!
    Thanks for the tip!
    I still wonder why some clips preview and some don't (with perian running)...

  • Ipod Nano not showing in Itunes or Windows

    hi,
    when i connect my ipod to my computer it charges but does not show under itunes or in windows. i've tried all the Rs except one...restore. and the only reason i haven't tried restore is because i can't access my ipod under itunes to run the restore! someone pls help if u can...i'm just about ready to smash the thing!i've spent hours these past two weeks trying to get it to open under itunes with no luck. sometimes it pops up as a "new device that is not working properly", but then it just disappears again and i can't find it under my devices!! somebody, anybody, pls help!
    2nd Gen ipod nano   Windows XP  
      Windows XP  
      Windows XP  

    I have a simelar problem. My wife had an ipod mini which was synced to itunes, I brought her a 4GB ipod nano yesterday and I told her just plug it into the computer and then it will have auto instructions.
    Actually what happens is nothing, I plug it in and it charges, nothing else. I have uninstalled itunes and downloaded it again but it still has my mums ipod mini songs on there.
    basically the ipod does not seem to sync with itunes...any help will be appriciated.
    Matthew

  • Not showing  pop up message window when message type I and W

    Hi,
    My requirement is to show the popup message window with material number, material description and ABC indicator of material at Every line item of PO in Transaction ME21N , if material is significant.
    I find Badi to transaction me21n ME_PROCESS_PO_CUST~PROCESS_ITEM
    actually i want show only information about material.
    This Badi ( ME_PROCESS_PO_CUST~PROCESS_ITEM ) is properly working But does not showing Popup Message window
    when i am using Message Type  'I' or "W" .
    <Coding>
    method IF_EX_ME_PROCESS_PO_CUST~PROCESS_ITEM.
    BREAK-POINT.
    BREAK-POINT.
        IF  SY-TCODE EQ 'ME21N' OR SY-TCODE EQ'ME21' . " ) AND MEPO1211-werks IS NOT INITIAL. " AND IM_LGOBE IS INITIAL.
       BREAK-POINT .
      DATA : VAR_MAKTX TYPE MAKT-MAKTX.
      DATA : VAR_MAABC TYPE MARC-MAABC.
      DATA : P TYPE STRING.
      DATA : P1 TYPE STRING.
    DATA: ls_mepoitem1 TYPE mepoitem,
          ls_header_obj TYPE REF TO if_purchase_order_mm,
          ls_header   TYPE mepoheader,
          lc_werks(1) TYPE c,
          lv_fabkl    TYPE t001w-fabkl,
          lv_plifz    TYPE ekpo-plifz.
       *Get header data
      ls_header_obj = im_item->get_header( ).
      ls_header     = ls_header_obj->get_data( ).
    *Get Item Data
    ls_mepoitem1 = im_item->get_data( ).
        SELECT SINGLE MAABC FROM MARC INTO VAR_MAABC WHERE matnr EQ ls_mepoitem1-matnr AND werks EQ    ls_mepoitem1-WERKS.
        SELECT SINGLE MAKTX FROM MAKT INTO VAR_MAKTX WHERE matnr EQ ls_mepoitem1-matnr.
          IF   VAR_MAABC EQ 'A'.   "LS_MEPOITEM1-SPINF EQ 'A'.
            P = 'is significant material'.
            CONCATENATE  LS_MEPOITEM1-MATNR '' '(' VAR_MAKTX ')'  '' P INTO P1.
           MESSAGE p1 type 'I' .   
            EXIT.
            ENDIF.
            ENDIF.
    endmethod.
    guide me.....

    Hi
    Please, see SAP Note 310154 - ME21N/ME51N: Customer-specific check, generating error log
    I hope this helps you
    Regards
    Eduardo

  • Fiscal Year / Periods does not show properly in WebI and compunding

    Hi,
    I have few reports where I am using Fiscal Year /Period as filter.
    I have created a Universe on the top of a SAP BI Query and did not do any customization.
    Then I created a WebI report. In this report I created various filters beside Fiscal Year / Period. When I run report, filter window opens. I can select all other filters but when it comes to Fiscal Year / Period it does not show me the values I want to see. It shows AUG 0001, APR 0025 etc. I want to see AUG 2010, MAR 2009 etc so that I can select them and get the data of the required Fiscal Year / Period. In Cube I have the required data. If I select MAR 0010 etc I donu2019t get any data.
    On the other hand if I put fiscal Year / Period in columns or rows it shows the right value.
    If also run SAP BI Query and Fiscal Year / Period in Variable then on variable screen I can see the right value from where I can select and get the required result.
    Do I have to do any step at Universe level or something else?
    It seems that Fiscal Year / Period is compounding.
    Is there any help?
    Thanks
    Bashir Awan

    Ingo,
    for thanks for igniting my thoughts in this regards.
    Yes these values do exist in SAP BW.
    It is some how compunding the values at filter level.
    It does not let me see the whole value when filter screen popup in BOBJ.
    In SAP whole value shows when variable screen popup, I see three columns Fiscal Year / Period. Text, Posting Period Key, and Posting Year Key.
    Fiscal year / Period Text which shows Aug 2009, Posting Period Key which shows our period 1 to 16, and Fiscal year key which shows 2009 etc.
    Is there any setting in BOBJ which compunds the year for variable screen so that we may see the whole values for filters?
    thanks

  • My ipod will charge but does not show in itunes or windows

    I tried to use my ipod as a disk to transfer my itunes library from my desktop to my notebook (both Dell), now my ipod charges, but does not show up in itunes or on either of my computers. I have used the advice of going to control panel and unchecking the box under power management but that didn't work, CAN SOMEONE PLEASE PLLLEEEEAAAASSSSSSSEEEEEEE HELP ME?
    I have windows xp on one and vista on the other, if that helps.

    This worked for me, don't know if it will for you. Have ITunes open. While IPod is connected to computer press(at the same time) the menu and center buttons until your screen goes black and shows the apple icon then immediately press the forward button. Your IPod should show up. It won't hurt to try it, even if it doesn't work. Hope this is of some help to you.

  • IPhone 4 does not show in iTunes on Windows

    Complicated one here for everyone, I got my sister a Windows XP Pro on a Dell laptop (here in refered to as Dell) for Christmas.  She wants to use Dell to sync her iPhone 4 running 4.2.8 but when she plugs it in it is only detected as an image device, but not in iTunes.  Here are some details about what has been done so far.
    Computers in use and short names:
    my computer: MacBook Pro X.7.3.11D36 Dev (Macbook)
    iTunes 10.5.2 (MacTunes)
    attached to my itunes account
    running as admin
    her computer: Windows XP Pro on Dell (Dell)
    Started with iTunes 10.4.? updated to:
    iTunes 10.5.1 (downloaded this evening)(DellTunes)
    attached to sister's itunes account
    running as admin
    When given to sister, could not import itunes libary from old windows xp computer to this one, so libary is fresh, music from the old itunes music folder
    family computer: iMac X.7.3.? (FamilyMac)
    iTunes 10.5.? (familyTunes)
    attached to sister's itunes account
    running as limited w/parental controls
    Device info and short names:
    her cell: iPhone 4 Verizon running 4.2.8 (here in called 4)initiallized and formated from FamilyMac
    my current cell: iPhone 4s Verizon running 5.0.1 (4s)initilized and formated on Macbook
    my old cell: iPhone 3g ATT running 4.2.1 or 2 (3g)initilized and formated on Macbook
    Who works where:
    4,4s,3g all initialized and last synced on FamilyMac, Macbook, Macbook respectivly
    4,4s,3g all detect as normal on MacTunes
    4,4s do NOT detect as normal on DellTunesDoes appear as an image device on Dell.  software built into XP, much like image capture on Mac
    3g DOES detect as and has been backed up to DellTunes
    Following attempts have been tried and failed
    plugged in 4 into Dell
    disabled auto launch of image device software on Dell for 4
    replugged in 4
    plugged 4 into Macbook, showed up as normally expected
    plugged 4s into Dell, does not show in DellTunes, does auto open image device software
    downloaded and installed latest iTunes for Windows XP
    plugged 4 and 4s into Dell, same results as before (steps 1,2,5)
    ran itunes diagnostics, all settings reported fine except for detecting plugged in ipod/iphone
    manually disabled and reabled ipod support service as stated in the help document linked to in 8
    replugged 4 into Dell, same results as before
    set msconfig to all off except for anything itunes related.  applyed to both services and startup programs
    repeat steps 7-10
    plugged 3g into Dell, shows in Delltunes as normally expected
    backed up 3g to Delltunes to conferm data would transpher.  backup susessful.
    removed 3g and replugged 4 into Dell, 4 gave same results as before (steps 1,2,5)
    set msconfig to normal mode
    replugged 3g into Dell, looked in device manager, shows under image devices and USB devices.  Under USB devices shows as Apple moble device
    switched to 4, looked again in device manager, only shows under image devices
    gave up for the night and posted this
    *note many times steps would be repeated a few times under both sister's account and admin's account on Dell, as well as a few reboots.
    The confusing part is that the 3g works fine but not 4 or 4s.  I would understand if itunes was older than that cellphone version but iTunes is as recent as possible.  Does anyone have any ideas as to what is wrong and what would fix it?

    Follow ALL of the troubleshooting steps in the article from which the question was posted.

Maybe you are looking for

  • How can i use the webcamera Live! Ultra with Msn mesenger?

    hello i need to use this camera with msn messenger but is says that i cn only use it with yahoo msn , but on the box says that i can use it also with msn mesenger i need help fast ! thx

  • SQL agent job status

    In my SQL server stored procedure I need to check if a sql agent job is running or not. If Not running then start it immediately, and if it's already running then do nothing. Could you send me some neat and trustworthy script to achieve this? Thanks.

  • XI Content Description

    Hi, In general i get into SAP Service Market , under download and i find XI Standard content for many SAP Applications. XI content is vast and it has given for many appl , how to find the dexcription and usuage of the content. Do we need to download

  • Problems Connecting my HDR-HC7 to Windows 7 64-bit

    Hello, I used to have Windows 7 32-bit and was able to connect my HDR-HC7 Sony camcorder via Firewire without too much trouble. Preimere Elements 11 woud see the camera as would HDVSplit. I recently built a new computer (using the same Firewire card)

  • CO related error while doing MB1B & movement type 413 E

    Dear friends, when we are trying to do the tranfer posting (MB1B), system is throwing an error, it is "Characteristic value  ZOLC does not exist for characteristic WW207 (Sales Order Type) Message no. KE0C133". As per as my concern In "CO" module som