Java Applets (facebook) too "big" for window borders...?

My java applet on facebook extends beyond the set borders. How can I make this smaller?
Here's a picture of what it looks like:
http://img2.pict.com/57/60/e6/0e4f69d546c2eacf750d516f09/K5pnb/yeddes.jpg
I'm using Firefox and I have the latest versions of both Firefox and Java.

Interestingly enough, the preferredLayoutSize method of the layout manager attached to the JScrollPane never gets called when the scroll pane is resized horizontally, only vertically. I found this out by subclassing BoxLayout so that it printed a string when certain methods were called. I did that after noticing that I can resize your help window vertically with no problem, but horizontally is a different story -- when I increase the horizontal size, the JPanel grows to fit, but when I decrease the horizontal size, the JPanel stays the same size. Returning smaller Dimensions in preferredLayoutSize of my overrided BoxLayout class didn't help.
I investigated further and subclassed JPanel to print a message when setSize or setBounds was called. When I vertically resized the help window, JPanel.setBounds was called to resize the JPanel. I was expecting that. However, when I horizontally resized the help window, the JPanel size wasn't updated... at least not in the way I expected it to be. When I increased the horizontal size past the maximum horizontal size so far, the JPanel's horizontal size was increased to match. However, when I decreased the horizontal size, the JPanels horizontal size was not decreased to match.
So, here's what I found:
1) JScrollPane vertical size increased: Scrolled component vertical size increases to match.
2) JScrollPane vertical size decreased: Scrolled component vertical size decreases to match.
3) JScrollPane horizontal size increased: Scrolled component horizontal size increases to match.
4) JScrollPane horizontal size decreased: Scrolled component horizontal does not change.
So the scrolled component horizontal size gets increased, but never decreased. This is odd... perhaps it is a JScrollPane bug? I'll see if I can't figure out a way around it. Overriding the scroll pane's setBounds and setSize methods didn't work, perhaps I'll target the JViewport next.
Sorry I couldn't help right away, though. Lemme know if you figure it out.

