How to maximize frame when using default L&F?

I can use Frame.setExtendedState() to maximize the frame with window outline but default L&F......
It only can maximum to full screen...

Yup, that's the definition of 'to maximize'; of course you can set the size and the location of the frame explicitly if you want ...
kind regards,
Jos

Similar Messages

  • How to retrieve character '#' when use Shift key + 3 instead of use Option key + 3?

    Hi everyone,
    Kindly advice how to retrieve character '#' when use Shift key + 3 instead of Option key + 3.
    Thank you in advance.

    Hi Tom,
    Thanks for your proposed solution. The problem has been solved.

  • HT1495 how to delete apps when using one account for iphone 4s and ipod4, can delete from phone but not ipod

    How do we delete apps from ipod 4 when using same account as iphone 4s, we can delete from the phone but not the ipod, and when i get an app on my phone it automatically comes up on the ipod and visa versa, now ipod is full,

    Read the article from which the thread was posted, it clearly defines how to use multiple iDevices on a single computer.
    Sharing an Apple ID is not an issue.

  • How to suppress SCHEMA_OWNER when using DBMS_METADATA.GET_DDL

    Hi,
    I was wondering, is it possible to suppress the owner when using dbms_metadata.get_ddl?
    SQL> select * from v$version where rownum = 1
    BANNER                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    SQL> exec dbms_metadata.set_transform_param (dbms_metadata.session_transform,'SEGMENT_ATTRIBUTES',false)
    SQL> select dbms_metadata.get_ddl('TABLE','EMP') from dual
    DBMS_METADATA.GET_DDL('TABLE','EMP')                                           
      CREATE TABLE "SCOTT"."EMP"                                                   
       (     "EMPNO" NUMBER(4,0) NOT NULL ENABLE,                                      
         "ENAME" VARCHAR2(10),                                                         
         "JOB" VARCHAR2(9),                                                            
         "MGR" NUMBER(4,0),                                                            
         "HIREDATE" DATE,                                                              
         "SAL" NUMBER(7,2),                                                            
         "COMM" NUMBER(7,2),                                                           
         "DEPTNO" NUMBER(2,0)                                                          
       )I would like to get rid of the "SCOTT". Alternatively to change it into something else.
    Is that possible, without post processing the output, that is?
    Regards
    Peter

    Hi Karthick,
    I was afraid that would be the answer. It can be done, but it seems rather convoluted:
    SQL> create or replace function get_table_ddl(table_name    varchar2
                                            ,schema        varchar2 default user
                                            ,new_owner     varchar2 default null)
       return clob
    is
       v_handle        number;
       v_transhandle   number;
       v_ddl           clob;
    begin
       v_handle := dbms_metadata.open('TABLE');
       dbms_metadata.set_filter(v_handle, 'SCHEMA', schema);
       dbms_metadata.set_filter(v_handle, 'NAME', table_name);
       v_transhandle := dbms_metadata.add_transform(v_handle, 'MODIFY');
       dbms_metadata.set_remap_param(v_transhandle,'REMAP_SCHEMA',schema,new_owner);
       v_transhandle := dbms_metadata.add_transform(v_handle, 'DDL');
       dbms_metadata.set_transform_param(v_transhandle,'SEGMENT_ATTRIBUTES',false);
       v_ddl := dbms_metadata.fetch_clob(v_handle);
       dbms_metadata.close(v_handle);
       return v_ddl;
    end;
    Function created.
    SQL> select get_table_ddl('EMP') from dual
    GET_TABLE_DDL('EMP')                                                           
      CREATE TABLE "EMP"                                                           
       (     "EMPNO" NUMBER(4,0) NOT NULL ENABLE,                                      
         "ENAME" VARCHAR2(10),                                                         
         "JOB" VARCHAR2(9),                                                            
         "MGR" NUMBER(4,0),                                                            
         "HIREDATE" DATE,                                                              
         "SAL" NUMBER(7,2),                                                            
         "COMM" NUMBER(7,2),                                                           
         "DEPTNO" NUMBER(2,0)                                                          
    1 row selected.Regards
    Peter

  • K3011w - How disable the touchpad when using USB mouse?

    Is there a way to disable the touchpad on the docking keybd when using a USB mouse? It is a real pain typing along and be in the middle of sentence some where else on the page.

    hi whippetguy,
    Thanks for Posting,
       The touchpad on the dock uses a Windows driver and does not have any special Software to Disable it via shortcut,
    How I found to go around on what you need is
      With the tablet on the dock with no USB mouse yet
                      Press (Windows key+x) and choose device manager on the list
                            On Device Manager window open mice and pointing device and rightclick disable
    This should disable the dock touchpad and Now you can plu in your USB mouse,
    Before you unplu your USB mouse after use, Go to device manager again and Enable the device you disabled.
    Hope this helps
    Cheers!
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • What could cause "Internal error: java.lang.NullPointerException: can't not add null to SWF frame" when using compc?

    using flex sdk 4.6, and air sdk 15.0.0.356
    we get the following error when using compc in our ant build:
    [java] Internal error: java.lang.NullPointerException: can't not add null to SWF frame
    [java] at com.adobe.flash.swf.SWFFrame.addTag(SWFFrame.java:77)
    [java] at com.adobe.flash.compiler.internal.units.requests.SWFTagsRequestResult.addToFrame(SWFTagsR equestResult.java:114)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.addCompilationUnitsAndDependenciesToF rame(SWFTarget.java:398)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrame(SWFTarg et.java:838)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget$FramesInformation.createFrames(SWFTar get.java:875)
    [java] at com.adobe.flash.compiler.internal.targets.SWFTarget.build(SWFTarget.java:243)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.buildLibrarySWF(SWCTarget.java:348)
    [java] at com.adobe.flash.compiler.internal.targets.SWCTarget.build(SWCTarget.java:128)
    [java] at com.adobe.flash.compiler.clients.COMPC.buildArtifact(COMPC.java:144)
    [java] at com.adobe.flash.compiler.clients.MXMLC.compile(MXMLC.java:541)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:230)
    [java] at com.adobe.flash.compiler.clients.MXMLC.mainNoExit(MXMLC.java:184)
    [java] at com.adobe.flash.compiler.clients.COMPC.staticMainNoExit(COMPC.java:75)
    [java] at com.adobe.flash.compiler.clients.COMPC.main(COMPC.java:62)
    which seems to be rather vague, and offers no clue as to what caused the problem. so, my question is, what could cause this error?
    these are the compiler options we use in the build file:
    <java jar="${flex.compc.jar}" dir="." fork="true" failonerror="true">
          <jvmarg value="-Xmx512m" />
          <arg line="@{options} ${_compc.libpath} ${_compc.externspath} ${_compc.includespath}" />
          <arg value="+flexlib=${flex.frameworks.dir}" />
          <arg value="-load-config=@{config}" />
          <arg value="-source-path=@{src.dir}" />
          <arg value="-include-sources=@{src.dir}" />
          <arg value="-output=@{dest}" />
          <arg value="-swf-version=@{swf.version}"/>
          <arg value="-debug=${flash.debug}"/>
          <arg value="-advanced-telemetry"/>
    </java>
    assume that the properties resolve to correct values, since all projects (except one) call this task and compile successfully. the error must come from this one project that fails, but we don't know why.
    any ideas?

    You could be running out of memory, try increasing the -Xmx512m value to -Xmx1024m or another value that you prefer

  • Why do I get a stall every few minutes with a "Pages unresponsive" error frame when using iCloud e-Mail?

    Friends:  Has anyone heard or seen a suggestion from any source on how to eliminate the several minute stall every several minutes when using iCloud E-Mail through any browser (Safari, IE-11, Chrome) on any Microsoft OS (WIN-8.1, WIN-7-SP1, WIN-XP)?  I've seen several other folks express frustration but have seen no actionable replies.
    Thanks,  George

    Absolutely no one posted a reply or suggestion in over a month.  Not even one.  So, I'm abandoning this query.
    If someone in posterity sees this post, please don't reply because it will not be monitored.
    Thanks anyway - GeorgeIP

  • How is image resampled when using Crop Tool Presets?

    If I use the Crop Tool preset of 4 X 6 inches on a 8 X 10 inch image of the same resolution, what type of interpolation does PS use to reduce the image size? I am reducing the size of a finished multilayered file to insert it into a greeting card template.
    I know that when using the Image Size dialogue, you can choose whatever type of image interpolation you want, like bicubic sharper for reducing the size of an image. Can you do the same with the Crop Tool? Thanks.

    chris -
    could this be included in the option bar to change the resampling per instance instead of a prefs setting?  I set up some actions to change the prefs for up and down scaling and then revert to the default pref setting. But it was never convenient so I don't use the actions.
    or maybe just and pref to use "smart scaling" that chooses the interpolation method based upon whether it is up or down scaling.
    j

  • How to prevent email when using find my iphone

    Hi there,
    Am I the only that finds the email confirmations annoying when using find my iPhone?
    Is there any way to prevent these emails, or a preference somewhere to turn them off?

    Apple:
         Considering the threads here and on other Internet sites, this is clearly a safety issue.  As a parent who uses this feature on my children's phone - this feature should be optional.  Notifying the bad guy when you are searching for your phone/child is not an option.  Thank you.

  • How to define range when using oo environment

    Hi all,
    I have a doubt regarding this when using OO:
    DATA: spfli_wa TYPE spfli,
          r_carrid TYPE RANGE OF spfli-carrid,
          r_carrid_line LIKE LINE OF r_carrid.
    Is there a structure I can do "type" for the work-area?
    Thanks in advance,
    Edited by: orgasmics on Sep 9, 2010 9:23 PM

    Hello,
    if you maintain or develop your class in transaction SE24 for example, then you will find a button Local Types in the Icon Bar.
    Click on it and define a Type range.
    E.g.
    TYPES : rnge_bukrs TYPE RANGE OF bukrs.
    TYPES : rnge_line TYPE LINE OF rnge_bukrs.
    That will create a range table type and a structure of the same type.
    You can use these types in any data statements of any method in that class or attribute of your your class or interfaces of your methods.
    Hope that is what you are looking for.
    Cheers

  • How to smooth text when using 720p HDTV as monitor?

    I know I'm not using the best choice for a Monitor, but want to tweak it the best I can.
    Sony Bravia BX 320, 720P TV as my monitor
    New Mac Mini bought yesterday
    1080P Display Setting in Mini's display profiles
    720P ibid
    Connected via HDMI
    Have tried tweaking around with different Mac Display profiles and color calibrations. Above look the best as far as resolution and picture when sitting far away from screen.
    Closer I get to screen, the more pixelated and crappy the text looks, which is really bad
    What are the tweakablle settings, both in the monitor and computer I would want to play with to smooth the text out as best as is possible given my monitor choice?
    What would be a better "TV" choice to use as a monitor for my Mini? I only run a Roku and OTA HDTV into the TV tuner.
    Is there a choice that looks good in both TV and Mini monitoring applications?
    Thanks so much.

    I have never used any of this, I have never needed to use it. I just know that the information is around and has been useful to others.
    I also saved this tutoial that I found once. Perhaps it can help you;
    SwitchResX Tutorial
    0. All of this is easier to do if you have a portable Mac, since you can configure the external display while viewing everything on the built-in display. You can do it with only the external display (your big TV, that is), but it's tedious.
    1. Get the proper cable to connect your Mac to the display (VGI, DVI, or DVI->HDMI, depending on your display's inputs; if you're using a portable Mac with only mini-DVI you'll need the adapter *and* a cable).
    2. Connect the display and turn on the Mac. Launch the SwitchResX Control application (if all you're doing is setting up a custom configuration, you don't need the preference pane and thus don't need APE either).
    3. In the SwitchResX Control application, select the display you want to configure in the "Settings of:" menu (if it isn't selected already) and click the "Display" tab. Then click the "Export DDC" button and select a location to save the file.
    4. Using the text editor of your choice (TextEdit works, or you may have a preference for something else) open that file you just exported. You should see at least one Monitor Description Block (mine has two, labeled Descriptor #0 and Descriptor #1). This should give you a starting point. Mine looks like this:
    Code:
        Descriptor #0 is Timing definition:
        Mode = 1920 x 540 @  60Hz
            H. Active...............1920 pixels
            H. Blanking.............280 pixels
            V. Active...............540 lines
            V. Blanking.............22 lines
            HSync Offset............88 pixels
            HSync Pulse Width.......44 pixels
            VSync Offset............2 lines
            VSync Pulse Width.......5 lines
            Pixel Clock.............74.25MHz
            Horizontal freq.........33.75kHz
            Vertical freq...........60.05Hz
            H Image Size............16mm
            V Image Size............9mm
            H Border................0 pixels
            V Border................0 lines
                Interlaced
                Sync: Digital separate with
                    * Positive vertical polarity
                    * Positive horizontal polarity
    Note that the Mode is described as 1920 x 540 @ 60Hz, interlaced. It's actually 1920 x 1080, interlaced. I'm not sure why the vertical resolution is half what it should be there, but that's an important detail to note. If yours looks like it's half what it should be, you'll have to double it below. Use your common sense here.
    The next step depends on what problem you need to solve. If you have a picture and you just need to adjust its position and/or size, you have the easier task and these instructions can help you. If you don't have a picture at all, the values provided by your display are invalid, and you'll have to do some research to find valid values (I can't help you find them). Search and/or ask on this forum, and also try Google.
    5. Click on the "Custom" tab in the SwitchResX Control app. Click the "+" button to create a new resolution. Select "Custom" in the menu at the top (as opposed to "Scaled"). Start by entering the values in the Monitor Description Block you exported and opened in a text editor. The thing to realize as you get started is that all the numbers interact with each other, and as you change one value the application will recalculate the others if they're affected by the change. At a given resolution, the number of horizontal pixels and the number of vertical lines in each box always have to add to the same totals, and you can get those values by adding the "Active" and "Blanking" values in the Monitor Timing Block. To stick with my display, the horizontal pixel values must add up to 2200 (1920 (H. Active) + 280 (H. Blanking)), and the vertical line values must add up to 1124 (2 * (540 (V. Active) + 22 (V. Blanking))). The horizontal and vertical scan rates are calculated using those total values and the pixel clock value.
    This is a very important concept to understand. With a constant pixel clock value and constant totals of Active + Blanking in both axes, the scan rates should also remain constant. If you have changed your active, porch, or sync width values and the scan rates don't add up, you won't get any picture. To use my display as an example again:
    Code:
    Pixel Clock 74.25 Mhz, Interlaced
                Horizontal      Vertical
    Active:     1920 pixels     1080 lines
    Frt. porch: 88 pixels       4 lines
    Sync width: 44 pixels       10 lines
    Back porch: 148 pixels      30 lines
    Scan rate:  33.75 kHz       60.05 Hz
    Note that 1920 + 88 + 44 + 148 = 2200, and 1080 + 4 + 10 + 30 = 1124.
    6a. Adjust the values to fit your display (heh). This is the trial-and-error portion of the task, and is also slightly counterintuitive. You can get an idea of the adjustments you need to make if you use DisplayConfigX to display an "Image Size Test" (in the "Test Screen" tab). It'd make life easier if that were built into SwitchResX, but anyway:
    If you need to shrink the visible area, decrease the Active value and increase the front or back porch values by the same amount. If you need to increase it, do the opposite. It helps to work incrementally (say, by multiples of 8) and save and test your work as you go along. Note that you may not actually need to restart the computer: I found that I could just unplug the HDMI cable from the back of my display and plug it back in, and the new settings would take effect. Remember to click "OK" (and not "Cancel") in the Timing Parameters window, then "Apply" in the main window, before you do this, or before you reboot. Otherwise your changes will be lost.
    The porch values are counterintuitive. The horizontal "front porch" is the right edge of the screen (not the left as you might expect); the vertical "front porch" is the bottom edge of the screen. To move the image to the right, decrease the horizontal front porch and increase the horizontal back porch; to move it to the left increase the front porch and decrease the back porch. To move the image up, increase the vertical front porch and decrease the back porch, to move it down, decrease the front porch and increase the back porch. Again, it helps to save and restart or disconnect/reconnect the display to test these adjustments. The "Quick change" buttons in the bottom right-hand corner of the Timing Parameters window will adjust the porches for you, but note that in older versions the buttons were reversed (down means up and left means right, if you catch my drift). That's been fixed in version 3.7.6, apparently.
    Also, remember as you adjust porch values that you shouldn't ever need to change the sync width.
    6b. You know how I said you might not need to restart the computer? That's not actually 100% true for some displays. When I boot my computer with the display connected, the image is shifted to one side. If I subsequently change resolutions in software or disconnect and reconnect the display, the image will shift back. I got around this problem by first coming up with a configuration that was properly aligned after such a switch. After I had that I rebooted and estimated how far the image was shifted to one side. I then adjusted the porch values, saved, rebooted, and tested again. I now have two configurations, one for "fresh boot" that's adjusted for that sideways shift, and one I can use if I've changed the resolution for some reason. After all that, my default settings are now:
    Code:
    Pixel Clock 74.25 Mhz, Interlaced
                Horizontal      Vertical
    Active:     1834 pixels     1024 lines
    Frt. porch: 120 pixels      40 lines
    Sync width: 44 pixels       10 lines
    Back porch: 202 pixels      50 lines
    Scan rate:  33.75 kHz       60.05 Hz
    Again, 1834 + 120 + 44 + 202 = 2200, and 1024 + 40 + 10 + 50 = 1124. The Pixel Clock and both scan rates are the same as I found in the DDC.
    Note also that if you have the same sideways shift problem, your two resolutions can't be identical (the system won't know which one to select). I made mine different by two pixels of horizontal resolution, which turns out to be rounded off in practice anyway (so one's 1832 x 1024, and the other's 1834 x 1024, with porch values adjusted accordingly, but they both look the same).
    At this point you should be able to align your desktop to your display by iterating through these steps, applying your changes, and either disconnecting and reconnecting the display or rebooting.
    7. If ever you go horribly wrong and go from having a misaligned picture to having no picture at all, you'll have to delete the override installed by SwitchResX. Boot the computer into Safe Mode, launch the SwitchResX Control app again, and click the "Factory settings" button, then the "Apply" button, and reboot.
    And as a preemptive strike: no, I probably don't own your display and don't know the numbers for it offhand, and my consulting rate is $45/hr (really!). 
    Copyright Fedward. All rights reserved, all wrongs reversed.

  • In C3 Ripple Edit tool doesn't delete frames when using a Dissolve

    In Premire Pro C3 when I use the Ripple Edit tool to delete frames between two scenes in the Time Line, it looks like the frames have been deleted when previewing or playing the edit.  However, if you then place a Cross Disolve Video Transition over the edit and then play the result, you can clearly see all of the frames you deleted playing under the disolve.  What's up?  How do you get the Ripple Edit to really take or is this a software bug?

    You are running up against a lack of Handles in your Clip. See this ARTICLE for more details and background on Handles. Just reset your In & Out Points for the Clips in question, to create more Frames for Handles.
    Good luck,
    Hunt

  • How to fiter entity when use account transfer

    Hi, Experts
       I use the business rule - account transfer to calculate some accounts, and I put the logic in DEFAULT.LGF
    It's not suit for all the entities, one entity (ENTITY1) will be exclude. 
    It means when I send data with ENTITY1, the logic will not be executed.
      How can I achieve this?
    Regards,
    Richie

    I try to write logic like follow, and it occurs "invaild when/endwhen" error when validate the code.
    *XDIM_MEMBERSET ENTITY = %ENTITY_SET%
    *WHEN ENTITY
    *IS <uFF1E "ENTITY1"
    *RUN_PROGRAM CALC_ACCOUNT
    CATEGORY = %CATEGORY_SET%
    CURRENCY = LC
    TID_RA = %TIME_SET%
    CALC=LRB
    OTHER = [ENTITY=%ENTITY_SET%]
    *ENDRUN_PROGRAM
    *ENDWHEN
    Edited by: Richie Wang on Aug 5, 2010 2:52 PM

  • How to spilt files when using DATA UNLOAD (External Table, 10g)?

    Hi,
    I am runnin 10gR2 and need to export partitions by using data_pump driver
    via dmp files (External Tables).
    Now as requierment the created files can not exceed 2GB mark.
    Some of partitions are larger than that.
    How could I split the partition so I could be able to create files smaller than 2GB? Is there any parameter I am not aware of or do I need to do SELECT COUNT(*) FROM source_table PARTITION(partiton_01);
    and than to work with ROWNUM?
    This example working fine for all partitions samller than 2GB:
    CREATE TABLE partiton_01_tbl
    2 ORGANIZATION EXTERNAL
    3 (
    4 TYPE ORACLE_DATAPUMP
    5 DEFAULT DIRECTORY def_dir1
    6 LOCATION ('inv_xt1.dmp')
    7 )
    8 PARALLEL 3
    9 AS SELECT * FROM source_table PARTITION(partiton_01);

    You could specify multiple destination files in the LOCATION parameter (the number of files should match the degree of parallelism specified). I am not aware of an option that would allow the external table to automatically add new data files as the partition size increased, so you'd likely have to do some sort computation about the expected size of the dump file in order to figure out how many files to create.
    Justin

  • How to config not to use Default run target

    Hi All,
    How can I config Jdeveloper9.0.3 not to use runner's "default run target" from "project settings", instead, to use welcome file list in web.xml?
    thanks a lot!

    This is currently how it is implemented in JDev903. The JDev webapp runner uses the project default run target instead of using the directory and relying on the welcome files in the web.xml.
    Obviously a workaround is to set the default run target to observe the welcome file in the web.xml.
    We haven't really seen people asking for this to be implemented in our webapprunner but we'll discuss it..

Maybe you are looking for

  • "Posting with reference to pur. order only possible for integrated whse"

    When I try posting GR with mvmt type 101 wrt PO  I am receiving the error "Posting with reference to pur. order only possible for integrated whse" The scenario is  storage lcation is maintained  with the external warehouse management . Is there anyth

  • Mac Pro Mid 2010 keeps restarting after installing OSX Mavericks

    Hello, my Mac Pro Mid 2010 started quitting and restarting after installing the Mavericks OSX. I was thinking about wiping out the drive and reinstalling OS X Mountain Lion but thought I should see if anyone else is experiencing these issues before g

  • ICloud restoring outdated apps

    I have a bit of a problem here. I have a few apps that won't install from the app store with an iCloud restore because they are no longer in the app store. I didn't know iCloud restored apps fresh from online. So.. I synced the apps from iTunes after

  • Swith from Aperture to Lightroom?

    Considering switch from Aperture to Lightroom (have used Aperture for 6 years, but also PS). Aperture is giving me "unsuppoerted format" notices on existing files. If I go to Lightroom, will I be able to go back into my old Aperture libraries?

  • "Run in Browser" and "Web start" errors

    Hello. i have a problem with JavaFX and running it outside NetBeans. yes, i tried googling it, tried searching this forum. i didnt find anything that could help me. the problem is: i started learning java fx with tutorials (lets say this one - http:/