Overriding paintComponent but not everything is showing. Should be easy

The outdent objects are bying drawed and last.
The others are drown but you can only see them if you move the window arround (when hy needs to repaint constantly)
@Override
public void paintComponent(Graphics g) {
     super.paintComponent(g); //JPanel magic
this.setSize(200,200);
     Graphics2D brush = (Graphics2D) g;
brush.setBackground(Color.PINK);
brush.drawOval(150, 150, 50, 150); //visable
brush.drawOval(150, 150, 50, -150);
brush.drawLine(15, 15, 100, 5); //visable
brush.setColor(Color.CYAN);
brush.fillOval(100,100,50,50); //visable
brush.drawOval(300, 300, 100, 150);
brush.setColor(Color.BLUE);
brush.fillOval(300, 300, 100,150);
brush.drawOval(250, 250, 50, 150);
Alle help welcome stuck for a while now.
Its just includeed in a pannel and the panel in the frame

I was unable to open your "evil" vi.
It seems that you already know this, but just in case...
To customize the apperance of your vi at run-time, in the front panel right-click in the vi icon at the upper-right corner and select "VI Setup..." from the pop-up menu.
Select "Windows Options" from the menu. Clear the checkmark for those attributes you don't want (Show scroll bars, Show menu bar, etc.)
Also, I posted an answer about dialog boxes that include an example. It may help you:
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000008190000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
Best regards;
EJV
www.vartortech.com

Similar Messages

  • How can I get the iTunes music on my phone on my computer as well? Some of it is there but not everything...

    How can I get the iTunes music on my phone on my computer as well? Some of it is there but not everything...

    I had the similar problem last night and found a solution (although it takes more than a few clicks).  Highlight all the album tracks in itunes on the pc and right click "get info". Check the artwork box in this window.  I found that the now playing art was showing up in the itunes window, but on songs that were missing artwork showed nothing in the get info box.  When I replaced the artwork by using the artwork command, or manually adding it into the "get info" window.  It was annoying but my iphone updated every album.

  • My friend has lost his iPhone 5.on find my iPhone when entered id and password app says id is valid but not activated. What should I do to find that lost iPhone

    My friend has lost his iPhone 5.on find my iPhone when entered id and password app says id is valid but not activated. What should I do to find that lost iPhone

    If Find My Phone has not been activated on the iPhone before being lost there is nothing more that you can do to locate it with iCloud.  The only option is physical search for it.
    If you have an idea of the location, call the iPhone and see if you can hear it ring.

  • HT201320 I can recieve but not send emails, what should i do?

    I can recieve but not send emails, what should I do? My emails are with karoo

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    iPad Mail
    http://www.apple.com/support/ipad/mail/
     Cheers, Tom

  • I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor

    I'm working on DC Motor control using DAQ. There is sufficient voltage output from DAQ but not current. What should i do so as to drive the motor. Could you suggest me appropriate driver IC using which this problem can be solved.
    Saravanan.T

    You really should use a DC motor controller to control a DC motor, look at the 754410 IC for a good example. You should be able to interface these to most DAQ devices.
    Alan

  • HT201320 i can recieve but not send what address should i put in?

    I can recieve but not send emails from my iphone what address should i type in?

    contact your internet service provider and ask for the correct settings in the outgoing server of the email in your iphone

  • Creating a user prompt when a boolean control is first lached but not contiuousl​y showing while it is lached.

    Greetings,
    I need a boolean control that will write measured data to a text file while it is lached and do nothing while it is unlached (which is simple).  However, I also need it to display a dialog box when it is first lached to prompt the user to either append to an existing file or create a new file.  It should not contiously prompt the user to select new or append while it is lached.  It should only reprompt if the boolean has been unlached and relached.
    Any ideas?  I have tried several different approaches but everything that I have done has either not worked at all or contiuously prompts while lached.
    I know it will involve a shift register and at least one boolean comparison but I cannot figure out the arrangement.
    Thanks in advance.
    Solved!
    Go to Solution.

    Hi BB,
    looked at the Pt-by-Pt functions. There you will find a ready-to-use VI to detect edges of a boolean signal!
    Or use that boolean math: RisingEdge = signal[n] AND NOT(signal[n-1]). (Here you need the already mentioned boolean function with a shift register...)
    All you need is opening the dialog for rising edges of the boolean signal...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Hosting my iweb site on GoDaddy, but not everything works

    I uploaded my site (built in iWeb) to GoDaddy. When I view my site via .mac, everything looks and works as it is supposed to. When I went to my website after hosting it on GoDaddy, everything looked good and worked except for 3 minor things. Here are the 3 troubles I had. Any help on how to fix them is appreciated.
    1) One of my pages when clicked on says "page not found". It shows up though when I view it via .mac.
    2) I have three posts on my blog page, but only 2 of them show when clicked. The other one tells me "page can't be found"
    3) The search field I have on my blog page does not show up. It does who up when I view my website via .mac.

    I fixed the "page not found" problem. I ended up just making a new page from scratch.
    Now my only unsolved issue is the search field doesn't show up. Maybe it is only available on .Mac?!
    I also noticed on my blog that the comments doesn't show either. I did set it up to allow comments. When viewed via .Mac, the comments area is there. When I view my site after publishing to GoDaddy, it doesn't show that comments are allowed. I only noticed this because a friend who visited my site told me to put a comments section on my blog and I said that I did have one. It ain't showing up, though. Anyone know if there is a fix for this?

  • Why are my videos showing up in "Recently Added" but not in TV Shows or Movies?

    I didn't have a problem adding videos to iTunes for several months, but now videos are not appearing in the right places. For some reason, they appear in the Recently Added playlist, but they are not showing up in the Movies section (which is where they had all gone before). The video plays fine if I play the file from Recently Added.
    The files are mp4 format converted with Handbrake, which I have used for a long time without issue.
    2011 iMac OSX 10.7.3 & iTunes 10.6.1 (7)
    My research into the issue has found that some users experience metadata info missing from files. I ran some of the recommended programs that automatically add metadata to videos, but still had no luck adding. The issue is with every single mp4 file I add, and it just suddenly started.
    If I click "Get Info" on a file, they are listed as being sorted as a Movie. If I change it to TV Show or Music Video then click OK, no changes are saved and file goes no where.
    I get no Error Message when adding to iTunes.
    I hope I have provided enough information. I'm eager to hear your answers!

    Update:
    Still having issues getting new videos to show in the "Movies" or "TV Shows" categories of iTunes. However, last night I discovered that Home Sharing on my iPad lists the newly imported videos in the Movies category (iPad & Video app). So, the files aren't corrupt or anything like that. It just seems like I need to 'refresh' the Movies page. Is that possible?
    Since I can see the files on the iPad now, I want to remove the extra copies of movies I imported. But, since I can only find them in Playlists, how can I delete them?

  • In order to share music and apps but not calls and messages, should two iphones have different or the same apple id?

    My sister started an itunes account when we were younger and she first got an ipod. Later I got an ipod touch, so we thought it was smarter that I use the same account so we can share apps and music. Since then my sister has gotten an iphone, my mom has gotten an ipad, and i have kept my ipod, with all of our devices on the same account. Now I got an iphone, and im wondering if i should keep the same account or if now is a great time to get a new one. Im not sure if you can have both iphones on one account without confusion with messages and whatnot, and likewise im not sure if you can have two accounts with shared purchases. Any advice?

    MacMost Now 653: Setting Up Multiple iOS Devices For Messages and FaceTime
    Yuu can also
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
    http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/
    Use the new ID on her iPod but only for:
    Settings>Messages>Send and Receive
    Settings>FaceTime
    Settings>GameCenter
    and Settings>iCloud if you want her to have separate Contacts Calendar and some other things.   
    Continue to use the same/common Apple ID for Settings>iTunes and App stores so you can share purchases.

  • TS1424 I bought a tv series but when I play it it says that my URL is not supported by server. All my movies and music plays, but not my tv shows.

    Bought tv show from iTunes but says URL not supported by server. What do I do?

    i'm having the same problem and I have verified all my information but still it keeps telling me to re verify it what do i do

  • I have updated iTunes on my computer and my iPod nano 4 is up to date but not all music shows up in my iTunes library..only the purchased songs..what happened and how do I get them back into the library?

    The music library in the updated version of iTunes is grossly incomplete although the music still remains on my iPod. Why did this happen and how do I get the music back into the library?

    Hi Dalegu219,
    Thanks for visiting Apple Support Communities.
    If your iTunes library is on an external hard drive, but iTunes is not recognizing the library, first make sure the right library is selected.
    You can use these steps to make sure iTunes is opening the library on your external drive:
    If iTunes is running, quit iTunes.
    If you're using Windows, hold down the Shift key and from the Start menu, choose All Programs > iTunes > iTunes.
    If you're using a Mac, open iTunes and immediately hold down the Option key.
    You should see one of these screens:
    Pick Choose Library and locate the library on your external hard drive.
    From:
    iTunes: How to open an alternate iTunes Library file or create a new one - Apple Support
    If the right library is selected, but you do not see your songs, try re-creating the library using the instructions found here:
    iTunes: How to re-create your iTunes library and playlists - Apple Support
    Best Regards,
    Jeremy

  • My 4G touch appears in 'computer' but not in itunes, what should I do?

    Hi,
    I've tried all of the suggested fixes from the apple support page
    but none of them seem to work.
    I can't sync my ipod with iTunes and it's beginning to get really frustrating
    I'm running Windows 7 64-bit and have tried numerous system restores (because it used to work!)
    Thank you in advance,

    Have you tried everything here:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows
    Tried another computer to help determine if you have a computer or iPod problem.
    Another cable?

  • I updated my website, but not everything works

    i updated my website, www.studio188.com, but the link to my email address does not show up....and all the pictures are blurry. i've tried reposting from iweb, same results. any pointers?

    I do see your email address.
    Maybe you need to clear your browser cache?

  • Possible to move iTunes 'Music'... but not 'Podcasts, TV Shows, or Movies'

    I currently have an enormous iTunes library. I have about 1 TB of movies which is currently stored on its own hard drive separate from any of my other iTunes media (I'll refer to this drive as "Drive X" from here on out).
    Aside from these movies, the rest of my iTunes media (which includes Podcasts, TV Shows, and Music) is currently being stored on a different external hard drive (henceforth referred to as "Drive Y"). "Drive Y" is is also the location of my my iTunes Music Folder (as specified in the iTunes application preferences)
    I have about 20 GB worth of music, which is not really that much, and I would like to move this music back into my 'User>Home>Music' folder on my primary internal drive...My reasoning? - I've started using an online backup/synchronization service called SugarSync, which I was hoping to use to do two main things:
    1) Create an online backup of my music, and...
    2) To allow me to stream this online backed-up music to my iPhone wirelessly, which is one of the services that they offer...
    http://www.sugarsync.com/products/syncmusicphotos.html
    One of the unfortunate downsides of SugarSync is that it's only capable of syncing files that reside inside of the User>Home directory... thus, my rational for wanting to move just my 'Music' to my User>Home>Music directory, and not my Podcasts, TV Shows, or Movies.
    My goal here would be to do so while somehow leaving my TV Shows and Podcasts (which have an accumulated size of about 200GB) on "Drive Y" and leaving my Movies on "Drive X".
    Is such a thing possible (without losing all of iTunes' track specific metadata, such as playcount, etc, etc...
    Any suggestions would be greatly appreciated... Thanks!
    +FYI: just for reference, I am using iTunes v8.0)+
    Message was edited by: m021478

    Update:
    Still having issues getting new videos to show in the "Movies" or "TV Shows" categories of iTunes. However, last night I discovered that Home Sharing on my iPad lists the newly imported videos in the Movies category (iPad & Video app). So, the files aren't corrupt or anything like that. It just seems like I need to 'refresh' the Movies page. Is that possible?
    Since I can see the files on the iPad now, I want to remove the extra copies of movies I imported. But, since I can only find them in Playlists, how can I delete them?

