Why is CS6 Zoom change window size is different then previous versions?

Why in CS6 when zoom changes window size and a folating window fits in Photoshop window or on other display screen do I get scroll bars where a select all selection marching ants are not visible on all four sides till I drag out the window to get rid of the scroll bars so I can see all of marching ants.  In preious versions of Photoshop space for scroll bars is present but there are no scrool bar, select all marching ants are visible on all four sides when an image's window fits in Photoshop window or on second display. Is there a way to make CS6 work like previous versions? Also if I just open a document and Photoshop fits it to Photoshop window or second display the floating window is correct without scroll bars. Zoon add then even when not needed....

Without manually resizing each open document window on my Mac, Photoshop 13.x would be simply unusable.
I hadn't posted anything on the subject because the system on which I run Ps 13.0.1 is based on a laptop (MacBook) literally rescued from the trash and with minimal specs.  The graphics card is not even involved in processing.
I put up with it because I'm basically using it to run ACR 7.2RC1, then bring the converted and ACR-adjusted onto my regular working machine running CS4.
In a nutshell, nothing will make the window fit the main monitor, not Fit To Window, nor 100% view, nor any shortcut.
I need to drag the window manually from the lower right-hand corner in order for it to fit the monitor.  Otherwise, there are substantial gaps on the right and at the bottom.  I never run in tab view.
For the sake of thoroughness:
2007, 2GHz MacBook 2,1, Intel Core 2 Duo, 4 GB of RAM (can use 3 GB), 160 GB internal boot disk, dedicated FireWire400 external HD for Ps scratch disk, external Time Machine HD.  Dual external monitors + built-in laptop screen Snow Leopard 10.6.8.
The Mac-Intel is used for no other purpose than running ACR 7.2RC1 and the only other application I occasionally run on said Mac-Intel is TextEdit.
My main working machine is a Power Mac (PPC) G5 Quad with 16 GB of RAM, on which 11.0.2 is the last version of Photoshop to run, so I have the Mac-Intel system described above just to run ACR 7.x under Photoshop 13.0.1.  I convert my raw files in ACR7.x open them in Ps 13.0.x and save them via Ethernet to an external HD connected to the G5 Quad for further processing in CS4.
2.5 GHz Power Mac (PPC) G5-Quad; 16GB RAM; mutant, flashed 550MHz nVidia GeForce 7800GTX 1,700MHz 512MB VRAM; ATTO ExpressPCI UL5D LP SCSI card; Mac OS X Tiger 10.4.11 and Leopard 10.5.8 boot drives; intrusive Spotblight, Dashboard and Time Machine permanently disabled; dual 22" CRT monitors; USB wireless 'n' available but connected to the Internet via wired Ethernet; FW flatbed scanner; 2 SCSI scanners (one tabloid-size transparency scanner and a film scanner); various internal & external HDs; FW Epson 2200 and Ethernet Samsung ML-2850ND printers; 2 X Back-UPS RS 1500 XS units.

