Making components visible

Hi there,
Heres my problem.I ask the user how many textboxes the require.If they say ten then I create 10 textboxes ,add theese to a panel and then add the panel to the main frame.This works but the panel is not visible until the main frame is resized.How can I get the panel and its components to appear.I have tried setvisible(),repaint() and all them.Has anyone any ideas?
Thankyou
Peter

Have you tried validate() on the main frame?

Similar Messages

  • Obtaining true size of a JFrame prior to making it visible

    Is there a way to accomplish the following without making the frame visible first?
    frame.setVisible(true);
    Rectangle frameSize = frame.getBounds();
    frame.setVisible(false);
    The problem is that if I don't make the frame visible, then I get a height and width of 0 in frameSize.
    Thanks in advance.

    its very simple. you can specify the frame size by setSize() method or
    directly you can call pack() method after adding all components. so after calling
    pack() method you can get the frames width and height by getWidth() and getHeight() methods. these methods apply to all components and u can call
    this method before calling setVisible(true).
    i think this will solve ur problem.

  • Help with making JLabel visible for a few seconds only

    Hello guys,
    I need help with making a JLabel object visible for a few seconds only and disappear when a JButton has been clicked.
    Here is piece of code where I add mouse listener to the JButton object in my case is (jrbFigure1) and
    when is called sets icon and text to the JLabel jlbl object:
    jrbFigure1.addMouseListener(new MouseAdapter() {
    jrbFigure1.addMouseListener(new MouseAdapter() {
    public void mouseClicked(MouseEvent e) {
    jlbl.setIcon(cross);
    jlbl.setText(wrong);
    This piece of code is in a switch statement, the statement is in a method.
    The JLabel jlbl object is added in a panel in the constructor of the class.
    I really hope someone could help me on this issue.
    I would like to thank you in advance for any help or advice given.

    Bobson wrote:
    Sorry for posting my issue twice, I thought, I posted it in a wrong forum:)It's OK. We'll ask the mods to delete the other thread.
    I want the label to appear for X seconds when then button is pressed and disappear after that.Then a Swing Timer is what you want to use.
    I need to do this in a number of cases from a switch statement because I several buttons.Better to have several ActionListeners, one for each button or each type of button, rather than one ActionListener with a large switch statement, a so-called switch-board listener. They're messy to debug and upgrade.
    I tried to use Swing Timer, but I cannot set it properly.Go through the Sun Swing tutorial on Swing Timers. It's all outlined for you there: [http://java.sun.com/docs/books/tutorial/uiswing/misc/timer.html]

  • Developing new Swing Components - Visibility problems with UI classes

    I was wondering if anyone out there had run into the following problems when developing new Swing components. If so it might be worth banding together and putting pressure on Sun to fix them. However, if no one else develops new Swing components then I guess I'm just a lone voice...
    I have been writing a new dockable toolpanel Swing component and when it came to implementing the UI manager I was unable to access many of the standard features in basic and metal LAFs because they had been made package protected. This forced me to reimplement quite a bit of existing code which took time as well as being bad practice.
    While in some cases I can understand this from a security POV I am pretty sure that in this case it is the result of lazy programming practice. Appart from basic architectural reasons for this I have noticed a trend where newer code seems to suffer from this more than the original code. The practice of using package protection reminds me of C++ style coding, or just that of an inexperienced developer who does not understand the need to code for extensibility.
    An additional problem arises because the Security manager stops you cheating the system by putting new classes into the javax.swing.plaf... package structure. Thus the only way to solve this nicely is a proper fix.
    This would entail going through all the UI PLAF classes and rationalizing the visibility to either public or protected as appropriate. Really there should be minimal use of package protection unless it is vital for security concerns.
    Some Examples (there are many more):
    javax.swing.plaf.basic.LazyActionMap
    javax.swing.plaf.basic.BasicBorders.RolloverMarginBorder
    javax.swing.plaf.basic.BasicBorders.SplitPaneDividerBorder (why are just these two classes package protected when all the others are public?)
    javax.swing.plaf.metal.MetalUtils
    javax.swing.plaf.metal.MetalBumps
    Anyway, I am happy to give advice to other poor saps who wind up fighting the UI manager but it would be better if we could get Sun to sort out this mess (after all they created it).
    Cheers, Lewis

    It may be more a case of creating new Swing components and trying to provide support for all the standard LnFs.
    This is very awkward although you can sometimes achieve what you want by borrowing resources from UIManager (a border here, an icon there etc.).
    Essentially the problem is that Swing is designed to have new components added to it but the standard LnFs aren't quite so accommodating!

  • Components visibility depending on permission

    Hi all,
    WebCenter Spaces (and Composer in custom apps as well)
    currently using WebCenter 11gPS1
    What I want to achieve: components that are added to a Space/page at run time are visible only for users/Space members with a certain role/permission.
    I am thinking about setting the Component visibility using an EL Expression. I am looking for the EL expression to use that refers to permissions of the current user. I have found #{securityContext.userName} . Now I try to find some expression that allows me to test whether a user has a permission (something like #{securityContext.hasPermission['some permission']}).
    Does anyone know how I can use EL to test for the current user's permission(s)?
    Or alternatively: does anyone know another way to define access to components - such as images, rich text blocks and custom task flows or portlets - based on permissions?
    thanks.
    Lucas

    In order to make use of WebCenter Spaces classes such as Space, SpaceContext and WCSecurityManager, I had to add the WebCenter Spaces Client library to project. To ensure the compilation from the Ant script succeeds, I also have to add the required Jar files to the internal-targets.xml file (or at least that was a way to get it work):
    <path id="library.WebCenter.Spaces.Client">
          <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/webcenter-core-api.jar"/>
          <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/spaces-api.jar"/>
          <pathelement location="${jdeveloper.install.home.directory}/jdeveloper/webcenter/modules/oracle.webcenter.framework_11.1.1/spaces-webservice-client.jar"/>
       </path>
      <path id="classpath">
         <path refid="library.ADF.Common.Runtime"/>
         <path refid="library.WebCenter.Spaces.Client"/>
       </path>Note: my colleague Aino Andriessen takes all the credits here.
    This allowed us to deploy and run a bean with code like this:
        public String getText() {
            String text = "start:";
            Space space = SpacesContext.getCurrentInstance().getCurrentSpace();
            WCSecurityManager secMgr;
            text = text + "members";
            try {
                secMgr = space.getSecurityManager();
                List<MemberInfo> m = secMgr.getMemberInfo();
                for (MemberInfo minf : m) {
                    text = text + ";" + minf.getName();
                    text = text + "roles:";
                    List<oracle.webcenter.webcenterapp.security.RoleInfo> roles =
                        minf.getRoles();
                    for (RoleInfo rinf : roles) {
                        text = text + "-" + rinf.getName() + "|" + rinf.getPolicyRoleName() + "/";
            } catch (SpacesException e) {
            } catch (WCSecurityException e) {
            return text;
        }

  • JDialog size and components visibility

    hi
    I have a JDialog in which i have a panel and in the panel i have the components arranged as
    Label1 Label2
    Label3 TextBox1
    Label4 TextBox2
    Button1 Button2
    I have used GridBagLayout for the panel as well as for the Dialog.The following is the code i have used to create the JDialog,panel and its components
    JDialog inputdialog=new JDialog(this,true);
    inputdialog.setTitle("Modify");
    GridBagLayout layout=new GridBagLayout();
    JPanel panel=new JPanel();
    panel.setLayout(layout);
    GridBagConstraints gbc = new GridBagConstraints();
    JLabel key=new JLabel("Key");
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.CENTER;
    layout.setConstraints(key,gbc);
    panel.add(key);
    JLabel keylabel=new JLabel();
    keylabel.setText("SIMPLE");
    gbc.gridx=1;
    gbc.gridy=0;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.NORTHWEST;
    // gbc.insets=new Insets(0,0,0,200);
    layout.setConstraints(keylabel,gbc);
    panel.add(keylabel);
    JLabel value=new JLabel("Value");
    gbc.gridx=0;
    gbc.gridy=1;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.CENTER;
    layout.setConstraints(value,gbc);
    panel.add(value);
    JTextField valueTextField=new JTextField();
    gbc.gridx=1;
    gbc.gridy=1;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.NORTHWEST;
    gbc.ipadx=100;
    layout.setConstraints(valueTextField,gbc);
    panel.add(valueTextField);
    JLabel comment=new JLabel("Comment");
    gbc.gridx=0;
    gbc.gridy=2;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.anchor=gbc.CENTER;
    gbc.insets=new Insets(0,125,0,3);
    layout.setConstraints(comment,gbc);
    panel.add(comment);
    JTextField commentTextField=new JTextField();
    gbc.gridx=1;
    gbc.gridy=2;
    gbc.gridwidth=3;
    gbc.gridheight=1;
    gbc.ipadx=300;
    gbc.insets=new Insets(0,0,0,70);
    gbc.anchor=gbc.NORTHWEST;
    layout.setConstraints(commentTextField,gbc);
    panel.add(commentTextField);
    JButton ok=new JButton("OK");
    gbc.gridx=1;
    gbc.gridy=3;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.ipadx=30;
    gbc.ipady=10;
    layout.setConstraints(ok,gbc);
    panel.add(ok);
    JButton cancel=new JButton("Cancel");
    gbc.gridx=2;
    gbc.gridy=3;
    gbc.gridwidth=1;
    gbc.gridheight=1;
    gbc.ipadx=30;
    gbc.ipady=10;
    gbc.insets=new Insets(0,0, 0,150 );
    layout.setConstraints(cancel, gbc);
    panel.add(cancel);
    inputdialog.setLayout(layout);
    gbc.gridx=0;
    gbc.gridy=0;
    gbc.ipadx=0;
    gbc.ipady=0;
    gbc.anchor=gbc.FIRST_LINE_START;
    gbc.insets=new Insets(80,0,900,1000);
    layout.setConstraints(panel,gbc);
    inputdialog.getContentPane().add(panel);
    inputdialog.setSize(400,200);
    inputdialog.setVisible(true);
    My question is i have set the Dialog size using setSize(400,200) but when the dialog is opened the components are not visible for that size of the dialog,the components appear only when the Dialog is maximized,i do not want that to happen i want the components to appear in the Dialog when the size of the Dialog is (400,200) and not when it is maximized.What should i do?
    thanks

    Hopefully this example would give you some ideas:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class DialogTest extends JFrame implements ActionListener {
         public DialogTest() {
              setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              JButton button = new JButton("Show Dialog");
              button.addActionListener(this);
              getContentPane().add(button);
              pack();
              setLocationRelativeTo(null);
              setVisible(true);
         public void actionPerformed(ActionEvent e) {
              JDialog dialog = new JDialog(this, true);
              dialog.setTitle("Testing");
              JPanel panel = new JPanel(new GridBagLayout());
              GridBagConstraints c = new GridBagConstraints();
              JLabel label;
              JButton button;
              JTextField textField;
              label = new JLabel("Key");
              c.gridx = 0;
              c.gridy = 0;
              c.insets = new Insets(5, 10, 5, 10);
              c.anchor = GridBagConstraints.CENTER;
              c.fill = GridBagConstraints.HORIZONTAL;
              panel.add(label, c);
              label = new JLabel("SIMPLE");
              c.gridx = 1;
              c.gridy = 0;
              panel.add(label, c);
              label = new JLabel("Value");
              c.gridx = 0;
              c.gridy = 1;
              panel.add(label, c);
              label = new JLabel("Comments");
              c.gridx = 0;
              c.gridy = 2;
              panel.add(label, c);
              textField = new JTextField(10);
              c.gridx = 1;
              c.gridy = 1;
              c.gridwidth = 2;
              c.insets = new Insets(5, 10, 5, 120);
              panel.add(textField, c);
              textField = new JTextField(20);
              c.gridx = 1;
              c.gridy = 2;
              c.insets = new Insets(5, 10, 5, 10);
              panel.add(textField, c);
              button = new JButton("OK");
              c.gridx = 1;
              c.gridy = 3;
              c.ipadx = 50;
              c.gridwidth = 1;
              panel.add(button, c);
              button = new JButton("Cancel");
              c.gridx = 2;
              c.gridy = 3;
              c.insets = new Insets(5, 5, 5, 50);
              panel.add(button, c);
              dialog.getContentPane().add(panel);
              dialog.pack();
              dialog.setVisible(true);
         public static void main(String[] args) { new DialogTest(); }
    }

  • CMOD Transaction - no project components visible

    Hi!
    I have created a project in CMOD, some enhancements are assigned as well and project is activated, but when I press on Components - nothing happens...
    As well when I try to assign enhancement LVEDF001 to project, it sais that this enhancment is assigned already, but not visible in the list of enhancements.
    Any ideas?
    Will reward,
    Mindaugas

    Hi,
    The system will tell you that enhancement LVEDF001 was belong to which project(existing) when you try to assign to your new project (CMOD)
    Regards,
    Ferry Lianto

  • Problem making buttons visible

    Hi there, I have a poker game that all worked fine until I was told to restructure it in a MVC style. I never had this problem before I changed it but I'm having issues with making my buttons visible when it's the players turn. At first I setVisible to false which works fine, then I call my method to display them from my model and they display fine, so seemings as all is good to here I think it's the next bit that's causing my issue, I have actionListeners attached that when fired setsVisible on all the buttons to false again (which works) but the next time I call my method to make certain buttons visible they don't appear. I've tested that the method is being called with the correct parameter passed and it is. Now I must apologise because my knowledge of swing is very poor but I have searched and read alot and tried several approaches with no joy, I will definitly be studying up more on it in the future but time is against me at the mo. The only thing that seems to half work is if I use this.paint(g) the buttons display as I want them but my program crashes cos to be honest I don't know what g should be. Is this the right approach or is there a more simple way I can update my GUI to display my buttons?

    Works for me but you could try to add a revalidate(); repaint(); on the buttons parent.
    import java.awt.BorderLayout;
    import java.awt.EventQueue;
    import java.awt.event.ActionEvent;
    import javax.swing.AbstractAction;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    public class TestVisible {
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    final JButton button = new JButton("I do nothing");
                    final JFrame frame = new JFrame("Test");
                    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                    frame.getContentPane().add(button);
                    frame.getContentPane().add(new JButton(new AbstractAction("Toggle") {
                        @Override
                        public void actionPerformed(ActionEvent e) {
                            button.setVisible(!button.isVisible());
    //                        frame.getRootPane().revalidate();
    //                        frame.getRootPane().repaint();
                    }), BorderLayout.PAGE_START);
                    frame.pack();
                    frame.setLocationRelativeTo(null);
                    frame.setVisible(true);
    }

  • Acrobat Pro: Making timecode visible in embedded sound files?

    Hello.  I teach music history courses.  For copyright purposes (i.e., to prevent music theft), I am embedding sound files in PDFs for student use.  Some of my commentaries have timing cues (e.g., Horns enter at 3'38"), but I've not found a way to make the timecode visible to the students.
    Time codes are, of course, a standard feature on most music players (iTunes, Quicktime, WMP, etc.), as well as on many Flash players.  It seems reasonable that the media player in Acrobat should have a similar feature, even if disabled by default.  But if it does, I have been unable to locate or enable it.  Does such a feature exist on Acrobat?
    If not, does anyone have a recommendation for a possible alternative?  Thanks.

    You do know that as of Acrobat 9.0 you are able to include Flash Movies in PDFs. Now as to how that works I couldn't tell you as I haven't used Flash much even though I have it as part of Studio 8.

  • BPM 11g - Making comments visible to all interactive activities in process

    Does anyone know of a way to make comments from one interactive activity visible in a subsequent interactive activity within the same process?
    We need this visibility since there are multiple human tasks in the process and the comments are relevant to the instance as a whole as it travels through the process.
    I've attempted to create a process data object of type "TaskExecutionData" and use that to map the comments in and out of the data associations for the interactive activities, but ran into bpel faults. The first attempt just used simple data association mappings for the execData.userComment collection (array) - but that results in assignment errors at runtime if there are no comments present. Having seen these errors before and having resolved them using a XSL transformation, I tried that route as well to map the userComment collection using a for-each construct - however that attempt resulted in a different bpel fault at runtime referring to duplicate definitions of the same type or something to that effect.
    Any ideas?

    Yes, but this is in version 11g, not 10g or 6. The human tasks use the ADF task flows, as is standard practice in 11g.
    I've attempted mapping the userComment array from the task's execData to process variables, but that effort resulted in bpel faults at runtime.
    I managed a roundabout way (i.e. a hack) to get the comments into the new task from the previous one using the human workflow services API in a managed bean of the task flow, but I'm having difficulty getting the comment iterator of the data control to update and pull in the comments.

  • Making Hyperlinks Visible On a PDF Printout

    G'Day,
    I am wondering if it is possible to make the hyperlinks in my PDF document (these are internal relative hyperlinks) visible -- so that when you print the document you can see the hyperlink (blue underlined part) in the document?  At the moment, I print my document...and none of the underline parts (hyperlinks) are visible on the printout.  I have researched this but can't seem to find any info.  Also, is there a way to check my PDF document to see what dpi it has?  The forums all say that this is not possible, but surely there is a way to view it or at least set your pdf to a particular dpi.  I would appreciate any insight.
    Nick
    Brisbane, QLD

    To check image resolution and lots more info use Acrobat Pro preflight feature.
    There's a few options in Acrobat to deal with your hyperlink question, you can use a text tool to change the colou of the text or indeed add an underline.
    It may be that the hyperlinks in your PDF are being automatically recognized as such by acrobat/reader.
    (to check go to edit>preferences>general, create links from URLs)
    in that case whenprinting the doc, the links don't have actual print info to print.
    Or the link is an actual link but has been set to an invisble border to be used, you could change the properties of the link using the link too, to hnage the border to an underline for example.
    If unsure, share a sample pdf somewhere, so we can have a look.

  • Always render after making video visible/hidden?

    I hope someone can help me, I've spent more time rendering than actually working on this project.
    I'm cutting together a music video that has 3 takes. The video is layered one track on top of the other, with the only audio being the guide track. Since I can only view one video track at a time, I have to make them visible on and off. However, every time I do, it needs me to render the entire video again. Which has naturally, become rather time consuming.
    I've done a lot of videos, and this hasn't happened before. Solutions?
    Thanks a lot!

    You are not using the application correctly. If you cannot use the multicam function, the standard way to do what you're doing is to resize the images so you can see all the clips on multiple tracks simultaneously. To work like this you probably should switch to Unlimited RT.
    I would suggest that though you've ben using the application for years you need to speed a little time learning it.

  • Making a visible top layer invisible for buttons/ controls on a layer underneath it.

    THE PROJECT
    I have 3 layers in a CS3 project, in the following order:
    - top Layer (semi-transparent Vignet Layer, and some additional Graphics, all this is contained in a dynamicly loaded mc)
    - Middle layer (Content, this contains the navigation and content. All of this loads dynamicly)
    - Background (this contains a screenfilling Background image and some graphic alements, all this is contained in a dynamicly loaded mc)
    THE PROBLEM
    The top layer blocks all off the dynamic content because its on top of it.
    SOLUTION
    Dynamicly disable the top layer, so flash doent use it anymore.
    I want to keep it visible, but not accessible for any mouse actions.
    It has to keep the dynamic content underneath it visible for interaction.
    I hope I Described it clear enough, so someone can give me the solution.
    I gues it's some real simple code attachment.
    Thanks.

    I made a quick exaample to demo having a layer of something atop a controls layer and disabling it from interfering with controls below it.  For this example, the lightened rectangular area is the Vignet layer that sits atop a button on a layer below it--I threw in a background layer too, just to cofuse the eyeballs I guess..  When you click the button it enables the Vignet layer so that it blocks the button, and clicking on it disables it again... just a liuttle variety of commands that might be useful for you at some point.
    If you can let me/us know whow you file differs, then maybe it will be easier to identify a different solution if one is needed.
    http://www.nedwebs.com/Flash/Vignet.fla

  • Making Sprites visible on seperate frames

    Hi. Im trying to get my head around this and it is doing my
    head in.
    For example, while in frame 1 I want to be able to click a
    button which will then make a sprite visible in frame 10, which is
    a different page, i.e the sprite is only in frame 10 and the button
    is only in frame 1.
    If they were on the same page I could use...
    on mouseup me
    sprite("1").visible=true
    end
    but because they are on different frames to one another it
    tells me there is a property error with "visible". I need to make
    the function global some how but not sure how to do this.
    PLEASE HELP
    Lee

    Set a global variable in your mouseUp handler then use that
    variable's state
    to set the visible of the sprite in frame 10 in its
    beginSprite handler
    -- put this in a movie script
    global gSetVis
    on StartMovie
    gSetVis = FALSE
    end
    -- integrate this into the script/behavior for the button
    global gSetVis
    on mouseUp me
    gSetVis = FALSE
    end
    --Then in frame 10 on the sprite that needs to be made
    visible
    global gSetVis
    on beginSprite me
    sprite (me.spriteNum).visible = gSetVis
    end
    Craig Wollman
    Word of Mouth Productions
    phone 212 928 9581
    fax 212 928 9582
    159-00 Riverside Drive West #5H-70
    NY, NY 10032
    www.wordofmouthpros.com
    "Leegee3" <[email protected]> wrote in
    message
    news:eidcn4$be8$[email protected]..
    > Hi. Im trying to get my head around this and it is doing
    my head in.
    >
    > For example, while in frame 1 I want to be able to click
    a button which
    > will
    > then make a sprite visible in frame 10, which is a
    different page, i.e the
    > sprite is only in frame 10 and the button is only in
    frame 1.
    >
    > If they were on the same page I could use...
    >
    > on mouseup me
    > sprite("1").visible=true
    > end
    >
    > but because they are on different frames to one another
    it tells me there
    > is a
    > property error with "visible". I need to make the
    function global some
    > how but
    > not sure how to do this.
    >
    >
    > PLEASE HELP
    >
    >
    > Lee
    >

  • Out of stage components visible 

    Hello,
    A very newbie question. Here is what I did:
    1. Opened a new blank Flash File (AS3) with the default stage
    size (550, 400)
    2. In the first frame I drew a rectangle and converted it
    into a movie clip (RectMC).
    3. I moved RectMC out of the stage.
    I published the file, and uploaded it to a webserver. Instead
    of viewing the .html page, I viewed the .swf file and I could see
    my RectMC which was placed outside the stage, which I did not
    expect to see.
    How can I display only the objects placed in the stage and
    hide all out-of-stage components? Do I have to tweak the publish
    settings?
    Thanks.
    .Bala.

    You're not supposed to be viewing the SWF file directly. For
    web browsers you need the SWF to be loaded inside of an HTML
    container.
    What you have to do here is use Publish in the file menu.
    This will create an HTML and a SWF file, assuming you're using the
    default settings. That HTML will have the proper embed code for a
    550 x 400 SWF, and should show the stage itself when it loads the
    SWF.

Maybe you are looking for

  • Aperture Plug-In's

    Hi, I have been using Aperture 3 for almost a year now, still learning but enjoying it very much. I would like to either purchase some Plug-In Software or download it.  Something to have some fun with, with some of the photos. I don't need profession

  • Type in "Advanced Search" and I don't get one result with advanced in it.

    I want to find results with all my criteria in it, not just one or two of the criteria. What is going on here?

  • Dos games

    Is there a way to play old DOS games such as the original Sid Meier's Colonization for DOS on my iMac? I'm wanting to buy the original one (used to play it on my dad's old NEC PC all the time and prefer the DOS version over the Windows version, sligh

  • Audio driver

    i am having COMPAQ V5000 model and i have install windows 7 in it. but audio is not working. please help to sort out this driver problem. thank you

  • How to stop Lightroom from auto-adjusting RAW files

    Is there a way to stop Lightroom from automatically "fixing" my RAW files? When I first load them in they look perfect (like they do on the back of my camera), but then LR auto-adjusts them to make them dull and desaturated and not at all contrasty.