Similar Messages

  • Game too big for window

    Hi Everyone,
    I have a major problem with a majority of my games not fitting onto the screen.  This is regardless of whether I run them windowed or full screen.  I've contacted the seller/manufacturer of these games and the only advice they gave was making my screen resolution as large as possible or hiding the Dock, both of those suggestions simply don't work, my resolution is correct and I run wit the Dock on the side away from the top and bottom.
    The games don't have the usual three buttons up the top, so 'clicking the green button' is not an option.
    I also can't resize using the bottom right corner because I can't get to it, and even when I did change a resolution on one game so I cold see the bottom of the windowed screen and not the top the corner was unable to be grabbed to resize it.
    Some games have a number of resolutions they can be run in. Changing this has allowed me to run some games windowed, but alas, not the majority of them.
    Changing the resolution in System Preferences doesn't help (see above regarding advice from games sellers/manufacturers).
    Is there a way to get these games to run in the space available on the screen without the top and bottom of them being unseen?  ie something I can do, even if I have to fiddle down at the command prompt or even buy another piece of software that will allow the games to resize???
    Cheers,
    David

    When I tried to get a screen shot of the "about Shockwave" by pressing Alt prt scr the window resized and is working.
    Pretty sure pressing alt had nothing to do with it other wise it would have worked yesterday?
    The menu disappears when I try to get a screen shot, but this is the properties box.
    This is the correct window.
    Could Minecraft have something to do with this?
    I really appreciate your help.
    Best regards,
    Dave

  • My iPad standard window is bit too big for the screen.

    My iPad screen unexpectedly got slightly too big for the display window. The size is bit too big. For example, the keyboard when it pops up does not fully display all tkey sans. Another example is the time/power remaining bar slips out of sight.  Did I accidentally change something?  Is this an issue with version of iOS that I am using (4.3.3)? (Note I'm not talking about resizing by using your fingers.)

    John,
    I am having the same problem.  The enlargement is not the same as the 3 finger tap or the 2 finger zoom.  The screen opens and then bumps to a slightly larger screen just enough to make it too big to see the outer edges.  You can put 3 fingers on the screen and move the screen to see the edges but you cannot get it to shrink to the correct size.  This is the second time this has happened to me.  I am also having some other issues.  Sometimes while in an app the app will close and I will be diverted to the home screen.  And sometimes when playing "with Friends games" the letters on the letterboard (not the key pad) disappear, will not move or are giant.  I plan on taking it back to the Apple store this week but I hate the idea of having to start over.

  • HT2311 iTunes window too big for screen.

    My iTunes window is too big for screen.  I cannot access the shrink control on the lower fight corner of the screen.
    Any other ways to shrink the screen to fit?
    Bob

    Option-click the green button.
    (66562)

  • Why is itunes too big for my screen? i'm on the highest resolution. i'm on windows 7 on a sony vaio ! please help !!

    why is itunes too big for my screen? i'm on the highest resolution. i'm on windows 7 on a sony vaio ! please help !!

    Resize it.

  • Itunes 11 window too big for macbook pro

    My itunes window is too big for my macbook pro screen. Itunes 11.0.2, macbook 10.8.3. How can I make it fit?

    Click here and use one of the scripts to change the size of the window. This works with applications other than iTunes as well.
    (42352)

  • Attach/open file window too big for screen

    Just recently I've found that when I go to attach a file in email for example, or open something in the finder the window that comes up from which I can choose my file is too big for the screen. So the bottom corner, which has the "attach" or "Cancel" buttons, is obscured. It's very frustrating... I can hit enter to attach a file but can't cancel it if I change my mind. Hope that makes sense... I've moved the dock out of the way but that doesn't help at all, and I can't use the green button to resize or anything.
    Hope someone can help... I've also restarted the computer but the problem is still there. I'm using a macbook pro, and I have upgraded to the latest OSX software.
    thanks

    Hi!
    I'd click the title bar of the application, then click on the + to fit on screen.

  • HDR window too big for screen

    When I open the "Merge to HDR Pro" dialog box, it is too big for the screen and I cannot resize it. Pressing the green + button just resizes the too big screen above my dock, but it is still too big for the options that lie at the bottom of the dialog box. How do I fix this?

    What is the screen resolution of your monitor?
    One workaround I've seen is:
    Hide your OS X dock
    Quit Photoshop
    Restore your prefs: http://adobe.ly/PS_Prefs
    Restart Photoshop

  • A document page opens that is too big for the display and runs off the end of the monitor

    How do you fix a problem where document pages open that are too big for the display and runs off the end of the monitor? The borders are off the monitor so there is no window edge to grab and adjust.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, or by a peripheral device. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • I have my iTunes library on an external HD because it is too big for my iMAC 500GB HD. I want to backup my external HD. Can I do this with any Apple cloud product or should I look elsewhere? Also is it worth just buying another external HD to back up

    I have my iTunes library on an external HD because it is too big for my iMAC 500GB HD. However, it is not backed up, so I need a solution to backup my external HD. Can I do this with any Apple cloud product or should I look elsewhere for cloud products? Will it be cheaper/easier just to buy another external HD to back up my existing external HD? Thanks

    I don't know if this is me adding files to iTunes when the external wasn't connected
    it is.
    is it OK to just keep deleting that library on the Air?
    i wouldn't - at least not until i
    mount the external
    point iTunes media folder location back to the external via preferences > advanced
    consolidate my library via file > library > organize library
    The ntfs hasn't seem to be causing any problems, but I've always wanted to know.
    in order for your Mac to write to NTFS drives, it needs some help by installing e.g. the NTFS 3G driver. apparently that or something similar is installed on your Mac already. preferably, it would be formatted for Mac but then windows machines would need to have e.g. MacDrive installed to recognize the drive.

  • Why does is say purchaseable items too big for download every time I try to download an app?

    Every time I try to download a game or app my iPhone says error message purchasable items too big for download. I even changed my billon information. Anyone know what the problem might be?

    Connect your iPad to iTunes on your Mac/PC and then go to your iPad's summary window. Then click back up if you want to back up your iPad first. After that click restore. Later it will ask you if you want to setup the iPad as a new iPad. Select the option to setup your iPad with your latest back up.

  • NB305 first time setup display too big for screen

    I just bought an NB305-310 netbook  (two, actually, and the first one had no trouble). It came loaded with Windows XP.  When I turned it on I wasn't able to set it up right away, when I came back to it, I found the display of the welcome screens and the setup process assistant is too big for the screen, as if it thinks it has to fill a 15" or 17" screen instead of 10".  So I can't see to click on the "I agree" box or the "Next" button etc., so can't proceed through the setup.
    I already tried restarting it a couple times (by holding down the power key, since Control-Alt-Delete didn't do anything).  I also tried using the function key with various keys that looked like they might affect display size but no change.  Even the volume function keys didn't change the volume of the setup background music that plays.
    How can I fix this?
    Thank you!
    RD

    mini notebook NB305-N310 
    Try this. Press Alt + Spacebar to open the control menu (which may be off the screen) at the top-left of a window.
    Then press M (for Move).
    That will enable you to move the window using the arrow keys.
    When you get the chance, you'll want to go here and reset the screen resolution to 1024 x 600.
       Control Panel > Display > Settings tab > Screen resolution slider
    -Jerry

  • ODI-40406: Bytes are too big for array error

    Hello ,
    I am trying to load a flat file from a table. I am working on ODI 11G.
    Following are performed.
    Staging area different from SOurce is checked.
    IKM used is : IKM SQL to File Append
    Truncate is True
    No LKM is used.
    I am getting following error:
    java.lang.IllegalArgumentException: ODI-40406: Bytes are too big for array
    create header (RECORDTYPE,
    ASSIGN_NUM,
    USR_ID,
    START_TIME,
    JOBCODEID,
    AISLE_AREA_ID,
    PLANE_DATE,
    CLIENT_ID,
    CSTNUM,
    WH_ID)
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=UNITIME TO RPSNP$CRLOAD_FILE=C:\Program Files\ODI_BI_APPS/UNITIME TO RP.txtSNP$CRFILE_FORMAT=FSNP$CRFILE_SEP_FIELD=0x0009SNP$CRFILE_SEP_LINE=0x000D0x000ASNP$CRFILE_FIRST_ROW=0SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP

    There is a possibility of mismatch of datatype, that can cause the problem.
    Say in ODI model, you have defined a 'Date type' field to be stored as 'String' however at the time of mapping in 'Interface', no conversion happens (from date to string)  for this particular object. This causes the problem.
    The original query remains valid at DB side (fires for datetype) however fails while integrating (anticipating String which may be longer than defined in modelbecause of your NLS setting in DB). Therefore the best way would be to apply conversion for that particular field (in this case, use TO_CHAR(Date type,'Desired Date Format').

  • ODI-40406: Bytes are too big for array

    I am getting the following error: java.lang.IllegalArgumentException: ODI-40406: Bytes are too big for array
    I am trying to a file to file mapping and all of my columns match in size. Does anyone have any ideas what this problem could be? I am getting an error when it tries to perform an integration step while trying to create the target table. I am assuming it is something wrong with one of my datastores
    Edited by: 897642 on Nov 16, 2011 5:19 PM

    There is a possibility of mismatch of datatype, that can cause the problem.
    Say in ODI model, you have defined a 'Date type' field to be stored as 'String' however at the time of mapping in 'Interface', no conversion happens (from date to string)  for this particular object. This causes the problem.
    The original query remains valid at DB side (fires for datetype) however fails while integrating. Therefore the best way would be to apply conversion for that particular field (in this case, use TO_CHAR(Date type,'Desired Date Format').

  • The size of my exported FCP movie is too big for DVD studio pro

    Hey,
    I have been editing for 4-5 years now and have never had a problem with size of a project to put into DVD Studio Pro to burn. However, I just finished a 2 hour project in which exported as a FCP movie it is 23.97 gb in size. When i put this into DVD Studio Pro it makes it 4.8gb in size which just makes it too big for it to burn. I have tried changing the compression to no avail and just now decided to clean up the timeline so everything is on one track with nothing overlapping. (The problem was it was a 2 camera shoot so the first camera i had on the bottom track constant with the second camera on the top track when i needed it but still with the first camera underneath.) Do you think this could be the solution to my problem? If you guys could help me out it would be most appreciated!

    some things don't make sense here. please clarify.
    Standard DV is roughly 5 minutes per gig, so that means that you have just about 2 hours of video, ok, got that. Now it's the two track thing that gets me.
    Are you saying you have 4 hours of footage, the same thing from two cameras, and you're trying to set up a multi-angle DVD?
    If it's just that you used two video tracks to edit, then NO, it is not your problem. It's still only 2 hours, the video will be mixed down to one track upon export from FCP to quicktime.
    My suggestion is, instead of bringing a quicktime file directly into DVDSP, use compressor. I believe they have a preset in compressor 2 for a standard 120 minute DVD. IF you're project is truly less than 120 minutes, than that should be fine. If not, then you may have to manually make your own setting and lower the bitrate.
    So the workflow is:
    -open sequence in fcp
    -file>export>quicktime movie... (you can uncheck "make movie self-contained" if you want it to export faster and you plan on keeping your original capture footage around)
    -export your movie to a directory of your choice with a name of your choice.
    -open compressor (in applications)
    -drag the quicktime file you created into compressors main window, this will set it up. Now specify the export setting (120 minute HQ all files either 16x9 or 4x3 dep. on project) and specify a location for the files to be created. I strongly suggest that you use the HQ (High quality) settings in compressor. It's much slower to process, but much better quality.
    -with a 2 hour movie it should take a really REALLY long time to compress, so I'de say do it over night.
    -when compressor is done, you should have 2 or three files. a .m2v file a .aif file, and a .ac3 file. The .aif is your PCM audio, much better quality than the .ac3, which is dolby 2 channel. However, the .ac3 is a much smaller file with a lower bit rate, so if the .aif makes the DVD file size too big, you can switch it out for the .ac3
    -Finally, open up your DVDSP project, drag the .m2v, .aif, and .ac3 into DVDSP and use the .m2v for the video track and either the .aif or .ac3 as the audio (as mentioned above)
    -the good news is, your DVD media is already rendered, so when you go to build your DVD it will go much, much faster!
    By the way, I recommend you go to file>advanced>build do not do a burn and build.
    I find it best to build the VIDEO_TS folder on a hard drive and then use a program like toast to create a DVD (using toasts from VIDEO_TS option). This method also allows you to go back into DVDSP, make tweaks, and reuse your VIDEO_TS folder, not having to rebuild the whole thing each time.
    Remember, 120 minutes on a single layer DVD is going to render fairly low quality no matter what.
    If you have a newer mac and a dual layer drive, you may want to cough up a few bucks and get a dual layer DVD-R, then you have over 8 gigs of space to work with, perfect for HQ 2 hour footage.

Maybe you are looking for

  • How to install ovi suite to D drive?

    How to install Ovi Suite to the D drive? The installer does not offer any options. -SS. My C drive is full and there is not enough space for the humoungous Ovi suite. As a matter of my personal policy, I never install any application to my C drive. I

  • Dropdown list in module pool program

    Hi, I need to display a dropdown list for LFA1-LIFNR in my module pool program. In the screen painter I have added an Input/Output field with name LFA1-LIFNR and corresponding to the Dropdown option I have selected Listbox. When I execute the program

  • TS1702 Apple update App not working.

    You know the area in the App Store where you update your apps, it's not working. It's shows the # of apps to be updated, but it does have the apps in the update window, it's just blank. So I'm not able to update my apps. I've turned my phone off and

  • GUI freezes in 10.4.11

    Hi, I originally wrote about this problem in 10.4.10. I just experienced it again. I'm wondering whether other people are experiencing these symptoms: 1. Occurs upon waking from sleep 2. UI/Screen (including menu clock) do not update and are "frozen"

  • How to update Muse 7 to recent.......

    How to update Muse 7.4  to the current version........ Is it possible to update a trial.  I was unable to download fro Adobe CC so had to get it from Softpedia.  Version 1.1.6  was available there but it sent to to CC and it doe not work in my Mac...