Maybe you are looking for

  • Validation error for tag cfloop

    Hi All, Complete newbie to CF here.  I've inherited (or bought) an online business which has its site written in CF.  I haven't done this sort of stuff before but do work SQL for a living and object oriented stuff plus have done a bit of html and php

  • Time Machine Error Messages-HELP!!

    I purchased a Time Machine a few months ago and it worked for a little while. Now I just receive error messages: "Time Machine Error The backup disk image could not be mounted" and "The storage location for Time Machine backups can't be found". I can

  • Howto Display Worksheet in IE browser other than thru Portlet/Viewer

    Howto Display Worksheet in IE browser other than thru Portlet/Viewer. We wish to develop some worksheets and display them as BI Dashboards links on our Intranet Home page. Is it possible to host it on Oracle10gAS HTTP server as jsp pages?

  • How user exits attached to SAP programs ?

    How are user exits attached tp SAP programs ? Is it through CALL FUNcTION 'Some-EXIT-NAME' Now I know that in my case a user exit EXIT_SAPLCOIH_009 is implemented for transaction IW32. I am turning debugger on by using /H and then clicking on save ev

  • Combining Multiple occurrencesof the same field value into one and Sum prob

    Hi I am trying to combine the multiple occurrences of the field values and sum the amount to the target Source <Record> <Item> <Item1>1</item1> <item2>2</item2> <item3>3</item3> <item4>4</item4> <Amount1>5</Amount1> <Amount2>5</Amount2> </Item> <Item