Similar Messages

  • Why can't I change to size of my test in emails now? CanI go back to previous email version. This one is horrible!!!

    Why can't I change to size of my test in emails now? CanI go back to previous email version. This one is horrible. On my last update I was able to easilt find old emails now they disappear!!!! WTF?
    This version cannot change the text size Do I have to go back to IE?

    Which email site do you use?
    And some general advice:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?

  • Changing window size of script  in Non original language

    Hi Gurus,
    Is there any option to change the window sizes of a script in NON ORIGINAL language. Generally it wont allow to change window sizes in NON ORIGINAL language.Is there any workaround.Please help.
    Thanks & Regards,
    Sam.

    It is not possible to change the window size in non-original language.. only changes of windows paragraph formats are possible in original languages...
    If your form is global templet.. make sure you inform the user and on there approval do customise your form and do the respective changes..
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • How to change window size dynamicalyy in scripts

    HI,
       how to change window size dynamicalyy in sap scripts.pls suggest me.

    You acnnot do that but what you can do is to have two layouts, having two windows with different sizes and calling one of them conditionally.
    using start_form end_form functions:
    open_form.
    if cond 1.
    call start_form. "pass form 1
    call end_form.
    endif.
    if cond 2.
    call start_form. "pass form 2
    call end_form.
    endif.
    close_form.
    Regards,
    ravi

  • CS6 not changing photo size?

    I have watched a few videos, on changing image size, in cs6, since when I tried it, the photo didn't change size at all. I could change it to 1 million inches tall, and it will stay the same size. I don't really know what to do. I've tried unlocking the default layer, and changing the canvas size and nothing seems to make this image change size. I want the image in the picture bigger,  am I even doing it right by going under image, and changing the image size, and hitting ok? That is all the tutorials say to do, yet nothing happens for my image.

    An image file just stores the image as arrays of pixels -- 1000 x 2000, 3000 x 4000, 5723 x 8557 or whatever.  Those pixel maps don't have any inherent "size".  The image file can also contain metadata that tells software how to interpret the pixels.  For example, the metadata could say 72 pixels per inch (ppi), 100 ppi, 360 ppi, 1000 ppi, or whatever. 
    In Photoshop (and in most other pixel image editing programs), you can change the metadata to give the image a different "size" without changing the pixels at all.  For example, an image that's 1000 x 2000 pixels, at 100 ppi, will be 10" x 20".  If the ppi is changed to 1000 ppi, the same image will be 1" x 2".  And at 10 ppi, the image will be 100" x 200".  But the image pixels will be unchanged; they will just be bigger or smaller pixels.  Each one of these files will be 2 megapixels and will occupy exactly the same amount of file space (before compression, assuming 8-bit RGB, 6 MB).
    All of the foregoing is with "resample image" unchecked, which ensures no change to the pixel array data.  Now, if you want to grow (or shrink) the size of the image pixel array, you can do that in photoshop by changing the size with "resample image" checked.  This will add or subtract pixels, changing the image data.  So if you change a 1000 x 2000 image that's 100 ppi and thus 10" x 20", by changing the image size to 1" x 2", with resampling checked, the data will be shrunk to give you a 100 x 200 image.  90% of the data will disappear.  Your image will be 1/10 the size in terms of data and pre-compression file size.  If you were to resize the image back to 10" x 20" with resampling unchecked, you would still have a 100 x 200 image, which would have 10 ppi resolution --  a much crappier image.  If you were to resize the image back to 10" x 20" with resampling checked, you would get a 1000 x 2000 image with 100 ppi resolution, but it would still be a crappy image because 90% of the pixels would be newly created through interpolation, not the pixels in the original image.

  • How to change window size?

    My top level ancestor is a JFrame and I want to change my application window size. I found that there is a ComponentEvent.COMPONENT_RESIZED event but how I can fire this event?
    thanks

    JFrame f = (JFrame)this.getTopLevelAncestor();
    f.setSize(newX, newY);Of course, if the resize is according to a child component resizing..
    f.pack();..should do the trick.

  • Can't use letter A - it changes window size

    Whenever I use the letter A, upper or lower case, it changes the window size - first small and then big. Its driving me nuts. I can't type a word using "a", and my windows keep changing size whenever I use it. I'm obviously typing this on another computer.
    I've rebooted, and I checked preferences and there is not a keyboard shortcut accidentally assigned to "a".
    any ideas?

    you could try another account; see if it has the same issue. (if it still happens its not settings)
    you could enable the keyboard viewer; and see if pressing a is being registered as pressing another key
    (apple menu, system preferences, language, input source, check keyboard & character viewer, click on thhe us flag on the menu bar, chose show keyboard viewer)

  • CS5.5 Mac crashes every time I change Window Size in Design View

    I'm using DW CS5.5 (version 11.5 build 5344) in Lion 10.7.3.  I added in a couple of window sizes (in Preferences) that correspond to iPhone and Android phones - 320x480, 480x320, 480x800, 640x960.  The 640x960 one works, as does a 592w one that came with Dreamweaver.  Any of the other ones, though, cause the app to hang in this one particular file I'm editing.  However, in the simple jQuery Mobile starter page DW creates, these resolutions work fine.  This appears to be related to some CSS code that I have inside of a CSS media selector:
    @media screen and (max-width:480px)
    There is also a corresponding
    @media screen and (min-width:481px)
    in the CSS.
    To test this, I created a window size of 481x320, and that seemed to work completely fine without crashing DW. The 480x320 one crashes DW.  I assume that's because it's using the different CSS section.
    Pasted below is the CSS code that goes along with the section that seems to cause the crashing:
    @media screen and (max-width:480px) {
      .column {
        margin: 1em 0;
        border-bottom: 1px dashed #7b96bc;
      #visit, #points, #main {
        width: 100%;
        .taplist li {
        width:50%;
      #map {
        display:none;
      .header {
        display:none;
    To further test this out, I commented out all of the code within that block.  The window sizes did not cause it to crash then.  I then started to add back in pieces of code to see when it began to crash.  The crashing seemed limited to the bottom two (#map and .header), although it wasn't consistent.  In some situations the window sizes would work and in others they would crash.  I didn't test every combo just because it took a lot of time.  With both of those in place, though, every one of the 480 or less sizes crashed.
    Notable, the #map section is commented out in the HTML, however including that in the CSS still causes intermittent crashing.
    I also deleted my cache file to see if that was it, and no luck.
    Full code of the two files below (one HTML, one CSS)
    ontap.html
    <!DOCTYPE html>
    <html>
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> 
        <title>On Tap Now at The Splendid Walrus</title>
      <link rel="stylesheet" type="text/css" href="taps.css" />
    </head>
    <body>
    <div class="navigation">
          <ul>
          <li><a href="/">Home</a></li>
          <li><a href="ontap.html">On Tap Now</a></li>
          <li><a href="about.html">About Us</a></li>
        </ul>
    </div>
    <div class="header"><p>[The splendid walrus surveys his domain!]</p></div>
    <h1>On Tap Now at The Splendid Walrus</h1>
    <div id="ontap" class="column">
      <h2>On tap this month:</h2>
      <ul class="taplist">
        <li><img src="brews_images/bensons_bubbler.jpg" alt="Bensons Bubbler"></li>
        <li><img src="brews_images/chapman_lownsdale.jpg" alt="Chapman Lownsdale"></li>
        <li><img src="brews_images/crystal_springs.jpg" alt="Crystal Springs"></li>
        <li><img src="brews_images/hoyt.jpg" alt="Hoyt"></li>
        <li><img src="brews_images/mill_ends.jpg" alt="Mill Ends"></li>
        <li><img src="brews_images/milo_mciver.jpg" alt="Milo McIver"></li>
        <li><img src="brews_images/mount_tabor.jpg" alt="Mount Tabor"></li>
        <li><img src="brews_images/omsi.jpg" alt="OMSI"></li>
        <li><img src="brews_images/oxbow.jpg" alt="Oxbow"></li>
        <li><img src="brews_images/pittock.jpg" alt="Pittock"></li>
        <li><img src="brews_images/powells.jpg" alt="Powells"></li>
        <li><img src="brews_images/sandy_river.jpg" alt="Sandy River"></li>
        <li><img src="brews_images/sauvie_island.jpg" alt="Sauvie Island"></li>
        <li><img src="brews_images/the_grotto.jpg" alt="The Grotto"></li>
        <li><img src="brews_images/tryon_creek.jpg" alt="Tryon Creek"></li>
        <li><img src="brews_images/wells_fargo.jpg" alt="Wells Fargo"></li>
      </ul>
    </div>
    <div id="visit" class="column">
      <h2>Visit Us!</h2>
      <dl>
        <dt>Location</dt>
        <dd>1543 SW Pretend Street<br />
        Portland, OR 97201</dd>
        <dt>Hours</dt>
          <dd>
            <dl>
              <dt>M-F</dt>
              <dd>Until midnight</dd>
              <dt>Sa-Su</dt>
              <dd>Until 1AM*<p><em><small>*At least</small></em></p></dd>
            </dl>
          </dd>
        <dt>Call us</dt>
        <dd>+1 (503) 555-1212</dd>
      </dl>
      <!--
      <iframe id="map" width="300" height="300" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&source=s_q&hl=en&geocode=&q=334+NW+11th+Ave,+Portland,+OR+ 97209&aq=&sll=37.0625,-95.677068&sspn=58.164117,80.332031&vpsrc=0&ie=UTF8&hq=&hnear=334+NW +11th+Ave,+Portland,+Oregon+97209&t=m&ll=45.525472,-122.68218&spn=0.01804,0.025749&z=14&ou tput=embed"></iframe>
      -->
    </div>
    <div class="footer">
      <p>See you soon! Love, The Splendid Walrus</p>
    </div>
    </body>
    </html>
    taps.css
    /* Everything Fluid */
    /* Simple reset */
              margin: 0;
              padding: 0;
    * Color, typography and basic layout
    * (Shared for all devices and clients)
    * Colors:
    * - #f9f3e9 -> light cream (background)
    * - #594846 -> Dark brown (body text, rules)
    * - #42628F -> Dark blue (link text)
    * - #7b96bc -> Medium-light blue (navigation and footer background)
    body {
              background: #f9f3e9;
              color: #594846;
              font: 100% "Adobe Caslon Pro", Georgia, "Times New Roman", serif;
    a, a:visited {
      color: #42628f;
    p {
      margin: 0.5em 0.25em;
    h1 {
      font-size: 1.75em;
              border: solid #594846;
              border-width: 2px 0;
              padding: 0.25em;
      text-align: center;
      font-variant: small-caps;
    h2 {
      text-align: center;
      font-variant: small-caps;
    dl {
      margin: 0 0.5em;
    dt {
      font-weight: bold;
      margin: 0.5em 1em 0.5em 0;
      border-bottom: 1px dashed #7b96bc;
    .intro {
      font-size: 1.15em;
      line-height: 1.3em;
      text-align: justify;
      margin: 0.5em;
      font-weight: bold;
    .navigation {
      background-color:#7b96bc;
      border-bottom: 2px solid #594846;
    .navigation ul li {
      text-align: center;
      display: block;
      float: left;
      padding: 0.25em 0;
    .navigation li a {
      color: #f9f3e9;
      font-variant: small-caps;
      text-decoration: none;
    .header p {
      margin-left: -1000px;
      margin-top: 0;
    #points ul {
      list-style-image: url('images/point.png');
      margin: 0.5em 0 1em 0.5em;
      padding-left: 1em;
    #points ul li {
      margin: 0.5em 1em;
    .footer {
      background-color: #7b96bc;
      color: #f9f3e9;
      text-align: center;
      padding: .5em 0;
      font-style: italic;
    /* Structure */
    /* Common Structural Rules */
    .header, .footer {
      clear: both;
    .header {
      background:url('images/taps.jpg') repeat-x;
      height: 300px;
    .navigation {
      min-height: 25px;
    img, object {
      max-width: 100%;
    .navigation ul li {
      width: 33.333%;
    .header, .footer, .navigation {
      width: 100%;
    /* Brews List */
    .taplist li {
      display:block;
      float:left;
      text-align:center;
      width:33%;
    .taplist img {
      width:100%;
      margin-bottom:5px;
    #ontap, #ontap ul, #ontap ul li {
      background:#fff;
    /* Wider viewports/higher resolutions (e.g. desktop)  */
    @media screen and (min-width:481px) {
      .column {
        margin: 10px 1.04166667% 0 0;
      #visit {
        width: 31.25%;
        float: left;
      #points {
        width: 25%;
        float: right;
      #main {
        margin: 10px 27.0833333% 0 26.0416667%;
      #ontap {
        margin: 10px 0 0 32%;
    /* Mobile/lower-resolution devices */
    @media screen and (max-width:480px) {
      .column {
        margin: 1em 0;
        border-bottom: 1px dashed #7b96bc;
      #visit, #points, #main {
        width: 100%;
      .taplist li {
        width:50%;
      #map {
        display:none;
    /*  .header {
        display:none;

    Thanks very much Chris for pointing me in the right direction.  I downloaded FontDoctor, and it found one questionable font which I deleted.  However CS5 continues to crash when selecting the Design Workspace. So I followed the steps outlined in the Adobe document you linked.  When I got to the point of downloading the FontTest.jsx file and ran it, CS5 crashed right away without writing any log file.  I turned on app.displayDialogs = DialogModes.YES, and CS5 is crashing with a TypeError: undefined is not an object. So I don't know if this is related to my original problem, or not.  Any thoughts on how to proceed to get the FontTest script to run properly?  I took all of the normal defaults when I installed CS5 (e.g., didn't select any alternate paths, don't have any add-ons installed, etc.).

  • Problem with title bar icons to change window size

    i am running v 2.6 on vista 64 bit with a dual core processor. the window opens full screen on my Eizo 24" monitor set at 1900x1200 but there are no choices in the top right of my menu bar to shrink, move the window. i therefore cannot shrink the window or move it to my second monitor. if i right click on the lightoom icon in the taqsk bar, there are no choices to move, size, minimize,etc.  other applications including photoshop work fine with easy control of window size so i do not think it is my system or graphics card. contol-Q does not close the program and the only way i can do so is from the file menu.
    help please.

    Jerome,
    Hit 'F' enough times to get the title bar back.
    Hal

  • Window Size is different when running a 6i Form in 9i

    Hello,
    I was having a window size that has some window chopped off, when running the 6i developed Web form in 9i. I was running the form from my PC using the 9iAS Instance.
    Any info. is appreciated.

    Is your window getting chopped because of the size of the applet window? If so, change height and width parameters in formsweb.cfg, or pass them in the URL.

  • Windows Server 2008 R2 - Restore Previous Versions - Restored File Filled with Nulls

    ISSUE:
    The Restore Previous versions feature on my file server stopped working some time in the recent past.  If I look at the Previous Version for a file or folder the items are listed and they show a valid file size.  However, when I restore a previous
    version of a file it is completely filled with nulls.  I have tried local restores on the server and remote restores.  The results are the same; I get a file that is the correct size but completely filled with nulls.  The Server is Windows 2008
    R2 64.  I have searched for any reports of similar issues to no avail.   I'm looking for any ideas on how to resolve the issue preferably while maintaning archived files.

    Hello,
    Can you help me with this too?
    My Shadow copy stop working!
    When my clients right click on Folders, they saw only date in the past.. and the new date not comming!
    When i went to file server
    ==> Computer Management==> Right click on "Share Folder" after that, i got nothing! Only "Gray" at the "Title bar" of computer management.
    Please see attached:
    What should i do? Please help me.
    Best regards
    VeasnaYim

  • Need Illustrator CS6 and can't find it in the previous version options

    My son needs Illustrator CS6 for a class he's taking, and his teacher said we could download it from Creative Cloud.  However, when I look in the Apps tab, under "Find new apps," and select "Previous versions" from the drop down menu, Illustrator isn't one of the options.  How can I get it from Creative Cloud? 

    Download CS6 products
    Mylenium

  • Why does my maximised app window appear a different size to the screen resolution?

    First: I'm a beginner with windows programming, fumbling my way through visual studio and C# (my background is C with console applications)... sorry if this is a naive question!
    Short story: When I create a window of the same size as the screen resolution. My app window is ~20% larger than my device's screen. Why is this happening?
    Long story: I'm attempting to develop an application with a fixed size window and absolute positioning of UI elements. The application will only ever run at a fixed resolution, on a single device, borderless/non-resizeable and full-screen. The resolution
    of the display on which it will run is 1280x800 (according to the device specs and resolution reported by the windows control panel) . However, when I create a window of this size, it is too large to fit onscreen. In fact, I have to create a window 1024x640
    (0.8x screen resolution) for it to perfectly fit the screen. Anyone know why this is happening?
    Thanks!

    It sounds like you are running in a high-DPI mode but your app is not DPI aware and is getting virtualized. Windows will tell the app it's running at 96 DPI and then embiggen the rendered window so it ends up at the user's requested zoom level.
    See
    Writing DPI-Aware Desktop and Win32 Applications

  • Changing window size

    Hi there!
    I want to change the number of the buttons displayed and the size of the window depending on the selected difficulty level (which is selected in a JMenu of the JMenuBar; look at the ActionListener at the end), but it does not work. If I set the difficulty manually and recompile it works, but i want this to be possible any time, by clicking on the JMenuItem.
    This is suppossed to be the fundament of a minesweeper clone.
    I hope you can help me. Where/What is the problem?
    Thanks in advance,
    Floesch
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class test extends JFrame {
    JButton[][] buttons;
    final Dimension buttonSize = new Dimension(16, 16);
    JPanel panel = new JPanel();
    public static final int DIFFICULTY_BEGINNER = 0;
    public static final int DIFFICULTY_ADVANCED = 1;
    public static final int DIFFICULTY_EXPERT = 2;
    public static final int DIFFICULTY_ULTRA = 3;
    public static int difficulty = 2;          
         public test(String title){
              super(title);
              JMenuBar menubar = new JMenuBar();
                   JMenu file = new JMenu("File");
                   menubar.add(file);
                        JMenuItem beginner = new JMenuItem("Beginner");
                        beginner.addActionListener(new Menubarlistener());
                        file.add(beginner);
                        JMenuItem advanced = new JMenuItem("Advanced");
                        advanced.addActionListener(new Menubarlistener());
                        file.add(advanced);
                        JMenuItem expert = new JMenuItem("Expert");
                        expert.addActionListener(new Menubarlistener());
                        file.add(expert);
                        JMenuItem ultra = new JMenuItem("Ultra");
                        ultra.addActionListener(new Menubarlistener());
                        file.add(ultra);
              setJMenuBar(menubar);
              switch (difficulty){
                   case DIFFICULTY_BEGINNER:
                        buttons = new JButton[9][9];
                        for (int x = 0; x < 9; x++){
                             for (int y = 0; y < 9; y++){
                                  buttons[x][y] = new JButton("");
                                  buttons[x][y].setPreferredSize(buttonSize);
                                  panel.setLayout(new GridLayout(9, 9, 1, 1));
                                  panel.add(buttons[x][y]);
                        break;
                   case DIFFICULTY_ADVANCED:
                        buttons = new JButton[16][16];
                        for (int x = 0; x < 16; x++){
                             for (int y = 0; y < 16; y++){
                                  buttons[x][y] = new JButton("");
                                  buttons[x][y].setPreferredSize(buttonSize);
                                  panel.setLayout(new GridLayout(16, 16, 1, 1));
                                  panel.add(buttons[x][y]);
                        break;
                   case DIFFICULTY_EXPERT:
                        buttons = new JButton[30][16];
                        for (int x = 0; x < 30; x++){
                             for (int y = 0; y < 16; y++){
                                  buttons[x][y] = new JButton("");
                                  buttons[x][y].setPreferredSize(buttonSize);
                                  panel.setLayout(new GridLayout(16, 30, 1, 1));
                                  panel.add(buttons[x][y]);
                        break;
                   case DIFFICULTY_ULTRA:
                        buttons = new JButton[35][20];
                        for (int x = 0; x < 35; x++){
                             for (int y = 0; y < 20; y++){
                                  buttons[x][y] = new JButton("");
                                  buttons[x][y].setPreferredSize(buttonSize);
                                  panel.setLayout(new GridLayout(20, 35, 1, 1));
                                  panel.add(buttons[x][y]);
                        break;
              getContentPane().add(panel);
         public static void main(String args[]){
              test Test = new test("Test!");
              Test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Test.pack();
              Test.setResizable(false);
              Test.setLocation(200, 150);
              Test.setVisible(true);
         public class Menubarlistener implements ActionListener{
              public void actionPerformed(ActionEvent e){
                   String title = e.getActionCommand();
                   if (title.equals("Beginner")){
                        System.out.println("Beginner");
                        difficulty = DIFFICULTY_BEGINNER;
                   else if (title.equals("Advanced")){
                        System.out.println("Advanced");
                        difficulty = DIFFICULTY_ADVANCED;
                   else if (title.equals("Expert")){
                        System.out.println("Expert");
                        difficulty = DIFFICULTY_EXPERT;
                   else if (title.equals("Ultra")){
                        System.out.println("Ultra");
                        difficulty = DIFFICULTY_ULTRA;
    }

    I rewrote the test-file (first example at the top of the thread). Now there are no static variables, panel is final, and Difficulty is an inner class. But how can I put pack() into setDifficulty() now. I tried several things, but the error is the same as before. here is my code
    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class test extends JFrame {
    JButton[][] buttons;
    final Dimension buttonSize = new Dimension(16, 16);
    final JPanel panel = new JPanel();
    final Difficulty DIFFICULTY_BEGINNER = new Difficulty ("Beginner", 9, 9);
    final Difficulty DIFFICULTY_ADVANCED = new Difficulty ("Advanced", 16, 16);
    final Difficulty DIFFICULTY_EXPERT = new Difficulty ("Expert", 30, 16);
    final Difficulty DIFFICULTY_ULTRA = new Difficulty ("Ultra", 35, 20);
    Difficulty difficulty;     
    public void setDifficulty(Difficulty difficulty){
         if (this.difficulty != difficulty){
              panel.removeAll();
              buttons = new JButton[difficulty.width][difficulty.height];
              for (int x = 0; x < difficulty.width; x++){
                   for (int y = 0; y < difficulty.height; y++){
                        buttons[x][y] = new JButton("");
                        buttons[x][y].setPreferredSize(buttonSize);
                        panel.add(buttons[x][y]);
         panel.setLayout(new GridLayout(difficulty.height, difficulty.width));
         public test(String title){
              super(title);
              setDifficulty(DIFFICULTY_EXPERT);
              JMenuBar menubar = new JMenuBar();
                   JMenu file = new JMenu("File");
                   menubar.add(file);
                        JMenuItem beginner = new JMenuItem(DIFFICULTY_BEGINNER);
                        file.add(beginner);
                        JMenuItem advanced = new JMenuItem(DIFFICULTY_ADVANCED);
                        file.add(advanced);
                        JMenuItem expert = new JMenuItem(DIFFICULTY_EXPERT);
                        file.add(expert);
                        JMenuItem ultra = new JMenuItem(DIFFICULTY_ULTRA);
                        file.add(ultra);
              setJMenuBar(menubar);
              getContentPane().add(panel);
         public static void main(String args[]){
              test Test = new test("Test!");
              Test.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Test.setResizable(false);
              Test.pack();
              Test.setLocation(200, 150);
              Test.setVisible(true);
         public class Difficulty extends AbstractAction{
         final int width;
         final int height;
              public Difficulty(String label, int width, int height){
              super(label);
              this.width = width;
              this.height = height;
              public void actionPerformed(ActionEvent e){
                   setDifficulty(this);
    }

  • Change window size when clicking link?

    I recently converted a WinHelp project in RH5 that used
    secondary windows and I'm trying to stick with one window in
    HTMLHelp (and still learning a bit).
    In some parts of our app, pressing F1 opens a small window
    (not a popup) with a short description of a feature. There's a link
    at the bottom of the topic that will open a longer overview
    description. When clicking the link, I'd like to use the same
    window, but resize (make it wider) it to accomodate the bigger
    topic. In other words, I want the window to be narrow initially (so
    I don't cover the app) but change size when the link is clicked, so
    I can show the longer text without scrolling multiple pages.
    Do you folks do anything like this?
    Thanks in advance for any help,
    - Tom

    Tom -
    You could always use the ResizeTo function in your larger
    topic, something like this:
    <body onLoad="window.resizeTo(400, 500);">
    Or, something like that....

Maybe you are looking for

  • Failed creation of deployable proxy upon wsdl containing "soapenc" types

    Hello all, I've tried to create deployable proxy upon wsdl file Creation process has failed and following exception was logged: com.sap.engine.services.webservices.jaxrpc.exceptions.ProxyGeneratorException: Proxy Generator Error. Proxy generation pro

  • AE CC 13.0.2 on Mac OSX 10.9.5 - file collecting feature does not work anymore

    hi, I am experiencing issues with the file collecting feature out of AE CC 13.0.2 on Mac OSX 10.9.5. I have the same kind of problems on my MacBook Pro Retina 15'' (2014) with 1TB SSD and 16 GB Ram and on my iMac (mid 2011 3,4 GHz Intel Core i7 16 GB

  • DL2100 Accessing files over wifi on Windows 8.1

    How's it going folks, just got my small company a DL2100 for all our file sharing needs as well for accessing our stuff over the net and the my cloud features are working fine as advertised~  We have a couple of computers running and accessing the DL

  • [Solved]Controlling systemd's 'emergency-behaviour'

    So after boot-cycling some systems only to return to the 'emergency-console' because something went wrong during boot, I'm wondering if there is any way to control 'when' exactly the system(d) decides it can no longer continue booting. More specifica

  • CSV file download takes long time

    Hi all, i have an interactive report and there is Download link to file in different formats. My query is long running query it took almost 3 mins to execute and show in the region . When i want to download the report in CSV format it also took the s