Resizing and/or Moving the JFrame on the Screen

Is there any way to resize a JFrame when the undecorated property is set to true.
I would like to have a JFrame that is both undecorated and resizable.
Similarly, I was also wondering how to move the JFrame on the screen if the
undecorated property is set to true since there is not Border to select the
JFrame to initiate the Move.
Thanks!

yes... setSize(), setLocation().
And if you want the user to be able to do it with the mouse, you need to add a border to the rootpane to prevent anyone adding things over the whole rootpane, and add a mouse listener to it to catch mouse click and drag events and do the calculations.
If you look at the BasicInternalFrameUI, or some thing in there should have some code that does the same thing.

Similar Messages

  • Hello, I am attempting to install Camera raw from a .zip file provided via a link provided by adobe for a Nikon D810. The .zip file unzips fine and I moved the files to the recommended folder. But the operation is failing

    I am attempting to install Camera raw from a .zip file provided via a link provided by adobe for a Nikon D810. The .zip file unzips fine and I moved the files to the recommended folder. But the operation is failing

    Can you describe what “the operation is failing” means?  What is happening and how is it different than what you expect?
    Also, what product are you trying to update manually, and do you have a link to the page of instructions, so we know what your attempting to do?

  • Patching on PRD system and thereafter moving the logs to DR ?

    Patching on PRD system and thereafter moving the logs to DR, will the patches take effect in DR ?
    We have patched our PRD system to the latest APPL patch levels, we have a DR system in place, the link for which was disabled before we started our patching process. The DR system was successfully patched before taking up the activity on PRD.
    The link between the PRD and DR is still not restored.
    Now, that our PRD system is on the latest patch levels, my idea is restoring a full offline database backup of PRD on the DR system should make the DR system exactly identical to the PRD and the link between the two restored to allow for dynamic syncing thereafter.
    Is my above view correct ?
    Moreover, from my understanding, Patches are a bunch of SAP notes, SAP notes in-turn are basically code corrections for some objects, which ultimately means some entries are either written or deleted from database tables. My colleagues are of the view that instead of patching the DR server separately we could have actually restored the link and transferred the logs to the DR and the patches should have taken effect in the DR SERVER, is this alright ?
    From my past experience I am aware that once you restore an offline database backup onto any system, the patch level in the target system would become similar to the source system(the system whose offline backup is actually being restored).
    Thereby request the experts on the forum to give their views on the above.
    Many Thanks in advance

    when we take up any patching activity, can we just do it on the PRD and then move on the logs to the DR and the DR should also be on the same patch levels as PRD. ?
    Yes, its a normal patching process for Primary-->Secondary setups.
    You have to apply the application patches only on Production, then sync process takes care on DR (No need to apply the pathces here, infact you don't need to touch your exisiting DR system).
    As a best practice - Just perform a Quality refresh before performing patching activity, then you can perform your test Patching/Upgrade activity in your Quality system itself (Not on DR).
    Regards,
    Nick Loy

  • HT4740 i already did the Hidding part and later moved the events and projects to the FCP events and projects folder . I still cannot share - keep getting this message "THE SHARE OPERATION 1080P FOR APPLE DEVICES (10 MBPS) HAS FAILED. Quicktime Error -50

    i already did the Hidding part and later moved the events and projects to the FCP events and projects folder . I still cannot share - keep getting this message "THE SHARE OPERATION 1080P FOR APPLE DEVICES (10 MBPS) HAS FAILED. Quicktime Error -50
    I dont know what else to do to be able to share my project - I know i updated FCPX before i shared this project  but i dont know what im doing wrong

    masterpieces wrote:
    later moved the events and projects to the FCP events and projects folder .
    Can you explain in detail what you did?
    Do any other shsre destinations complete? If not, do you get the same error message?

  • Screen turns blue when moving the screen up and down

    Hi,
    I work on my laptop everyday and I move the screen in diffent angles for me to see the screen better from where I am sitting, but recently the screen turns completely blue. I can still see everything but all the white colors turn light blue.
    The laptop is brand new.
    Regards,

    Hi there @SanneSA 
    Welcome to the HP Support Forums!
    I understand that your notebook display is behaving a bit erratically.  Since it is new I would recommend calling in to phone support as you will probably resolve the issue faster. You can reach our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
    If you wish to continue here, then i am happy to help, just please post the full product number and operating system for your notebook so I can see what I can find to help. Please read the following documents if you need help in finding those.
    How Do I Find My Model Number or Product Number?
    Is the Windows Version on My Computer 32-bit or 64-bit?
    For now you can take a look at these documents that may help sort through the display issue.
    Resolving Problems with Notebook Displays (Windows 7 and Windows 8)
    Diagnosing a Liquid Crystal Display (LCD) for Damage
    This page is more informational about displays, for your reference.
    About LCD Panel Defects and Terminology for HP Pavilion or Compaq Presario Notebook PCs
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

  • How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    How can you watch itunes purchased movies on apple tv. A click on to movies then into purchase thn a click on a movie i want to watch then my apple tv box light starts going on and off plus the screen is blank

    JasonFromSK wrote:
    With the newest Airport firmware (7.6.1), it seems I should be able to do this.
    Really? I need to check that out!
    You should certainly be able to add content by reference to itunes from such a disk (even before the update) - so long as itunes knows the location of the file (set Preferences not to copy to local library when adding the media) it will stream it to AppleTV if the disk is available.
    I hope you're right, but I'd be surprised if current Extremes can be upgarded to provide a full Home Sharing service - marvellous if they can but I'd be surprised as i've long said we need an Apple media server either based on TC or AE to do this kind of thing.
    AC

  • I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    I was updated my Iphone 4s from computer(ITunes).ITunes get error and update failed.(When Iphone is preparing.).And now ı can't use my IPhone.At the screen there is a USB cable and up of the screen there is ITunes' logo.PLEASE HELP!

    Read what i say. Put iPhone in DFU mode. Connect with USB cable and restore.
    Read:
    http://www.apple.com/support/iphone/assistant/restore/

  • HT201210 While downloading iOs7 my iPhone 4 is stuck asking to be connected to iTunes.  When I connect to my computer, the error message on my computer says that the phone is in recovery mode.  I can turn it off and on, but the screen on the phone stays t

    While downloading iOs7 on my iPhone 4 stopped with a screen indicating it needed to connect with iTunes.  I can turn the phone off and on, but the screen with the iTunes and plug does not change.  I tried connecting to my computer with iTunes open and the computer message indicated that the phone was in recovery mode.  Any suggestions? 

    Yes. Plug it into your computer and restore it. Once it's in recovery mode, that's your only option.

  • Problem in the code while fetching records and displaying in the screen

    Hi,
       I have developed a screen which is having various fields, all the records are stored in a ztable,when i enter the records into various i/o fields and press submit pushbutton they are stored in the table now, what i wont is when i enter one record the (primary one) and press enter the corresponding records of that record should be shown in the i/o fields means they should be fetched back from the d/b table and displayed on the screen. For this i Have written a code please see it once.
    TABLES : ZFISALDT.
    DATA ITAB LIKE ZFISALDT OCCURS 0 WITH HEADER LINE.
    ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
    ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
    ZFISALDT-FORM402 = ITAB-FORM402.
    ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
    ZFISALDT-FREIGHTDOCNO = ITAB-FREIGHTDOCNO.
    ZFISALDT-FPARTYNAME = ITAB-FPARTYNAME.
    *&      Module  STATUS_5555  OUTPUT
          text
    MODULE STATUS_5555 OUTPUT.
      SET PF-STATUS 'SALALL'.
      SET TITLEBAR 'SAL'.
    ENDMODULE.                 " STATUS_5555  OUTPUT
    *&      Module  USER_COMMAND_5555  INPUT
          text
    MODULE USER_COMMAND_5555 INPUT.
    CASE SY-UCOMM.
    WHEN 'BACK'.
    LEAVE TO SCREEN 0.
    WHEN 'SUB'.
    IF ZFISALDT-BILLINGDOCU = ' '
    OR ZFISALDT-SALESDOCU = ' '.
    MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
    ENDIF.
    ZFISALDT-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
    ZFISALDT-SALESDOCU = ZFISALDT-SALESDOCU.
    ZFISALDT-FORM402 = ZFISALDT-FORM402.
    ZFISALDT-SALESTAXFORM = ZFISALDT-SALESTAXFORM.
    *ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
    *ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
    *SUBMIT ITAB.
    WHEN ' '.   (THIS THE PART OF CODE WHICH IS NOT WORKING)
    SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.
    ITAB-BILLINGDOCU = ZFISALDT-BILLINGDOCU.
    ITAB-SALESDOCU = ZFISALDT-SALESDOCU.
    ITAB-FORM402 = ZFISALDT-FORM402.
    *ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
    *ZFISALDT-BILLINGDOCU = ITAB-BILLINGDOCU.
    *ZFISALDT-SALESDOCU = ITAB-SALESDOCU.
    *ZFISALDT-FORM402 = ITAB-FORM402.
    *ZFISALDT-SALESTAXFORM = ITAB-SALESTAXFORM.
    append ITAB.                                                      (ALSO USED INSERT BUT NOT WORKING)
    WHEN 'ENTER'.
    IF ZFISALDT-BILLINGDOCU = ' '
    OR ZFISALDT-SALESDOCU = ' '.
    MESSAGE 'PLEASE FIRST SUBMIT THE BILLING DOCUMENT NO AND SALES DOCUMENT NO' TYPE 'E'.
    ENDIF.
    ZFISALDT-FREIGHTDOCNO = ZFISALDT-FREIGHTDOCNO.
    ZFISALDT-FPARTYNAME = ZFISALDT-FPARTYNAME.
    ZFISALDT-FREIGHTBILLNO = ZFISALDT-FREIGHTBILLNO.
    ZFISALDT-FREIGHTDATE = ZFISALDT-FREIGHTDATE.
    ZFISALDT-TRUCKNO = ZFISALDT-TRUCKNO.
    ZFISALDT-FREIGHTAMOUNT = ZFISALDT-FREIGHTAMOUNT.
    ZFISALDT-COMNAGBILL = ZFISALDT-COMNAGBILL.
    ZFISALDT-AGENTNAME = ZFISALDT-AGENTNAME.
    ZFISALDT-CAGDATE = ZFISALDT-CAGDATE.
    ZFISALDT-CMNAGAMOUNT = ZFISALDT-CMNAGAMOUNT.
    ZFISALDT-SHIPMENTNAME = ZFISALDT-SHIPMENTNAME.
    ZFISALDT-SHIPDOCUNO = ZFISALDT-SHIPDOCUNO.
    ZFISALDT-SHIPBILLNO = ZFISALDT-SHIPBILLNO.
    ZFISALDT-SHIPBILLDATE = ZFISALDT-SHIPBILLDATE.
    ZFISALDT-BLNOGOV = ZFISALDT-BLNOGOV.
    ZFISALDT-CHAAGENTNAME = ZFISALDT-CHAAGENTNAME.
    ZFISALDT-CHABILL = ZFISALDT-CHABILL.
    ZFISALDT-CHADATE = ZFISALDT-CHADATE.
    ZFISALDT-CHAAMOUNT = ZFISALDT-CHAAMOUNT.
    ZFISALDT-B_L_NO = ZFISALDT-B_L_NO.
    ZFISALDT-B_L_NODATE = ZFISALDT-B_L_NODATE.
    ZFISALDT-DEPBLICNO = ZFISALDT-DEPBLICNO.
    ZFISALDT-LICENCE_DATE = ZFISALDT-LICENCE_DATE.
    ZFISALDT-FOC_VALUE = ZFISALDT-FOC_VALUE.
    ZFISALDT-DEPB_VALUE = ZFISALDT-DEPB_VALUE.
    INSERT ZFISALDT.
    CLEAR ZFISALDT.
    ENDCASE.
    ENDMODULE.                 " USER_COMMAND_5555  INPUT
    This is the code please check it once.
    Thanks in advance.

    Hi Sumeet.
    WHEN ' '.  " (THIS THE PART OF CODE WHICH IS NOT WORKING)
    SELECT * FROM ZFISALDT INTO corresponding fields of TABLE ITAB WHERE BILLINGDOCU = ZFISALDT-BILLINGDOCU.     
    " here in where condition u r checking with ZFISALDT-BILLINGDOCU, i guess there is no value in that, Once check in debugging mode and proceed further.
    Regards,
    Aby

  • Dear Sirs,when i use the computer updating my iphone to ios 7.1,suddenly black out.The computer has no power and my iphone does not work and keep display the screen that connect to itunes. so when i connect my iphone to iTunes, it says"itunes has detected

    Dear Sirs,when i use the computer updating my iphone to ios 7.1,suddenly black out.The computer has no power and my iphone does not work and keep display the screen saying the iphone need to connect to itunes. So when i connect my iphone to iTunes, the computer says"itunes has detected an iphone in recovery mode. you must restore this iphone before it can be used with itunes"
    So my question is if I click OK(restore the iphone),will i lose all my data and whatsapp??
    Thank you for your help and time.
    Regards,
    hopeless

    If you didn't back up the phone to iCloud or iTunes (on your computer) BEFORE attempting the update, the data will be lost.

  • Can we change the look and feel of the screen layout

    Dear All,
    I am new to ABAP WebDynpro, and would like to know the following with respect to ABAP WebDynpro :
    1. To what extent can we change the look and feel of the screen layout ?
    2. Is it possible to change the background color of the layout?
    3. Is it possible to change the color of, Buttons etc ?
    Any information / document/ link to explain this would be very helpful ..
    Thanks in advance,
    Aditi

    Hi,
    Psl check out these links.
    check out these webdynpro standard components in SE80 tcode -
    WDR_TEST_UI_ELEMENTS
    check out this link on webdynpro for ABAP-
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/0048413e466e24e10000000a155106/frameset.htm-WD for ABAP
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm -UI elements
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm-Button Properties
    http://help.sap.com/saphelp_nw70/helpdata/EN/46/9319f88f8115ebe10000000a114a6b/frameset.htm- For different Layouts
    Regards
    Lekha

  • When I turn on my Macbook Pro and sign in, the screen is blank, none of the icons appear, I can't click, open or do anything! Help!

    When I turn on my Macbook Pro and sign in, the screen is blank, none of the icons appear, I can't click, open or do anything! Help!

    You could try this; Mac OS X: Starting up in Safe Mode.It takes awhile to come up so patience is a virtue here.
    And here is What is Safe Mode.
    DALE

  • I have a MacBook Air, it automatically minimises and switches from the screen I am in for some reason ?

    I have a MacBook Air, it automatically minimises and switches from the screen I am in for some reason ?

    This problem is often caused by "Google Drive." If it's installed, I suggest you first check for an update. If that doesn't solve the problem, remove it according to the developer's instructions. You may need to boot in safe mode to do so. Back up all data before making any changes.
    If you use Google Drive and don't want to remove it, then try deselecting the option in its preferences to "show status icons." According to reports, that may be enough to stop the Finder from crashing.

  • What do i need to download to my iphone 3gs to be able to view all 4 security cameras at the same time? I can view one at a time live video streaming and just tap the screen to which direction i want to look and the lens moves.i use safari

    What do i need to be able to view all 4 security cameras in the same window on my iphone 3gs? I can view 1 at a time and just tap the screen to move the lens of the security camera on my iphone from my work place. But i once had all 4 cameras but it will not downlosd all 4 now. Is there anything out there like a stronger java to push the activex to my iphone?

    The iPhone does not run ActiveX. That is proprietary to MS Internet Exploder.

  • I have an unlock iphone 4s that i buy it not from apple store can and i broke the screen can i repair the screen i apple and how mich is it if yes??

    i have an unlock iphone 4s that i buy it not from apple store can and i broke the screen can i repair the screen i apple and how mich is it if yes??

    Not covered by warranty. If you make an appointment at an Apple store, you will be offered an out of warranty replacement. Cost is US $199 for an iPhone 4S.

Maybe you are looking for

  • Camera Card No Longer Shows Up :-(

    Since upgrading?? to 10.5, one of my issues is that iPhoto '08 no longer automatically opens and is my camera card is NOT seen in the iPhoto window/left sleeve. Have upgraded to 10.5.1 and to iPhoto 7.1.1 and still no improvement. All was perfect in

  • Problem while reading multiple files through FTP Adapter

    Hi, We have a requirement to read the excel files placed in an FTP Location and as there is no Adapter to read Excel file we are using FTP Adapter and reading the Header values of the file(name of the file) and we are paasing as input to the Java cod

  • Installing SSRS on a Separate Server

    I have installed the SQL Reporting Service on a different server from the CRM server (Dynamics CRM 2011 Server) but when I run the reports, it is giving me the following error: An error has occurred during report processing. (rsProcessingAborted) Que

  • Microsoft advertising/Adcontrol in a c++ game?

    Hi everyone!, I've made a game in c++ with the cocos2d-x game engine. Now I want to add some ad in the game. I've read the doc on MSDN (https://msdn.microsoft.com/fr-fr/library/advertising-mobile-windows-phone-ads-walkthroughs-81-xaml-markup(v=msads.

  • String beginning ":OLD.DIAL_..." is too long. maximum size is 239 characte

    @C:\Y\trigger.sql DIM_DIAL_DIGIT ctva_ra TRG_DIM_DIAL_DIGIT1 :OLD.DIAL_DIGIT_KEY,:OLD.BU_KEY,:OLD.NOP_ID_KEY,:OLD.SDCA_LOCATION_CODE,:OLD.TARGET_REGION_DESC,:OLD.TARGET_COUNTRY_CODE,:OLD.TARGET_COUNTRY_DESC,:OLD.LDCA_NAME,:OLD.SDCA_NAME,:OLD.LDCC_X_C