I want myJinternal frame movement to be restricted with in the jdesktoppane

i am creating a JInternalFrame with in the JDesktopPane.
The jinternalframe can be dragged outside the jdesktoppane.i want my JInternalFrame movement to be restricted with in the bounds of the jdesktoppane. How can i achieve this ?
Thanks in advance,
sankar.

Hi,
I'm very new into Java and stuff, but maybe using the setPreferredSize method of the desktoppane?
Ian.

Similar Messages

  • I want to upload movies in iPhone Please tell me the way

    I want to upload movies in iPhone Please tell me the way

    Upload them from where? to where?
    Form iphone to computer?  From computer to iphone?
    What movies? Movies you purchased form itunes?
    Sync them like anythong else.
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • I want to download movies to my ipad directly.  The free VLC media says it does not support address. What app should I use or where am I going wrong?

    I want to download movies from Putlocker to my ipad directly on off hours.  I read to get the VLC media (free) app.  I put in the address for Putlocker and it stated that this version did not support this address.  Help!  I am new to this and want an app that is easy, supports Putlocker, set time to download and speed.  Any suggestions?

    To answer the post title FireFox save all downloads automatically in the download folder, which you can find in the Documents folder. If you want to choose where to save your downloads go to tools>options>check always ask me where to save files.
    Secondly, I am assuming you have IE 8 installed as this is the only version that supports this fix that is currently not in beta. Go to control panel>internet options>advanced tab and reset the settings at the bottom. This may or may not fix the problem but it is a good first step.

  • Movies to apple tv with out the black spaces.

    i just got mu apple tv and download a movie from itunes.
    when i oplay it in apple tv it apears in all the screen, no black spaces in ani of the sides.
    i have an original movie (widescreen) that i want to load to my apple tv but after using a comercial software to tranfer my dvd to apple tv it shows the black spaces in all four sides, can any one tell me how to do this tranfer so i dont get this black spaces, si there a software that can do this in a simple way.
    thanks for your help
      Windows XP  

    i have an original movie (widescreen) that i want to load to my apple tv but after using a comercial software to tranfer my dvd to apple tv it shows the black spaces in all four sidesBasically, there is widescreen" and there is "w i d e s c r e e n." If the original video does not have a 16:9 (1.78:1) aspect ratio (e.g, 1.33:1, 1.85:1, 2.35:1, 2.40:1, etc.) but is played on a 16:9 widescreen TV, then there will be some "black spaces" on your screen when watching in the "normal" viewing mode. If your TV is equipped with user selectable aspect ratios, then you can modify your playback to fill or overfill your screen as you see fit. However, then your picture may appear distorted. If your TV does not include this feature, then you can manually convert your files unconditionally to a 1.78:1 aspect ratio and it will fill the screen (and be distorted as stated above.) If you file has "black spaces" on all four sides, the you are using an incorrect conversion setting. In this case you are probably preserving the original aspect ratio but encoding file to a 4:3 display area which is playing back as a "letterboxed" SD 4:3 movie on your widescreen. In this instance, correct your conversion settings.

  • How to export "gif" animation frames as individual .psd files with layers intact?

    Hi, after creating an extended 25 frame animation (as if building a .gif) I would like to export each frame to individual .psd files with all the layers showing in each respective frame intact as separate editable layers (rather than each frame as a flattened one layer image/psd)...how can this be done? thanks

    maybe it would be easiest if there were just a script which would delete all the layers not visible in a frame but leave the visible layers unflattened, then the file could be saved with a new_name_001 etc., then the deletions could be undone manually via option+command z, the animation advanced by a frame...repeat
    is there a script which deletes all but the visible layers in a frame -- but leaves those which are visible unflattened/editable?
    thanks

  • Subject : Slideshow looks bad  Hello guys  I have a project in my Final Cut just about done.  I want to add my slideshow as part of the project and burn it to DVD.  In my slideshow, there are some stills from the movie clips and some downloaded from the i

    Subject : Slideshow looks bad
    Hello guys
    I have a project in my Final Cut just about done.  I want to add my slideshow as part ofthe project and burn it to DVD.  Inmy slideshow, there are some stills from the movie clips and some downloadedfrom the internet but they all look blur when playback and even worse if Iapply Ken Burn to it.   Pleasesome one can tell my how to do it right or it can’t be done because thedownload quality and stills from the clip are not suitable or slideshow.  Thank you
    PSC

    Thank you Ross.
    The entire DVD containing Quick Time movies (Final CutExpress project) and slideshow was done in iPhoto.  The Final Cut project was rendered prior to export to QT,  the slideshow was sent to iDVD withoutrendering. The slideshow with most of the pictures from my still camera incombination with stills from movie clips and some downloaded from the Internet.After burning, the movie playback is perfect but the slideshow is not.  The slideshow containing 3 differentkinds of pictures; those from my still camera looks OK; the stills from themovie clips and from the Internet are not.  I don’t have much knowledge in this game, but I think NTSCwith frame size 720x480, and the downloaded picture Item Property shows most ofthem are between 400 to 500 x 300 to 600, may be both of them are not suitablefor TV screen while the stills from my still camera looks OK because they are2048x1536.  Please enlightenme.  Once again, thank you so much,I really appreciate the time you offered.
    psc

  • I have and apple tv,,..how do i play movies,from my apple mac,onto the apple tv..my movies are not on my itunes,but on an external hard drive...i just want to mirrow whats playing,on my mac to the tv...

    I have and apple tv,,..how do i play movies,from my apple mac,onto the apple tv..my movies are not on my itunes,but on an external hard drive...i just want to mirrow whats playing,on my mac to the tv...

    Are the movies in the correct format:
    Video formats
    H.264 video up to 720p, 30 frames per second, Main Profile level 3.1 with AAC-LC audio up to 160 Kbps per channel, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats
    Motion JPEG (M-JPEG) up to 35 Mbps, 1280 by 720 pixels, 30 frames per second, audio in ulaw, PCM stereo audio in .avi file format
    Audio formats supported
    HE-AAC (V1), AAC (16 to 320 Kbps), protected AAC (from iTunes Store), MP3 (16 to 320 Kbps), MP3 VBR, Audible (formats 2, 3, and 4), Apple Lossless, AIFF, and WAV; Dolby Digital 5.1 surround sound pass-through
    When you say tit only sees your music folder, are you saying it only sees your music folder or does it see other empty folders.

  • Help! When i click and drag, only the frame moves!

    So when i drag a pictue in a frame, whether its eps, png watever, only the frame outline drags with my mouse, the content stays where it started, then when i relese click in a new place the content moves to it.
    I think this is some sort of fast mode or something but i cant figure out how to turn it off?
    If i click and hold for a couple seconds then when i drag the picture drags with my mouse, but its so annoying having to hover on the picture every time i want to move something.
    It also happens with transforming the picture, scalling it or rotationg it etc. I just get a preview of where it will end up from the frame outline then when i release the picture goes there.
    Im on CS6.
    If someone could help would be amazing, i've searched the web and im stumped!

    You are looking for Live Screen Redraw, and reseetting the prefs won't do a thing becasue it's set to dealyed by default in CS6. You can set it to Always in the prefs, or you can click and hold for a moment before dragging to get the live view.

  • Managing various event listeners in multi-frame movie

    I'm working on a gunslinger game. I have numerous frames
    which correspond to different stages of the game. The frame that
    corresponds to the actual gameplay has a really involved
    ENTER_FRAME function attached to particular item on the stage. When
    the game is over (or an error occurs, or the network connection
    fails) I want to leave the gameplay frame and move to some other
    frame. When this happens, I would like the ENTER_FRAME function on
    the gunslinger to be removed because the player may finish a game
    and then re-enter the gameplay frame later after selecting a new
    opponent.
    QUESTION: Can anyone recommend a good way to manage the
    keyboard event listeners, all the button event listeners, etc? As
    you might imagine, I have no reliable way to determine which frame
    might be entered after the gameplay frame because the frame change
    could be triggered by a variety of different reasons.

    I have tried using hasEventListener to check for an existing
    ENTER_FRAME function before adding the event listener again but it
    never seems to notice that there is an existing enterframe function
    running. Furthermore, when I leave the frame, the enterframe
    function (which is attached to a particular movie clip on frame 2)
    continues to run even though that movie clip doesn't exist on any
    other frame in the flash movie.
    The first frame in my movie just has a button that takes the
    movie to frame 2. frame 2 has a movie clip (myMovie) and a button
    (btnFrame1) which goes back to frame 1. It also has the attached
    actionscript.
    I start the movie.
    I click 'goto frame 2'
    the enterframe listener is added and starts to output trace
    statements of the current frame of myMovie (e.g., 1-2-3).
    i click 'goto frame 1' on the main movie
    although i am looking at frame 1 of my main movie which has
    no instance of myMovie, the enterframe function keeps tracing the
    current frame--interestingly, the frame of myMovie does not
    advance...it stays on 1, 2, or 3 and announces that frame over and
    over again.
    Repeating the visit to frame 1 and frame2 over and over again
    results in more listeners being added over and over again.
    I have uploaded a sample FLA here:
    http://jaith.net/questions/listenerExample.zip
    I hope that you might help me determine how to remove the
    listener upon exiting this frame. I don't want that enterframe
    function running (and referring to movieclips that don't exist)
    when I exit the frame where it is relevant. I'm wondering if I
    should try adding the event listener to the root movie
    instead.

  • HT4108 I'm trying to connect my iPad to my tv so that I can mirror whatever is on my iPad. I want to stream movies online and watch on the tv. I have the digital av adapter and an hdmi cable but it's not working. Any tips ?

    I'm trying to connect my iPad to my tv so that I can mirror whatever is on my iPad. I want to stream movies online and watch on the tv. I have the digital av adapter and an hdmi cable but it's not working. Any tips ?

    If this is an iPad 1, it won't mirror, but it will still output video from the 30 Pin dock connector.
    If your new TV has a conventional VGA in and stereo inputs you can try this connector.
    http://store.apple.com/us/product/MC748ZM/A/apple-composite-av-cable?fnode=3a
    I used to stream video from both Netflix and YouTube and from my Mac using iTunes sharing through my iPad then with this connector plug into my iPad and TV.
    It won't be high resolution, but it will get you picture from iPad to TV.
    Good Luck.

  • I have an older Macbook pro with a dvi output and I want to watch movies on my tv. I have a dvi to hdmi cable but the only image I get on my TV is my desktop background. None of my movie players with appear on the TV screen. What am I doing wrong?

    I have an older Macbook pro with a dvi output and I want to watch movies on my tv. I have a dvi to hdmi cable but the only image I get on my TV is my desktop background. None of my movie players with appear on the TV screen. What am I doing wrong?

    Hi Maryan,
    Open System Preferences > Displays > select the window for you external monitor > click on the Arrangement tab and check the box next to Mirror Displays. It may be slightly different in Lion, but the idea is the same.

  • I want to see movies in my HBO app, but when I try, I am told that I have to shut down my HTTP in my wi-fi settings. I do not know how to do this. I am a novice at this.

    I want to see movies in my HBO app. I cannot do so because the message keeps coming up that I must take the HTTP off in my wi-fi settings. I do not know how to find this in those settings. I am a novice at this whole thing, so be patient with my ignorance with techie things.

    There is no HTTP in WiFi settings. Are you talking about an HTTP Proxy server? If so, this may mean that the HBO App does not work correctly if you are using a Proxy server for your internet connection. To see if you are using a proxy go to Settings > Wifi and touch the blue ">" to the right of your network name. This will bring up the network connection details. At the bottom will be information about any Proxy server that you are using.
    What exactly is the error message?

  • I bought a movie on itunes and i deleted the download to the movie because i did not want it. How do i get my money back ?

    i bought a movie on itunes and i deleted the download to the movie because i did not want it. How do i get my money back ?

    Welcome to the Apple Community.
    Apple's policy on sales of digital content is that all sales are final. If however you wish to appeal to Apple, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History on your computer.

  • I want to transfer movies I have downloaded from iTunes from my iPhone 5 to a flash drive to be able to use when I have no wifi on my iPad,when power is out etc ?

    I want to transfer movies I have downloaded from iTunes from my iPhone 5 to a flash drive to be able to use when I have no wifi on my iPad,when power is out etc ?

    If you have iTunes 11 on your computer then you can enable the left-hand sidebar on it via option-command-S on a Mac, control-S on a PC - when connected (and if your computer's iTunes is up-to-date) your iPad should then appear on that sidebar under a 'Devices' heading :
    If you select the iPad on that sidebar you can then use the Movies tab on the right-hand side of the iTunes screen to select and sync that film to your iPad's Videos app.
    Has your iPad been synced to the computer before ? If not then you might find this page for syncing to a new computer useful : https://discussions.apple.com/docs/DOC-3141

  • I want to airplay from macbook pro to apple tv. What are the possibilities? Does it allow me to play movies or videos I access through the browser as well?

    I want to airplay from macbook pro to apple tv. What are the possibilities? Does it allow me to play movies or videos I access through the browser as well?

    Welcome to the Apple Community.
    Only content in your iTunes library can currently be sent via AirPlay from your mac.

Maybe you are looking for