JTabbedPane focus question with buttons

Hi. I have a JTabbedPane with an OK button on each pane. clicking the OK button will remove that pane from the JTabbedPane. But if I don't move the mouse, and click the OK button to remove the next pane, I have to click TWICE, OR move the mouse just a little bit before clicking, then it will go away. Here's the code. How can I make this work so one click will do it? Thanks...
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class TabbedFocusTest extends JPanel implements ActionListener {
private JTabbedPane tabbedPane;
private JPanel panel1;
private JPanel panel2;
private JPanel panel3;
private JPanel panel4;
public TabbedFocusTest() {
ImageIcon icon = new ImageIcon("images/middle.gif");
tabbedPane = new JTabbedPane();
     panel1 = new JPanel();
Component text1 = makeTextPanel("Blah");
     JButton button1 = new JButton("OK");
     button1.setActionCommand("1");
     panel1.setLayout(new BorderLayout());
     panel1.add(text1, BorderLayout.NORTH);
     panel1.add(button1, BorderLayout.SOUTH);
tabbedPane.addTab("One", icon, panel1, "Does nothing");
tabbedPane.setSelectedIndex(0);
     panel2 = new JPanel();
Component text2 = makeTextPanel("Blah 2");
     JButton button2 = new JButton("OK");
     button2.setActionCommand("2");
     panel2.setLayout(new BorderLayout());
     panel2.add(text2, BorderLayout.NORTH);
     panel2.add(button2, BorderLayout.SOUTH);
tabbedPane.addTab("Two", icon, panel2, "Does twice as much nothing");
     panel3 = new JPanel();
Component text3 = makeTextPanel("Blah 3");
     JButton button3 = new JButton("OK");
     button3.setActionCommand("3");
     panel3.setLayout(new BorderLayout());
     panel3.add(text3, BorderLayout.NORTH);
     panel3.add(button3, BorderLayout.SOUTH);
tabbedPane.addTab("Three", icon, panel3, "nothing 3");
     panel4 = new JPanel();
Component text4 = makeTextPanel("Blah 4");
     JButton button4 = new JButton("OK");
     button4.setActionCommand("4");
     panel4.setLayout(new BorderLayout());
     panel4.add(text4, BorderLayout.NORTH);
     panel4.add(button4, BorderLayout.SOUTH);
tabbedPane.addTab("Four", icon, panel4, "Nothing 4");
     button1.addActionListener(this);
     button2.addActionListener(this);
     button3.addActionListener(this);
     button4.addActionListener(this);
//Add the tabbed pane to this panel.
setLayout(new GridLayout(1, 1));
add(tabbedPane);
protected Component makeTextPanel(String text) {
JPanel panel = new JPanel(false);
JLabel filler = new JLabel(text);
filler.setHorizontalAlignment(JLabel.CENTER);
panel.setLayout(new GridLayout(1, 1));
panel.add(filler);
return panel;
public void actionPerformed(ActionEvent e) {
     System.out.println(e.getActionCommand());
     if (e.getActionCommand().equals("1"))
     tabbedPane.remove(panel1);
     if (e.getActionCommand().equals("2"))
     tabbedPane.remove(panel2);
     if (e.getActionCommand().equals("3"))
     tabbedPane.remove(panel3);
     if (e.getActionCommand().equals("4"))
     tabbedPane.remove(panel4);
public static void main(String[] args) {
JFrame frame = new JFrame("TabbedFocusTest");
frame.addWindowListener(new WindowAdapter() {
public void windowClosing(WindowEvent e) {System.exit(0);}
frame.getContentPane().add(new TabbedFocusTest(),
BorderLayout.CENTER);
frame.setSize(400, 125);
frame.setVisible(true);

Thanks for the suggestion - I added this line at the end of actionPerformed() but it did not help:
tabbedPane.getSelectedComponent().requestFocus();

Similar Messages

  • Focus issue with CardLayout (Java 2 SDK, Standard Edition 1.4.0_01)

    I am having an issue with focus and CardLayout with Java 2 SDK, Standard Edition 1.4.0_01. I have created a small sample application to illustrate my problem. In general, I am trying to create a "Wizard" that the user will enter information and then press a "Next" button to proceed to the next step.
    When the first card is displayed, the focus is on the first text field as expected.
    When I go to the next card by clicking "Next", the focus is not on the text field that has requested it (through the requestFocusInWindow method). The focus is on the "Cancel" button, which is the next component to receive focus after the "Next" button on that panel. I do notice that if I use my mouse to bring focus to the window the text field will gain focus.
    Similarly, when I proceed to the last card, the focus is not on the "Finish" button until the mouse moves over the window.
    Is there something I am doing wrong or is there a bug with focus and CardLayout?
    One other problem I have noticed is that the buttons no longer respond to the "Enter" key press and instead respond to the space bar. Any suggestions as to why this is the case?
    Thanks,
    S.L.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class CardWindow extends JFrame implements ActionListener {
    public CardWindow() {       
    setTitle("Focus Problems with CardLayout");
    setDefaultCloseOperation(EXIT_ON_CLOSE);
    cards = new JPanel();
    cardLayout = new CardLayout();
    cards.setLayout(cardLayout);
    cards.add(createFirstNamePanel(), "FirstNamePanel");
    cards.add(createLastNamePanel(), "LastNamePanel");
    cards.add(createFullNamePanel(), "FullNamePanel");
    getContentPane().add(cards,BorderLayout.CENTER);
    getContentPane().add(createButtonPanel(), BorderLayout.SOUTH);
    resetButtonPanel();
    pack();
    private JPanel createFirstNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your first name:");
    txtFirstName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtFirstName);
    return panel;
    private JPanel createLastNamePanel() {
    JPanel panel = new JPanel();
    JLabel lblDescriptionProjectName = new JLabel("Please enter your last name:");
    txtLastName = new JTextField(20);
    panel.add(lblDescriptionProjectName);
    panel.add(txtLastName);
    return panel;
    private JPanel createFullNamePanel(){
    JPanel panel = new JPanel();
    lblFullName = new JLabel();
    resetTextOnFullNamePanel();
    panel.add(lblFullName);
    return panel;
    private JPanel createButtonPanel() {
    buttonPanel = new JPanel();
    btnPrevious = new JButton("< " + "Back");
    btnPrevious.setMnemonic('B');
    btnPrevious.addActionListener(this);
    btnNext = new JButton("Next" + " >");
    btnNext.setMnemonic('N');
    btnNext.addActionListener(this);
    btnCancel = new JButton("Cancel");
    btnCancel.setMnemonic('C');
    btnCancel.addActionListener(this);
    btnFinish = new JButton("Finish");
    btnFinish.setMnemonic('F');
    btnFinish.addActionListener(this);
    buttonPanel.add(btnPrevious);
    buttonPanel.add(btnNext);
    buttonPanel.add(btnCancel);
    buttonPanel.add(btnFinish);
    return buttonPanel;
    private void resetTextOnFullNamePanel(){
    lblFullName.setText("Your name is: " + getFirstName() + " " + getLastName());
    private void resetButtonPanel(){
    Component c[] = buttonPanel.getComponents();
    for(int i = 0; i < c.length; i++){
    c.setVisible(false);
    switch(iWizardStep){
    case FIRSTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case LASTNAMEPANEL:
    btnPrevious.setVisible(true);
    btnNext.setVisible(true);
    btnCancel.setVisible(true);
    break;
    case FULLNAMEPANEL:
    btnFinish.setVisible(true);
    break;
    buttonPanel.validate();
    public void actionPerformed(ActionEvent e) {
    Object object = e.getSource();
    if (object == btnNext) {           
    btnNextPressed();
    } else if (object == btnPrevious) {           
    btnPreviousPressed();
    } else if (object == btnFinish) {
    System.exit(0);
    } else if (object == btnCancel) {
    System.exit(0);
    private void btnNextPressed() {       
    switch (iWizardStep) {
    case FIRSTNAMEPANEL:
    setFirstName(txtFirstName.getText());
    break;
    case LASTNAMEPANEL:
    setLastName(txtLastName.getText());
    resetTextOnFullNamePanel();
    break;
    iWizardStep++;
    resetButtonPanel();
    this.cardLayout.next(this.cards);
    switch (iWizardStep) {             
    case LASTNAMEPANEL:
    txtLastName.requestFocusInWindow();
    break;
    case FULLNAMEPANEL:
    btnFinish.requestFocusInWindow();
    break;
    private void btnPreviousPressed() {
    iWizardStep--;
    resetButtonPanel();
    this.cardLayout.previous(this.cards);
    public void setFirstName(String value) {
    firstName = value;
    public String getFirstName() {
    return firstName;
    public void setLastName(String value) {
    lastName = value;
    public String getLastName() {
    return lastName;
    public static void main (String[] args) {
    CardWindow c = new CardWindow();
    c.show();
    private CardLayout cardLayout;
    private JPanel cards, buttonPanel;
    private JTextField txtLastName, txtFirstName;
    private JLabel lblFullName;
    private JButton btnNext, btnPrevious, btnCancel, btnFinish;
    private String firstName = "";
    private String lastName = "";
    private int iWizardStep = 0;
    private static final int FIRSTNAMEPANEL = 0;
    private static final int LASTNAMEPANEL = 1;
    private static final int FULLNAMEPANEL = 2;

    Manfred,
    Thanks for your reply. I tried requestFocus() and it gives the same results. Also Sun's 1.4.0 API (http://java.sun.com/j2se/1.4/docs/api/) mentions the following with respect to the requestFocus() method in the JComponent class:
    Because the focus behavior of this method is platform-dependent, developers are strongly encouraged to use requestFocusInWindow when possible.
    That is why I used requestFocusInWindow.
    S.L.

  • Interactive Prototype - How do you simulate light boxes with buttons? (CS4)

    I am in the process of mocking up an interactive prototype of the homepage of a web application.  On this homepage, there are various links(text with slices) and fields that when clicked on will trigger a dialog to appear over the top of the page similar to a "light box" effect seen on many other websites/applications.
    The workflow I am trying to simulate is as follows:
    User clicks the text link (state 1)
    Dialog appears on top of current page (state 2)
    User fills in necessary fields then clicks save button (state 2)
    Dialog disappears and returns user to base state (state 1)
    The base state of the page is in state 1.  I placed the images/content for the light box in state 2 and then added an onclick image swap behavior to have the link in state 1 trigger the light box (also a slice) to appear in state two.  That all worked fine until I added a save button symbol from the common library to the lightbox dialog in state 2.  When I did that, Fireworks automatically brought be back to state 1 and the button appears on both/all states no matter what I try to do.  Also, my attempts to add an onclick behavior to the save button to bring me back to state 1 haven't worked either.
    So my questions are:
    How do I get that button only to appear on state 2?
    The "hotspot" for that button or any slice/hotspot in any state appears active for all states but are only valid for when that certain dialog appears.  Is there a way to manipulate button/slice hotspots across states so they are only active in the correct states?
    How do I get the Save button to bring me back to the base state?
    Mocking up a lightbox type dialog seems like it would be a pretty common thing to do so I am hoping this is just a simple mistake I am making... any help would be greatly appreciated!
    Here are some images to help illustrate what I am trying to do: 
    Desired:
    Here is what Fireworks is doing:
    State 1 w/link behavior
    State 1 with button behavior (this appears on state 1 no matter where I add the button but I want it only to appear in state 2)
    State 2
    And here is the actual fireworks png proof of concept:

    Hi Linda,
    Thanks for the suggestion, however, that doesn't appear to be working.  I've uploaded the file that I am using as my proof of concept.  You can download it via the link below.  I changed the button so it's only a graphic with a slice over it but there are still two issues.  When the save button is clicked the state does not change back to state 1.  The second problem is that even in state 1, the active area for the save button slice in state 2 is still active even though the button is not there. Any thoughts?
    https://docs.google.com/leaf?id=0B0Fc5EuxtTzPMzY0NTA4ZGQtZjc1Yi00Njk3LThlOTUtYmFlZWQyNzQ5N GVj&sort=name&layout=list&num=50
    Thanks,
    Greg

  • Question Slide Buttons

    I have an assessment that I created that uses a combines
    question slides with interactive slides. I would like all of the
    slides to uniform. The question slides were automatically created
    with buttons to Back, Skip and Submit. These slides also added a
    review area and a text box with question 1 of 15. I would like to
    add these items to the interactive slides, but the program does not
    allow these items to be copied. Can these items be added to a slide
    not created as a question slide? If so, how is this done?

    Hi Carol
    Taking your questions one by one:
    -- You can change the standard quiz question buttons (Clear,
    Back, Next, and Submit) by double-clicking them and changing the
    button settings. This enables you, for example, to change them to
    Image buttons (as in Rick's demo).
    -- You can't remove the navigation (defined on the Options
    tab in the Question properties dialog) from the Success and Failure
    captions -- it is built in
    -- You can't add your own custom navigation buttons to quiz
    questions using buttons or click boxes -- these options are greyed
    out on question slides -- so you have to make use of the regular
    quiz question buttons
    -- The difference between the Skip (sometimes labelled Next)
    button and the Submit button is that it navigates directly to the
    next slide without submitting an answer to the current slide. When
    the button is labelled Next, users often click this button in error
    without realizing that they have failed to submit their selection
    as an answer.
    -- I'm afraid I have no experience of the blue asterisks
    resulting from the hot spot Quiz slides. I'd be interested in what
    others have to say about this issue.
    Best regards,
    -Matthew

  • Can Photoshop make a background with buttons for iDVD?

    Can I create a background in Photoshop (v. 7) and include buttons which work in iDVD6?
    I think so, from reading here and there, and that each button must be on a separare layer. Correct?
    Is there a tutorial or similar on how to do this?
    Thanks.

    SteveKir
    you may be able to purchase an apple original CD of
    DVD SP (used) like I did on ebay for pennies on the
    dollar. Works great for backgrounds and button
    creation! Doesn't have to be the latest version for
    it to work well. Good luck.
    SDMacuser
    I have never used ebay and am not comfortable letting them store my credit card details long-term (risk of hacking etc.) However, I am comfortable using the internet a lot for purchases from individual well-known companies I trust (including Amazon, most of which do not store my credit card details), compared to unknowns on ebay. Three questions please:
    1. What are people's experience of buying from "unknown" sellers on ebay? and
    2. A 1.1 version of DVD Studio Pro is available on ebay. Would that (very old) version allow me to use Photoshop to create DVD backgrounds with buttons designed within Photoshop as part of the Photoshop file? and
    3. Do you think that such an old version would work with QT 7? (Often Apple products do not like working with such "time-zone" differences.)
    Thanks for any help.
    G5/2.0 GHz Mac OS X (10.3.9) 1 GB RAM, 150 GB HD, Sony DCR-HC96 mini DV, FCE HD 3.0

  • How to SET Focus on 'CONFIRM' button on Account identification page, CIC role?

    Hello Expert,
    Business role is CIC Agent.
    Current Functionality-
    1. CIC Agent gets a call
    2. Search name of customer
    3. If correct customer name found, CIC agent manually CONFIRM the account by clicking on CONFIRM button.
    As per client requirement, AUTO_CONFIRM business partner is disabled from SPRO configuration.
    Expected functionality -
    1. CIC Agent get a call
    2. Search name of customer
    3. If correct customer name found, CIC agent manually press ENTER key to confirm the account.
    So to get this functionality on ENTRY key (not on mouse click), BSP page element focus should be on 'CONFIRM' button, the moment SAP CRM Web UI frame work loads searched account detail. so that CIC agent once check and verify valid account and then press ENTER key to confirm.
    Different Java script code already been tried on SingleObjectViewSet.htm and HiddenView.htm but couldn't achieve the Page focus on confirm button.
    Your expertise in resolving issue would be very helpful.
    Regards,
    Ghanshyam

    Hi,
    tabs have a "disclosed" property that you can set with a ExpressionLanguage reference to a managed bean method. If the managed bean is in session scope then whatever this method returns for a tab will define whether or not it is displayed
    Frank

  • Exporting fireworks with button

    This may be a stupid question with a simple answer but bear
    with me. I have used Fireworks for many years but have not created
    a button rollover for a while and everything is different. I have
    Fireworks 7.0 (PC)
    I created a symbol for the button using edit > insert >
    new button. Created an up and over state for it. Duplicated and
    edited the button to create a few more for a navigation bar. Then
    dragged them from the library and placed them in the document. In
    Properties I entered a URL for a link for each button and indicated
    the Alt text. OK so far so good. I have all my buttons in a nice
    little row and am very proud of my self.
    But now what!? How do I get this in Dreamweaver?
    I assume you export the page and I exported the page File
    > Export. Save as type: HTML and Images/ Slices: Export Slices,
    etc etc.
    But the HTML that is exported does not have button
    inteactivity (nor did it pick up the Link and Alt text I inidcated
    earlier.
    I can't find anything in the documentation that explains how
    to export a Fireworks file that includes buttons. How do you do it?
    Tom

    OK forget my question. Since I was starting with an already
    existing file I had two overlapping slice elements: the first I
    created when originally created the file without rollovers, the
    second when importing the buttons. I deleted the orginal slices,
    applied link to the button slice. It works now when exported.
    T

  • Exported To FLash 8 - MC question Radio Button Size?

    I have a quiz that uses MC and T or F questions - I am
    exporting it to flash to integrate it with some other content.
    I have everything working at this point, except I need to
    increase the font size of the question Radio buttons and everything
    i have tried so far hasn't worked. I am guessing it is somewhere in
    the captivate quiz class files but i havent been able to track it
    down.

    Thanks for the response.
    After i posted I kept digging and found where the code is
    that sets the font for the Radio buttons in the quizzes when you do
    an export to flash. What I found out is listed below in case anyone
    else ever needs the information- hopefully it will save someone
    else some time.
    The ".as" file is --
    C:\Documents and Settings\YOUR NAME HERE\Local
    Settings\Application Data\Macromedia\Flash
    8\en\Configuration\Classes\AdobeCaptivate\quiz\CpMultipleChoice.as
    Strating at line 106 there is the following code
    p._font.name = "Arial";
    p._font.size = 12;
    p._name = "" + numAnswers;
    I was then able to make the font size larger to match the
    other text on the screen (i do have to say it's rather annoying
    that those attributes don't get exported from the captivate file,
    because i set the font properties before exporting - but i guess
    there is probably a reason for that)

  • HT1911 I am not answering the security question with the answer APL wants.  What do I do?

    I am not answering the security question with the answers APL wants.  What do I need to do to get past the security questions to reset my password?

    Welcome to Apple Support Communities
    Hold Power and Home buttons for 10 seconds until your iPad restarts, and you will be able to use it again. After doing this, open Settings > iCloud > Storage & Backup, and make a manual backup

  • Need assistance with buttons pulling in different MC's

    Hi I would like to have a screen with multiple buttons and
    when the button is clicked different MC's will be imprted into the
    .fla file. For instance button 1 will import 1_MC, button 2, 2_MC,
    button 3, 3_MC etc.
    Can someone point me to a tutorial or give me a down and
    dirty example using AS3?

    You don't need to make the buttons as movieclips, but you
    could if you had a reason for it. Like if you wanted to load the
    images into the buttons themselves... then you'd need them to be
    movieclips. You can use the same code for the event listeners for
    movieclips as you would for buttons...
    myButton1.addEventListener(MouseEvent.CLICK, addMovie1);
    But you don't add this code to the buttons (like you used to
    be able to sort of do in AS2)... it sits in the actions layer you
    create in the timeline where most of your code goes. As long as
    your button in in the same timeline and has the same instance name
    assigned to it as the code (ex. myButton1 above), the code will
    play for the button.
    You can position instances using AS by setting their x and y
    coordinates, even before they appear. You can pretty much set any
    property before you add it to the stage....
    function addMovie1(e:MouseEvent):void
    var myMovie1:Movie1 = new Movie1();
    myMovie2.x = ...
    myMovie2.y =...
    myMovie1.name = ...
    myMovie1.alpha = ...
    etc...
    mcContainer1.addChild(myMovie1);
    I think I've handled all of your questions with the snippets
    I just provided, so give it a go. Tutorials are handy, but you're
    doing the right thing if you find yourself struggling to figure
    stuff out without them... it's a better learning process... it
    tends to burn in better and last longer from having to solve
    it.

  • Button.requestFocus(); does not give the focus to a button...

    I have a Frame with a message (textPane) and a button, for accept the message. I want the button to be focused when I open the frame, so this will allow the user to just press one key for accepting the message without use the mouse.
    How can I acomplish this???!!!
    Thanks on advance.

    I still cannot give the focus to the button when I open the JDialog.
    My code is this:
    public class VError extends JDialog
    GridBagLayout gridBagLayout1 = new GridBagLayout();
    JTextPane jTextPane1 = new JTextPane();
    JPanel jPanel1 = new JPanel();
    JButton jButton1 = new JButton();
    GridBagLayout gridBagLayout2 = new GridBagLayout();
    String message;
    ResourceBundle mes = ResourceBundle.getBundle("com.saincotrafico.optimus.client.resources.RError",Locale.getDefault());
    MutableAttributeSet mas;
    public VError(String message)
    this.setSize(250,150);
    this.setResizable(false);
    this.getContentPane().setBackground(UIManager.getColor("Panel.background"));
    this.setTitle(mes.getString("title"));
    this.message = message;
    try
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    private void jbInit() throws Exception
    mas=new SimpleAttributeSet();
    StyleConstants.setAlignment(mas,StyleConstants.ALIGN_CENTER);
    jTextPane1.setParagraphAttributes(mas,true);
    jTextPane1.setEditable(false);
    jTextPane1.setSelectedTextColor(Color.black);
    jTextPane1.setText("\n"+message);
    jTextPane1.setBackground(this.getBackground());
    jTextPane1.setEditable(false);
    this.getContentPane().setLayout(gridBagLayout1);
    jButton1.setSelected(true);
    jButton1.setText(mes.getString("aceptar"));
    jButton1.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jButton1_actionPerformed(e);
    jPanel1.setLayout(gridBagLayout2);
    this.getContentPane().add(jTextPane1, new GridBagConstraints(0, 0, 1, 1, 0.0, 1.0
    ,GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
    this.getContentPane().add(jPanel1, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0
    ,GridBagConstraints.SOUTH, GridBagConstraints.HORIZONTAL, new Insets(0, 0, 10, 0), 0, 0));
    jPanel1.add(jButton1, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0
    ,GridBagConstraints.NORTH, GridBagConstraints.NONE, new Insets(5, 157, 5, 158), 0, 0));
    this.getRootPane().setDefaultButton(jButton1);
    jButton1.requestDefaultFocus();
    jButton1.requestFocus();
    void jButton1_actionPerformed(ActionEvent e)
    this.dispose();
    }

  • Focus issues with Qt on MacOSX

    Hi
    I'm developing a plugin which targets CS3, 4, 5 and 6. I choose Qt because of the deprecation of ADM. This plugin works well on Windows for each version of Illustrator. Now I"m testing it on MacOS X, I have some focus issues with all version of Illustrator.
    For CS3, 4 and 5 I use the Carbon version of Qt and for CS6 I use the Cocoa version.
    My main problem is when a widget (Qt GUI element) has the focus and if I press the backspace of the keyboard  to replace the current value, the current selected object in the document is deleted.
    Moreover if I try to change the location of an object using the Controls tool bar of Illustrator, the value of the widget changes.
    Did anyone encounter this kind of problems and solve them ?

    Note that "AI Servo" focus has difference from "One Shot" focus mode with respect to what it does when you press the shutter button.
    In "One Shot" mode, the camera uses "Focus Priority".  This means the camera will NOT take a shot if the lens is in auto-focus mode UNTIL it can confirm that it was able to achieve focus on your selected AF point (or on one AF point if you allow it to auto-select the AF point.)  In short:  achieving focus is more important than taking the shot at the exact moment you press the button.  Hence "focus priority"
    In "AI Servo" mode, the camera uses "Release Priority".  This means that when you completely press the shutter button, the camera WILL take the shot immediately and it will do this whether it has had enough time to achieve focus... or not.    In short: capturing the shot at the exact moment you press the shutter button is more important than achieving focus.   Hence "release priority."
    If you quickly press the shutter button to get a shot, the camera is going to shoot first and worry about focus later.  You've got to half-press the shutter to let the camera achieve focus before you fully-press the button.
    Tim Campbell
    5D II, 5D III, 60Da

  • How do I reset my apple id security question with out a rescue email

    How do I reset my apple id security question with out a rescue email?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (101013)

  • Basic questions with respect to ABAP WebDynpro Application

    Hi All,
    I have two basic questions with respect to an ABAP WebDynpro application :
    a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
    b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
    Thanks & Regards,
    Sushanth Hulkod

    Sushanth Hulkod wrote:
    > a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
    >
    > b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
    a) If an ABAP WebDynpro application has been developed, how could it be made available to the end user?
    Answer - By providing direct link of the WD application created in SE80, creating iView for webdynpro abap application in the portal environment and  NWBC environment
    b) Can an ABAP WebDynpro application be developed in ECC or is it only applicable for version 4.6c?
    Answer - Yes it can be developed in ECC. Webdynpro ABAP is introduced in NW 2004s (SAP NetWeaver 7.0 or ECC 6.0)
    Thanks,
    Chandra

  • Having trouble with buttons in motion menus

    I'm having some problems with buttons in motion menus:
    - I've created a motion menu where some text (button names) fade in.
    - I set a loop point after the text has faded in completely.
    - I set the end condition to "loop"
    (there is some animation after the text fades in that I would like to loop)
    - I draw out 5 buttons and assign different overlay colors to each of the button states.
    The problem is that each time the motion menu jumps back to its loop point.. the menu seems to stutter - the overlay color on the currently selected button turns off for a second and the button is momentarily disabled (can't be selected). This problem only shows up on the actual dvd build. The buttons work smoothly when tested in the simulator.
    I can avoid this problem by losing the animation and just setting the end condition to "still".. but I was wondering if anyone knows if there is something I might have missed or could try as a workaround.
    17" powerbook g4   Mac OS X (10.4.5)  

    This problem only shows up on the actual dvd build. The buttons work smoothly when tested in the simulator.
    It could be how the DVD is reading the DVD (sort of the nature of DVD, everything is not exactly the same), because buttons will not show until the loop point and there may be a slight pause from end of animation in the menu to the loop point. And the overlay will turn off briefly when it hits the end.
    Visually what you can do is make the animation in a manner so that at the loop point the buttons are part of the background itself and make sure your loop point is at that point (or slightly after) so it looks like the button is there.
    For the most part the setting of still may work okay (really a creative call), sometimes listening to the same music/seeing samee animation may be too much (of course it depends on project) and you can jump to the loop point on the menu on subsequent calls

Maybe you are looking for

  • Conflict between iTunes Match and Windows 8.1

    I have been running iTunes on my fully updated Windows 8.1 PC for some time, without any particular issues. A few days ago, I activated iTunes match. It worked just fine, in the perspective of my iPhone and iPad. However, my PC stopped being responsi

  • How do i clear my old iphone 5 of data?

    I saw in these support communities that I should go to settings/general/reset and then select "erase all content and settings" which is fine and good until I put in my password, hit erase iPhone, then select it again after I get a warning it can't be

  • Why the method can be called in this way?

    Hi all, The following is JAVA SWING TREE custom data models program. There are two files in the program: one is TestFrame.java, and the other is MyDataModel.java. I only posted the important part on the Forum.My question is how method getChild(...) i

  • How should I format my HDD

    Hello, My computer's startup disc is full, so I need to clean house. [And I just generally need to save files]. I have a Mac OS X 10.7.5 and I also runs Parallels for my windows needs (basically Microsoft Office Suite). Also, my work computer is a pc

  • Last updates messed up my profile - Cant even create a new one

    Hi, I'm getting this error: "C:\Windows\System32\config\systemprofile\Desktop is inaccessible..." everytime I boot, I try to clic on desktop, try to do anything... It happened last weekend when Windows update submitted 3 updates, one for IE, and some