SetFont seems to work in Frame but not JFrame

Hi all,
The following code works when I use a Frame
        Font f = new Font("SansSerif", Font.BOLD, 12);
        frame.setFont(f);but when I switch to using a JFrame it doesn't use the font that I have set but the default one. Any ideas? I can provide more of the source code if anyone thinks it might help.
Thanks.

I decided to use this solution:
    public void paint(Graphics g){
        g.setFont(font1);
}Then all the g.drawString(); statements used the font font1.

Similar Messages

  • Itunes doesn't seem to synch "wirelessly" with my iphone.  It seems to work with emails but not photos / videos I've taken on my phone.  Also, there is no "device" listed on itunes menu bar, only when connected via cables

    My computer / iTunes is set up correctly for wireless (account info. all good), and emial is synched wirelessly.  BUT not photos / videos or songs.  I seem to have to plug my iPhone into my computer for iTunes to recognize my device.  Shouldn't iTunes recognize my iphone wirelessly?  For example, I have read that "device" should show up in menu bar on iTunes but it doesn't unless I'm cabled in.
    Also, when I go to my iPhone to "synch wirelessly with iTunes", the button / tab doesn't light up for me to chose and tells me will synch when "smith - laptop" is available.....
    This is my first iPhone, and just got it so may be user error.....
    thanks

    Did you build Elsa with this package from AUR: elsa-svn-arch
    The way your elsa.conf looks like indicates to me that you have not.
    Please use the package because you are also missing pam-files.

  • Audio from imported mini dv footage seems to work in iMovie, but not in Quicktime or Toast

    I'm importing some old footage from mini dv tapes using iMovie 10. When I play back the footage using iMovie it plays back with audio. When I go into the library and look at the .mov files, they don't play back with audio in Quicktime.
    I'm running Mavericks 10.9.4 and iMovie 10.0.4.
    I tried it in Final Cut X 10.1.2 too.
    They'll play back fine in VLC.
    But when I go to burn them to a DVD, the audio magically goes away again.
    Any ideas??

    Hi
    How do You go from iMovie'13 (v.10) to
    - QuickTime
    - iDVD
    I would:
    - Share as file and as 480p (NO OTHER)
    - This file should both play and import OK in QT and in iDVD
    How was it recorded in Your Camera ?
    - SP-mode 16-bit audio - or -
    - SP-mode 12-bit audio - or -
    - LP-mode 12-bit audio (90 minutes onto a 60 minutes tape)
    To work OK with iMovie - audio must be in 16-bit mode
    If tape is recorded in LP-mode - Then You need to use exactly the same Camera when making the Import to iMovie - not even same brand and type no: will work securely. Tolerances are too narrow.
    (There are works around - but to do that I use analog-out and an A/D-box with TimeBase correction - to get the best SP 16-bit version to work with)
    Yours Bengt W

  • Album Art works for most, but not all

    I was reading previous forums on the subject, but no clear answer was given..
    The album art shows up fine in itunes and my library and works for most of my music on my ipod, but how come some album's art does appear? I have it set manually and select 'Get Info' then 'Artwork' and add it from there, then drag in the finished product to my ipod. I've been doing that and it works fine for most of the albums, but every so often, the album art will not appear on my ipod. Am I doing something wrong? I take them all from the same source (amazon.com) but it makes no sense to me how some randomly don't appear.
    I tried deleting the artwork and re-adding it, but nothing happened again. If you could answer why it works for most but not all or how I can get the album art to appear for the ones it will not by re-doing something, it would be appreciated. thanks.

    I encountered the same problem in the beginning. When I compared the size of the original images, the working ones seemed to be smaller in general, so I reduced the size of all covers I intended to upload on the pod to 300x300 pixels.
    This seemed to work - for 2 days. I bought the pod on friday, had pictures on sunday, but on Monday (after the first time the pod was fully discharged) none were left left.
    So I ended searching this forum for related problems...
    And decided to join my problem to this entry.

  • Spry menubar works in IE, but not Firefox

    I added a very simple Spry horizontal menubar to the top of all pages in my web (I'm using DWCS4 and Spry 1.6). When I preview it in Firefox locally, it seems to work, but when it is uploaded to the web server it works in IE, but not in Firefox. Instead of a menubar, I see a stack of bulleted hyperlinks. In IE, it displays properly.
    Website is http://www.stevegoldman.com.
    How can I fix this problem so that it works with all browsers properly?
    -- Martin

    I just tested your site with firefox (latest version) and it works just fine. I also tested it in IE: 7.0 and it worked fine for that too. Looks like you have either fixed the problem or you have a different version of firefox than me or something.
    Favorite qoute: "do unto other as you would do unto yourself"
    Favorite hobby: airsoft / electric aeg airsoft guns
    Airsoft Sniper Rifles

  • CS6 Plugin works on windows but not mac

    Hi,
    We have been developing a plugin for InDesign since CS3 and have recently ported it to CS6 (it was ported to all previous versions too, as they came out).
    I followed the porting guide etc. and on windows it compiles and runs just ok - the plugin works correctly.
    But when i compiled the same files on our mac machine and put the .indesignPlugin file in th plugins directory i can't see our plugin's context menu.
    I can see that it is in fact loaded on startup (when i remove it ID loads 325 extensions, when i put it back - 326), but still it dosen't seem to work...
    I initially thought that the versioning was off but our PluginVersion resource relies solemnly on SDKDef.h , i also tried putiing the file in CS5's plugin directory and got an error message that CS6 is required - so the version info is fine i guess.
    We are using xCode 3.2.5 (because we have to support Mac OS 10.5 and 10.4) to build on mac and i've never had problems before - it worked on CS4, CS5 and CS5.5.
    The changes i made when porting were minor and only in the code - so what has changed? and how come it works on windows but not on mac?
    Any input is greatly appreciated, i've already spent days trying to understand this.
    Thanks,
    Dan.

    Hi and thank you for replying.
    The resources do get compiled correctly (i assume this because we do get a .indesign file at the end - which means the ODFRC ran ok). they are linked correctly in the mac project (i saw a file that determines the version - it's linked the same way against my win and mac projects and the win version works fine so i guess that's ok too).
    the context menu is just another menu on the "menu bar" (don't know how to call it?) - i.e where the "file" and "edit" etc. menus are.
    I can't seem to understand how come this works fine under windows but not under mac - they are essentially the same projects linked against the same resources (the difference being iCode vs VC10 projects).
    can this be related to the fact we're using xCode 3.2.5?
    Thank you.

  • Applets work in NS but not in IE

    Hello,
    I would very much appreciate tips on setting up sun java so that I can make applets that work in IE.
    Now, my IE have no problems with applets found on the web, for example this one is ok:
    http://java.sun.com/applets/jdk/1.1/demo/Animator/example1.html
    But, the examples installed with j2sdk1.4.1_07 will only work in Netscape. In IE these applets just display a grey applet area. (IE6/XP and IE5.5/Win98)
    So far:
    Have read installations instruction and ReadMe files. Installed j2sdk1.4.1_07, added PATH, code compiles fine. Console programs work ok. I also compiled a Hello World applet, which also worked in NS, but not in IE.
    Any help greatly appreciated.

    Me again...
    Right... Maybe I am answering my own question here? It seems that the programs compiled with j2sdk1.4.1_07 will NOT run under the JVM 1.1.4 from Microsoft Corp?
    So, anything that I compile with the later sun package will most likely fail on IE browsers unless the user have upgraded their JVMs?
    If so, then what version of Sun Java can be recommended to achieve reasonable amount of compatibility with the IE5.5 and IE6 that are out there?

  • Slide show works on PCs but not on Macs

    A parent at the school where I teach has just created a
    website for us. She used Dreamweaver and photoshop to create it.
    There are some pages where there should be a looping slide show
    (that runs on its own). These slide shows work on PCs but not on
    Macs (it just stays on one photo on Macs). For the slide show she
    "just added a timeline to the jpg image, changing the imagesource
    every 60 frames, that you can do in dreamweaver." Is there some way
    to fix this so it works on both?
    Here's the school's website: www.smash.smmusd.org

    Unfortunately, the timeline function may not be the best way
    to do this.
    Notwithstanding Joe's comments about 508 compliance, there
    have been issues
    reported in the past regarding the use of timelines on Macs.
    It may be
    better to seek some 'banner rotation' scripts using Google,
    and replace the
    timelines with that script. Your volunteer may or may not
    know how to do
    that....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joe Makowiec" <[email protected]> wrote in
    message
    news:[email protected]..
    > On 16 Jun 2007 in macromedia.dreamweaver, Mana Hale
    wrote:
    >
    >> A parent at the school where I teach has just
    created a website for
    >> us. She used Dreamweaver and photoshop to create it.
    There are some
    >> pages where there should be a looping slide show
    (that runs on its
    >> own). These slide shows work on PCs but not on Macs
    (it just stays
    >> on one photo on Macs). For the slide show she "just
    added a timeline
    >> to the jpg image, changing the imagesource every 60
    frames, that you
    >> can do in dreamweaver." Is there some way to fix
    this so it works on
    >> both?
    >>
    >> Here's the school's website: www.smash.smmusd.org
    >
    > I'd worry about accessibility/Section 508 issues before
    I worried
    > about slideshows. That page is all images.
    >
    >
    http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=-1&url1=http%3A%2F%2Fwww.sma sh.smmusd.org%2F
    >
    http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=2&url1=http%3A%2F%2Fwww.smas h.smmusd.org%2F
    >
    > --
    > Joe Makowiec
    >
    http://makowiec.net/
    > Email:
    http://makowiec.net/contact.php

  • Flash website working in FF but not IE7

    www.gamespamusic.net is
    working in FireFox but not working in IE7 I dont know whats going
    on here. Can someone help me with this??? Im trying to figure this
    out but its seems like i cant lol. Please HELP

    Ive also had others try it in both IE7 and FF and they come
    up with the same problem where the screen is white in IE7 and it
    works in FF. I dont know what the problem is.

  • Password on apple id works on iPad but not on Mac Pro

    Pass word on apple id works with iPad but not on Mac Book Pro, what is the solution, I have tried to reset password but that does not seem to solve the problem.

    It kind of depends on where you're entering the password on the MacBook Pro. iTunes Store? App Store?
    Try the password on this website https://id.apple.com/ (click on [manage my apple id]
    If it works on that website there's nothing wrong with your apple id or password. In that case we really will need to know exactly what you're trying to do when you're getting the password error.

  • Custom F4 help in a BSP application working in Mozilla but not in IE

    Hi,
    I have created a custom F4 help in a BSP application.
    It is working in Mozilla but not in IE. I tried enabling javascript as well but still it is not working.
    Can someone please suggest a possible solution for this?

    Hi,
    See simmilar discussion in thread /thread/1883519 [original link is broken]
    I think this may be helpful for you.
    Thanks,
    Chandra

  • Why does the counter work in MAX, but not Labview?

    Please help, I have been away from Labview for over 3 months, and I am quite rusty....
    Last year, I successfully configured NI9401 to measure period (seconds) by counting the rising edges of my sensor signal.  Since then, I have aquired a new PC, and loaded all my software into it, including the Labview VI's that successfully worked on the old computer.
    I can see the digital signal using MAX and the test panel for the NI9401, so, I know my wiring and my TTL signal is OK, but, when I try to run the attached VI, nothing happens except the error below..  How do I tell this VI to look for the signal on MOD3/CTR0 and channel 14?
    Thanks. I am sure it is a small adjustment...this worked fine a few months ago...not sure what is wrong now.
    Thanks,
    Dave
    Solved!
    Go to Solution.
    Attachments:
    continuously measure period buffered_singlechannel_forum_feb_23_2012.vi ‏20 KB

    OK, now.  Resolved the issue. The vi is fine, but, some shaky wires were identified...worked in MAX but not in the vi.  Now that the connections have been tightened up, it works for both.  Sorry for the inconvenience.
    Dave

  • Works on emulators but not on mobile devices

    Hello,
    My project works on emulators but not on mobile devices (no image and on Samsung it says "unsupported file").
    Please help, I don't know what to do. My configurations: MIDP 2.1, CLDC 1.1.
    Thanks in advance.
    Edited by: Vitali.pom on Oct 27, 2011 12:01 PM

    Edit: I succeeded to solve it accidentally. I did the following: Sign the jar in Netbeans, clean and build, the jar didn't work, I wiped out the .ks from the jar and clean and build again. Now it worked.
    Edited by: Vitali.pom on Oct 30, 2011 1:28 AM

  • Wifi works at home but not when away from home

    My Wifi works at home but not when away from home, what is wrong?  I thought with a phone plan I didn't need to have a wifi connection.

    You either need WiFi or Cellular (or both). If you have neither, you can't connect to the internet.
    Most people use WiFi at home and Cellular while away from home, or connect to public WiFi networks where there are some.

  • Can't FaceTime anymore?  iPad states wifi connected and iPhone 4 states not connected?  I have wireless in my home? Not sure what happened.  Password works for iPad but not on phone?

    iPhone won't connect to wifi.  iPad is connected.  Password working on iPad but not on phone.  Can't upload software update of IOS 7.1 because phone not connecting to wifi?

    Connect iPhone to computer and open iTunes.  You will be prompted to update to iOS 7.0.  Keep your phone connected until the update is finished.

Maybe you are looking for

  • Sharing music btwn two separate computers

    hi i have a computer with my itunes library and the internet. my brother has a computer that is not connected on a network where he has his itunes for his nano. neither of us have burners. how would we share music?

  • Laptop troubles and now my entire iTunes library has been deleted.

    My laptop is old and I regularly have troubles with it. Tonight it was being particularly stubborn, crashing, not starting up. Mostly caused by a virus I had resolved about 4 years ago and a worn out battery and charger. Well I was just downloading m

  • DVD-RW macbook 13 late 2008

    i have 2 dvd rw one +(sony) and one -(tdk)..when i put it into my dvd drive in the macbook the disk stay blocked inside and i have to use emergency eject.. My druìive read all dvd format but whe i insert a RW it does'nt read the disk ..Can anyone hel

  • IPhoto '09 gone wonky

    For some reason I have lost most of my pictures in iPhoto. I have looked over this forum, and it seems that others are having similar problems with iPhoto '09. I checked my iPhoto date and it is version 8.1.2. I tried to restore it from my mackup dis

  • Last Changed Code

    If i use the lastchanged.cfm, it show up today date and time. If i use lastchanged.html it shows last changed date The following code: <script language="Javascript"> <!-- var default_date = "12/3/99" var lm = document.lastModified if (Date.parse(lm)