Get parent JFrame for displaying exception msg

I have a problem.
Lots of my application components are classes that extends JPanel
In these classes lot's of different exception could be raised.
Some of them I want[b] to show to user (invalid input, no DB connection error e.t.c.)
I make may GUI with help of GUI-builder + I write own classes As I said. Then I initialize them on my form in code.
How can I reach parent form and send message to user?
Is there any common method like:
getParentForm.showMessageDialog(String mesage);
Did I explain my problem clearly...?

No, FAQ - is pretty useless thing.
I suggest this one idea:
see visualization:
http://foto.mail.ru/mail/ice_holod/114/s-494.jpg
no read my idea. I hope you will undestand me.
Excuse me for offtopic.
I suggest to develop "wisdom master.
This master will give user solution for his problem.
It will look like interactive dialog.
For example, I have a question: �I want to put JComboBox into JTable�.
I open �wisdom master�
There I see list of topics:
1.SWING/AWT
Database
Java language basics
I choose �SWING�.
2.The I see lest of SWING components, which were discussed million times:
JFrame
JTable
JComboBox
e.t.c.
I choose �JTable�.
3.Then I see list of ready solutions divided into categories:
Embed something (embed checkboxes, comboboxes e.t.c.)
Control data in JTable (add/delete row)
e.t.c.
I choose �Embed something�
4.Then I see description and links to several threads:
Embed combobox (several links to most valuable threads)
Embed checkbox (several links to most valuable threads)
e.t.c.
BUT!
If I would choose JComboBox instead of JTable on step #2 anyway I will get JComboBox + JTable solutions through master.
See this chain: SWING->JComboBox (I did not choose JTable)->Embed somewhere->Embed into JTable
Of course, such �wisdom master� will not help starters. Sometimes they even can�t understand what they need and what to search (I am a starter and sometimes I do not know what exactly to read, and where to search�)
But, I think such service will help users which familiar with Java technology. The y will not have to read �search results� and million topics.
The way to solution will be shorter.
The MAIN PROBLEMS are
1.     Separate food solutions and useful threads
2.     Develop categories. We do not have to create many categories, user can lost in these categories, we can�t reduce their quantity. We have to find gold middle.
3.     Develop good graph (graph branches = search chains). Categories=nodes of Graph

Similar Messages

  • Getting a JFrame to display  from a JSP, remaining JSP code waits for frame

    Hello,
    I'm new to Java and just started using JSPs. My objective is to call a display window (from a JSP) that shows the user a list of project selections. Once the user has made their selections and clicked a Submit button, the display class captures the selected projects to the request object as an attribute and then closes the window. The next command in the jsp then forwards the request attribute to a controller. I'm having trouble getting the display window to show-the JSP seems to hang and then timeout. Is there code I'm missing to get the JSP to stop processing while it waits for the choices to be made in the JFrame?
    Below is the JSP code and the class I'm calling. I'm seeing all my debug System.out statements but no JFrame pops up. In the JFrame class, the line f.addWindowListener(... does the capture of user selections to the request attribute.
    Any help will be greatly appreciated!!
    JSP:
    <%@ page language="java" contentType="text/html;charset=UTF-8" import="com.plumtree.remote.portlet.*,edu.app.projects.*" %>
    <%
        request.setAttribute("action", "prefDisplay");
        request.setAttribute("orderby", "title");
        ServletContext jc = getServletContext();
        DualListBox dual = new DualListBox(request,(String)jc.getAttribute("db.driver"), (String)jc.getAttribute("db.connectionstring"),"title");
         JFrame f = dual.getFrame();
         f.setVisible(true);//expect code to stop here and display frame, waiting for the user to finish.
            //Debug code that tests if frame is visible at this point -came true though did not see Jframe displayed
         if(f.isShowing()){
         System.out.println("Jframe visible");}
           //Send to ProjectsController
          request.getRequestDispatcher("pc").forward(request, response);%>               ---------------------------------------------------------------------------------------------
    JFrame Class (below)
    -Sets up Frame and corresponding Dialog box
    -Populates Dialog box with options from a database call (for user selection)
    -Should wait for user input - Window close or Submit! to capture selection and dispose of Jframe
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.EventQueue;
    import java.awt.Frame;
    import java.awt.GridBagConstraints;
    import java.awt.GridBagLayout;
    import java.awt.Insets;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.WindowEvent;
    import java.lang.reflect.InvocationTargetException;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Collection;
    import java.util.Iterator;
    import java.util.SortedSet;
    import java.util.TreeSet;
    import javax.servlet.http.HttpServletRequest;
    import javax.swing.AbstractListModel;
    import javax.swing.BorderFactory;
    import javax.swing.JButton;
    import javax.swing.JDialog;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.ListCellRenderer;
    import javax.swing.ListModel;
    public class DualListBox extends JPanel {
      private static final long serialVersionUID = 1L;
      private static final Insets EMPTY_INSETS = new Insets(0, 0, 0, 0);
      private static final String ADD_BUTTON_LABEL = "Add >>";
      private static final String REMOVE_BUTTON_LABEL = "<< Remove";
      private static final String DONE_BUTTON_LABEL = "Submit!";
      private static final String DEFAULT_SOURCE_CHOICE_LABEL = "Available Projects";
      private static final String DEFAULT_DEST_CHOICE_LABEL = "Your Selections";
      private String orderby, mydriver, connectionString;
      private JLabel sourceLabel;
      private JList sourceList;
      private SortedListModel sourceListModel;
      private JList destList;
      private String chosenprojects;
      private SortedListModel destListModel;
      private JLabel destLabel;
      private JButton addButton;
      private JButton removeButton;
      private JButton doneButton;
      private DatabaseHelper dh;
      protected HttpServletRequest request;
      protected JFrame f;
      protected JDialog jd;
      public DualListBox(HttpServletRequest req, String driver, String connection, String ordering) {
         System.out.println("In DualList Setup");
        request =req;
         orderby =ordering;
         connectionString = connection;
         mydriver = driver;
         f = new JFrame("Projects List Selector");     
         jd =new JDialog(f,true);
         jd.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
         System.out.println("B4 initscreen");
        initScreen();
        System.out.println("After initscreen");
        String[] DBprojects = this.dbCall();
        System.out.println("After DB Call");
        this.addSourceElements( DBprojects );   
        System.out.println("Filled screen");
        jd.getContentPane().add(this, BorderLayout.CENTER);
        //f.getContentPane().add(jd, BorderLayout.CENTER);
        jd.setSize(800, 600);
        System.out.println("OK2");
        jd.setVisible(true);
        System.out.println("OK3");
        Runnable runner = new FrameShower(jd);
        EventQueue.invokeLater(runner);
      public String getSourceChoicesTitle() {
        return sourceLabel.getText();
      public String chosenprojects() {
             return chosenprojects;
      public JFrame getFrame() {
             return f;
      public void setSourceChoicesTitle(String newValue) {
        sourceLabel.setText(newValue);
      public String getDestinationChoicesTitle() {
        return destLabel.getText();
      public void setDestinationChoicesTitle(String newValue) {
        destLabel.setText(newValue);
      public void clearSourceListModel() {
        sourceListModel.clear();
      public void clearDestinationListModel() {
        destListModel.clear();
      public void addSourceElements(ListModel newValue) {
        fillListModel(sourceListModel, newValue);
      public void setSourceElements(ListModel newValue) {
        clearSourceListModel();
        addSourceElements(newValue);
      public void addDestinationElements(ListModel newValue) {
        fillListModel(destListModel, newValue);
      private String[] dbCall(){
             if(dh==null)
                  dh = new DatabaseHelper(mydriver, connectionString);
              PreparedStatement ps = null;
              ResultSet rs = null;
              ArrayList<String>children = new ArrayList<String>();
              ArrayList<String[]>tree =new ArrayList<String[]>();
              if(orderby==null || orderby.equals("")){
                   orderby ="region";
              String query = "select title,id from projects";// order by " + orderby;
              System.out.println(query);
              try {
                   Connection conn =dh.getConnection();
                   ps = conn.prepareStatement(query);
                   rs = ps.executeQuery();
                   while (rs.next()) {
                        children.add(new String(rs.getString(1)));
                        System.out.println(rs.getString(1));
                        tree.add(new String[]{rs.getString(1),rs.getString(2)});
                   request.setAttribute("ResultTree",tree);
                   return (String[])children.toArray(new String[children.size()]);
              } catch (SQLException e) {
                   throw new RuntimeException(e);
              } finally {
                   try {
                        if (null != rs) rs.close();
                   } catch (SQLException e) {
                   try {
                        if (null != ps) ps.close();
                   } catch (SQLException e) {
      private void fillListModel(SortedListModel model, ListModel newValues) {
        int size = newValues.getSize();
        for (int i = 0; i < size; i++) {
          model.add(newValues.getElementAt(i));
      public void addSourceElements(Object newValue[]) {
        fillListModel(sourceListModel, newValue);
      public void setSourceElements(Object newValue[]) {
        clearSourceListModel();
        addSourceElements(newValue);
      public void addDestinationElements(Object newValue[]) {
        fillListModel(destListModel, newValue);
      private void fillListModel(SortedListModel model, Object newValues[]) {
        model.addAll(newValues);
      public Iterator sourceIterator() {
        return sourceListModel.iterator();
      public Iterator destinationIterator() {
        return destListModel.iterator();
      public void setSourceCellRenderer(ListCellRenderer newValue) {
        sourceList.setCellRenderer(newValue);
      public ListCellRenderer getSourceCellRenderer() {
        return sourceList.getCellRenderer();
      public void setDestinationCellRenderer(ListCellRenderer newValue) {
        destList.setCellRenderer(newValue);
      public ListCellRenderer getDestinationCellRenderer() {
        return destList.getCellRenderer();
      public void setVisibleRowCount(int newValue) {
        sourceList.setVisibleRowCount(newValue);
        destList.setVisibleRowCount(newValue);
      public int getVisibleRowCount() {
        return sourceList.getVisibleRowCount();
      public void setSelectionBackground(Color newValue) {
        sourceList.setSelectionBackground(newValue);
        destList.setSelectionBackground(newValue);
      public Color getSelectionBackground() {
        return sourceList.getSelectionBackground();
      public void setSelectionForeground(Color newValue) {
        sourceList.setSelectionForeground(newValue);
        destList.setSelectionForeground(newValue);
      public Color getSelectionForeground() {
        return sourceList.getSelectionForeground();
      public String getProjects(){
           return chosenprojects;
      private void clearSourceSelected() {
        Object selected[] = sourceList.getSelectedValues();
        for (int i = selected.length - 1; i >= 0; --i) {
          sourceListModel.removeElement(selected);
    sourceList.getSelectionModel().clearSelection();
    private void clearDestinationSelected() {
    Object selected[] = destList.getSelectedValues();
    for (int i = selected.length - 1; i >= 0; --i) {
    destListModel.removeElement(selected[i]);
    destList.getSelectionModel().clearSelection();
    private void initScreen() {
    setBorder(BorderFactory.createEtchedBorder());
    setLayout(new GridBagLayout());
    sourceLabel = new JLabel(DEFAULT_SOURCE_CHOICE_LABEL);
    sourceListModel = new SortedListModel();
    sourceList = new JList(sourceListModel);
    add(sourceLabel, new GridBagConstraints(0, 0, 1, 1, 0, 0,
    GridBagConstraints.CENTER, GridBagConstraints.NONE,
    EMPTY_INSETS, 0, 0));
    add(new JScrollPane(sourceList), new GridBagConstraints(0, 1, 1, 5, .5,
    1, GridBagConstraints.CENTER, GridBagConstraints.BOTH,
    EMPTY_INSETS, 0, 0));
    addButton = new JButton(ADD_BUTTON_LABEL);
    add(addButton, new GridBagConstraints(1, 2, 1, 2, 0, .25,
    GridBagConstraints.CENTER, GridBagConstraints.NONE,
    EMPTY_INSETS, 0, 0));
    addButton.addActionListener(new AddListener());
    removeButton = new JButton(REMOVE_BUTTON_LABEL);
    add(removeButton, new GridBagConstraints(1, 4, 1, 2, 0, .25,
    GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(
    0, 5, 0, 5), 0, 0));
    removeButton.addActionListener(new RemoveListener());
    doneButton = new JButton(DONE_BUTTON_LABEL);
    add(doneButton, new GridBagConstraints(1, 6, 1, 2, 0, .25,
    GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(
    0, 10, 0, 10), 0, 0));
    doneButton.addActionListener(new DoneListener());
    f.addWindowListener(new java.awt.event.WindowAdapter() {
         public void windowClosing(WindowEvent winEvt) {
              //could set to null here to force use of Done button only
         chosenprojects = destList.getSelectedValues().toString();
              request.setAttribute("ProjectIDs", destList.getSelectedValues().toString());
              System.exit(0);
    destLabel = new JLabel(DEFAULT_DEST_CHOICE_LABEL);
    destListModel = new SortedListModel();
    destList = new JList(destListModel);
    add(destLabel, new GridBagConstraints(2, 0, 1, 1, 0, 0,
    GridBagConstraints.CENTER, GridBagConstraints.NONE,
    EMPTY_INSETS, 0, 0));
    add(new JScrollPane(destList), new GridBagConstraints(2, 1, 1, 5, .5,
    1.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH,
    EMPTY_INSETS, 0, 0));
    private class AddListener implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    Object selected[] = sourceList.getSelectedValues();
    addDestinationElements(selected);
    clearSourceSelected();
    private class RemoveListener implements ActionListener {
    public void actionPerformed(ActionEvent e) {
    Object selected[] = destList.getSelectedValues();
    addSourceElements(selected);
    clearDestinationSelected();
    private class DoneListener implements ActionListener {
         public void actionPerformed(ActionEvent e) {
         chosenprojects = destList.getSelectedValues().toString();
         request.setAttribute("ProjectIDs", destList.getSelectedValues().toString());
         System.exit(0);      
    class FrameShower implements Runnable {
         final JDialog frame;
         public FrameShower(JDialog frame) {
              this.frame = frame;
         public void run() {
              System.out.println("B4 make visible");
              frame.setVisible(true);          
         System.out.println("Made screen visible");
    class SortedListModel extends AbstractListModel {
    private static final long serialVersionUID = 8777627817685130496L;
    SortedSet model;
    public SortedListModel() {
    model = new TreeSet();
    public int getSize() {
    return model.size();
    public Object getElementAt(int index) {
    return model.toArray()[index];
    public void add(Object element) {
    if (model.add(element)) {
    fireContentsChanged(this, 0, getSize());
    public void addAll(Object elements[]) {
    Collection c = Arrays.asList(elements);
    model.addAll(c);
    fireContentsChanged(this, 0, getSize());
    public void clear() {
    model.clear();
    fireContentsChanged(this, 0, getSize());
    public boolean contains(Object element) {
    return model.contains(element);
    public Object firstElement() {
    return model.first();
    public Iterator iterator() {
    return model.iterator();
    public Object lastElement() {
    return model.last();
    public boolean removeElement(Object element) {
    boolean removed = model.remove(element);
    if (removed) {
    fireContentsChanged(this, 0, getSize());
    return removed;
    }{code}
    Edited by: redm14A on Oct 10, 2007 11:34 AM
    Edited by: redm14A on Oct 10, 2007 11:37 AM
    Edited by: redm14A on Oct 10, 2007 11:40 AM
    Edited by: redm14A on Oct 10, 2007 11:45 AM
    Edited by: redm14A on Oct 10, 2007 11:47 AM

    redm14A wrote:
    Hmm, I was trying to avoid writing an applet. Seems my only other option then is to write a JSP that returns a javascript menu populated by options from a database call. Then I'd have the user click submit to send the options to another JSP that simply sets the request attribute and forwards to the controller. Will this be a sound alternative?
    Edited by: redm14A on Oct 10, 2007 12:29 PMSounds good to me.

  • Parental controls for windows 7?

    hi,
    how do you get parental controls for windows 7 on skype? i have tryed to look online  for the answer but i came out blank. please help!!

    you need to download a third party application.such as AthTek Skype Recorder.http://www.skype-record.com

  • Lengthy captures equals "preparing for display" delays?

    Philip Hodgetts on the fcp-l posted the following "Remember too, that the project will get more sluggish, more quickly if you do many long captures instead of many more short captures.This particularly affects "preparing for display" type problems (ie makes them worse) However that has to be balanced with the total number of clip-instances in the project. The more there are overall, the slower the project will perform."
    Can anyone here confirm this? Cookman and I have a running argument over the best workflow. He prefers logging and then just capturing selex. I prefer capturing everything and then logging (we both agree and the necessity of thorough logging). This may have some impact.
    I recently finished a dvcproHD project where each reel was captured as one file. Each file was around 25 gigs. I would often get lengthy "preparing for display" message, but this usually happened when I was switching between going between normal editing and the switching to the apple cinema display full screen preview. I rarely if ever see this message when working with DV material so I suspect that it's a function of file size rather than "length of capture."

    There is a happy medium position in the log and capture wars that is sure to please no one.
    Squarebox sells a media management program called CatDv that comes with a little capture app - live capture plus.
    LCP can be used as a stand alone capture app and will use the same info as 'start stop detect' in FCP to capture a complete tape and cut it into individual clips. If you just use LCP, your clips are named by reel number and time code. If you combine LCP with CatDV you get a great many more media capture, naming and storage options.
    The entire tape is captured to a temp file where it is parsed and written out as individual clips. The temp clip is then deleted. I suspect the time it takes to do this is processor dependent and it does hang up the system for an extra period of time if you are running this off a G4 powerbook. You also need at least 2x the file space to allow for the processing.
    It is an interesting idea in that allows the best of both worlds - full tape capture (low wear and tear on weak drive mechanisms) and small clips (fast display, simplified media organization).
    cheers,
    x

  • Sub-Menus are displaying away from their parent Menu for first time.

    Hi All,
    I have a problem with sub-menus display location. In my application, I have a JPopupMenu to which several sub-menus (*JMenu*) are added. All the JMenuItems inside JMenu are having an Icon (Image) along with menu item title. I am providing a facility to change the font size of Menu Item names as well as the ImageIcon size dynamically through a dialog box. When the size is changed to larger value than the existing, the menus as well as submenus are getting displayed correctly. But when I change the size of ImageIcon and the font to smaller value than the existing one, then the submenus are getting displayed away from their parent menu for the first time. The location of sub menu display is matching with the location when their size was larger. This problem appears only for the first display of sub menus after their sizes are changed. For the successive display, the locating is resetting automatically to correct location.
    So can anybody help me out about how to display submenus at correct location irrespective of font and image size changes for the first time also? Is there any event which gets fired when we change the font size or ImageIcon sizes? Is there any specific method to refresh the menu sizes if any of such properties (such as font size, ImageIcon size) are changed?
    If you need any additional information, feel free to ask.

    Below is the sample code for the query I placed. Steps to reproduce the problem are:
    1. Click on "Increase Font" button.
    2. Generate the popup at the right side corner of the screen (using right mouse click) such that the sub menu of edit should appear at left side of "Edit" option.
    3. Click on "Decrease Font" button.
    4. Generate the popup at the right side corner of the screen (using right mouse click) such that the sub menu of edit should appear at left side of "Edit" option.
    You will see that sub menu of edit menu is displayed away from the popup for the first time. The sub menu location matches with previous location when its font size was larger. Location resets automatically for the next successive displays.
    import java.awt.BorderLayout;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Font;
    import java.awt.Toolkit;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.JPanel;
    import javax.swing.JPopupMenu;
    public class JPopupDemo implements ActionListener {
      public static Font newFont=new Font("Times New Roman", Font.BOLD,24);
      JFrame frame = null;
      JPopupMenu popupMenu = null;
      JMenuItem fileMenu = null;
      JMenu editMenu = null;
      JMenuItem cutMenuItem = null;
      JMenuItem copyMenuItem = null;
      JMenuItem pasteMenuItem = null;
      JMenuItem findMenuItem = null;
        JPopupDemo(){
        frame = new JFrame("Popup Example");     
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        popupMenu = new JPopupMenu();
        fileMenu = new JMenuItem("File");
        editMenu = new JMenu("Edit");
        cutMenuItem = new JMenuItem("Cut");
        editMenu.add(cutMenuItem);
        copyMenuItem = new JMenuItem("Copy");
        editMenu.add(copyMenuItem);
        pasteMenuItem = new JMenuItem("Paste");
        pasteMenuItem.setEnabled(false);
        editMenu.add(pasteMenuItem);
        editMenu.addSeparator();
        findMenuItem = new JMenuItem("Find");
        editMenu.add(findMenuItem);
        popupMenu.add(fileMenu);
        popupMenu.add(editMenu);
        MouseListener mouseListener = new JPopupMenuShower(popupMenu);
        frame.addMouseListener(mouseListener);
        //frame.setSize(350, 250);
        Toolkit toolkit = Toolkit.getDefaultToolkit();
        Dimension dim = toolkit.getScreenSize();
        frame.setSize(dim.width,dim.height-100);
        JButton incrButton = new JButton("Increase Size");
        incrButton.setActionCommand("IncreaseSize");
        incrButton.addActionListener(this);
        JButton decrButton = new JButton("Decrease Size");
        decrButton.setActionCommand("DecreaseSize");
        decrButton.addActionListener(this);
        Container cp = frame.getContentPane();
        cp.setLayout(new BorderLayout());
        JPanel jp = new JPanel();
        jp.add(incrButton);
        jp.add(decrButton);
        cp.add(jp,BorderLayout.SOUTH);
        frame.setVisible(true);
    public static void main(String args[]) {
         JPopupDemo demo = new JPopupDemo();
      public void actionPerformed(ActionEvent ae)
            if (ae.getActionCommand().equals("IncreaseSize"))
                   newFont = new Font("Times New Roman", Font.BOLD,48);
                   setNewFont();
              else if (ae.getActionCommand().equals("DecreaseSize"))
                   newFont = new Font("Times New Roman", Font.BOLD,12);
                   setNewFont();
       public void setNewFont()
            popupMenu.setFont(newFont);
            fileMenu.setFont(newFont);
            editMenu.setFont(newFont);
            cutMenuItem.setFont(newFont);
            copyMenuItem.setFont(newFont);
            pasteMenuItem.setFont(newFont);
            findMenuItem.setFont(newFont);
    class JPopupMenuShower extends MouseAdapter {
      private JPopupMenu popup;
      public JPopupMenuShower(JPopupMenu popup) {
        this.popup = popup;
      private void showIfPopupTrigger(MouseEvent mouseEvent) {
        if (popup.isPopupTrigger(mouseEvent)) {
          popup.show(mouseEvent.getComponent(), mouseEvent.getX(), mouseEvent
              .getY());
      public void mousePressed(MouseEvent mouseEvent) {
        showIfPopupTrigger(mouseEvent);
      public void mouseReleased(MouseEvent mouseEvent) {
        showIfPopupTrigger(mouseEvent);
    }Edited by: VPKVL on Aug 4, 2008 1:18 AM

  • Hello i am trying to help a friend to get the update for the mac os x maverick and msg pops up saying distribution file not verified

    hello i am trying to help a friend to get the update for the mac os x maverick and msg pops up saying distribution file not verified

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.
    Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • HT1766 My iPad hasn't been backed up and it's displaying the msg but will not let me get rid if the msg so that I can get it backed up. How do I get through this

    My iPad hasn't been backed up and it's displaying the msg but will not let me get rid if the msg so that I can get it backed up. How do I get through this

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up

  • I purchased the display version of my mac pro and it had the Pages app.  I just reset it to factory settings and the app is no longer on it.  Is there a way I can get it back for free?

    I purchased the display version of my Macbook Pro at a navy exchange.  The woman working at the store did not know how to reset to factory so I took it home as was.  I have been using it for about a month and the laptop had Pages and Keynote on it already.  I just reset to factory settings and it now has neither.  Is there a way to get these back for free?  I think my computer purchase makes it eligible to have these apps for free but since I reset it they are gone.

    Go to the App Store where you can purchase copies of the apps. You cannot get them for free. The ones installed belonged to the previous owner. You will need to purchase using your Apple ID.

  • Exporting photos for UHDTV or Native 4K TV, what are the best settings ? (File: Quality File: Color Space, Image Sizing and resolution)   Or in other words; How can I get the smallest files but keep good quality for display on new UHDTV

    Exporting photos for UHDTV or Native 4K TV, what are the best settings ? (File: Quality File: Color Space, Image Sizing and resolution)   Or in other words; How can I get the smallest files but keep good quality for display on new UHDTV

    You're welcome, and thank you for the reply.
    2) Yesterday I made the subclips with the In-Out Points and Command-U, the benefit is that I've seen the clip before naming it. Now I'm using markers, it's benefit is that I can write comment and (the later) clip name at once, the drawback is that I have to view to the next shot's beginning before knowing what the shot contains.
    But now I found out that I can reconnect my clips independently to the format I converted the master clip to. I reconnected the media to the original AVI file and it worked, too! The more I work with, the more I'm sold on it... - although it doesn't seem to be able to read and use the date information within the DV AVI.
    1) Ok, I tried something similar within FCE. Just worked, but the file size still remains. Which codec settings should I use? Is the export to DV in MOV with a quality of 75% acceptable for both file size and quality? Or would be encoding as H.264 with best quality an option for archiving, knowing that I have to convert it back to DV if I (maybe) wan't to use it for editing later? Or anything else?
    Thank's in advance again,
    André

  • FM for getting the Parent materials for the component material

    Hi All,
             I need to to get a list of parent materials for a given component material and that too upto 10 levels.
    i.e.
    Ist Iteration
    The material M1 is a component in 3 other materials.
    2nd iteration
    The above 3 materials will be a components of 3 other materials each i.e. now a total of 9 materials are there.
    3rd iteration
    The above 9 materials will be a component of 3  other materials each i.e. now a total of 27 materials are there.
    upto 10 iterations.
    Is there any FM which can provide me the list of parent and superparents for a given component material..upto 10 levels (or something closer if these levels exists).
    Regards
    Abhishek

    Hi,
    Check this link..Getting the Parent Material (BOM)

  • Getting the Parent JFrame or JDialog

    I am trying to get the parent JFrame or JDialog so I can change the cursor. Right now I am doing it in a stupid way by doing this:
    private void changeCursorQuestion(){
              JFrame frame=(JFrame) getParent().getParent().getParent().getParent().getParent().getParent().getParent();
              Cursor cursor=new Cursor(Cursor.HAND_CURSOR);
              frame.setCursor(cursor);
         }//end changeCursorQuestionBut is there an easier and of course better way of getting the frame or jdialog that a panel is in?

    I am trying to get the parent JFrame or JDialog so I can change the cursor. You can change the cursor of the JPanel ( in fact any Container) so why use that getParent() thing....
    Also, if you want to have quick refrence to JFrame object from JPanel, extend JPanel to make a new class and have a refrence to that JFrame/JDialog in that class, that way you can access it quickly.
    Thanks!

  • Display unaccountably gets too big for the screen

    This has happened maybe a dozen times, and I don't know what I did to make it happen. Suddenly, the desktop display gets too large for the screen, and I have to scroll around to find the dock or the menu bar. Whatever else I'm working on, e-mail, etc., gets outsized, too. Does anyone know how to correct this? So far, restarting has worked, but that's a pretty time-consuming way to do it.

    Cindy,
    Hold down the CNTL key and scroll down with the mouse or trackpad. That should change it back to size. This is called screen zoom.
    Cheers
    You can also deactivate it in System Preferences for the Mouse and/or trackpad.
    Message was edited by: captfred

  • How to display the Get info window for a file or folder

    Hello,
    How can I display the Get Info window for a file or folder using Applescript - instead of selecting it in the finder and using Command-I ?
    Thanks.
    lenpartico

    The item property that the Get Info was opened for is read only, so it doesn't look like you can just throw a file path at it. You could do something like telling the Finder to reveal the item, then keystroke the command, e.g.:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder"
    reveal "Path:to:your:file"
    activate
    end tell
    tell application "System Events" to keystroke "i" using {command down}
    </pre>
    ... but this doesn't seem to be much different than the regular method. There are other methods to get various information, what are you wanting to do?
    Edit:
    Hmmm, I could have sworn (I do a lot of that these days) I tried Hiroto's method, but that does work. It still seems to be a roundabout way of doing something though.
    Message was edited by: red_menace

  • Getting Parent Consolidation Groups for a given Consolidation Unit

    Hi Friends,
    I am writing a program wherein i need to get parent Consolidation Groups and their Hierarchy levels for a given Consolidation Unit. If anyone has worked on a similar requirement, Please provide me with Function module or logic for the same.
    Thanks
    Surya

    hi,
    asset-nr = ILOA-ANLNR
    Andreas

  • "Preparing video for display" ****!! Project get's stuck before opening completely

    I've been working in this project for almost two years. Now, I'm doing the subtitles in Final cut from Spanish to English for almost two months now, almost half way through the movie so I get a lot of renders done everyday. Since last Week my projects get stuck at "Preparing video for display". I usually go to the Autosave Vault, for some reason one of the project open, and I start working again from the hour or two of work I lost. But, whenever the projects get's to Autorender, the same message displays again, and the damned beachball appears and all goes to ****. I can't get anywork done, I've lost a lot of hours worth of work and I'm facing a deadline. I've tried trashing the preferences, but nothing. So before I drive my car into a tree i wanted to at least submit the question, to you.
    Clues:
    FCPR0 6.05
    MACBOOK PRO WITH 4GB MEMOMRY
    LION BUT RUNNING ON IT WITH SNOWLEOPARD ROSETTA.
    Best to all of you.

    My guts are saying that you've a bit of an unstable installation going on, causing the instability... the fix is to perform a clean install and try working with that. You can build a new startup disk on a firewire drive or on another internal drive or partition, leaving your current startup disk alone... safest way to test this hypothesis... I'd also not install Lion if you're going to run FCP 6. Best setup for FCP 6 is likely Leopard or Snow Leopard. In reality it can be argued that the version of FCP that you are running will run the best on the OS it was written for in the first place.  Which, for FCP 6, is likely 10.5.x.
    Here's a list of what is known to be a stable setup with every version of FCP: http://www.digitalrebellion.net/blog/posts/recommended_quicktime_and_mac_os_conf igurations_for_final_cut_pro.html
    Jerry

Maybe you are looking for

  • Vendor Confirmation fk08

    Hi,        I am creating some new vendors, but everytime i create them or make some changes in them, then someone else has to confirm the changes by using TCODE FK08  before i can use the vendor in system. I just want to know that, is there any other

  • Problems with accessing V$SQLAREA, V$SQL, V$SQLTEXT, and V$SQL_PLAN

    Hi there, I created a new user account and granted it dba. I logged on to this account and I am trying to run select statments on V$SQLAREA, V$SQL, V$SQLTEXT, and V$SQL_PLAN, but I am getting ORA-00942: table or view does not exist 00942. 00000 - "ta

  • IDOC for purchase order

    Hi,   I created an IDOC using the basic type orders04 , i populated all the required fields and tried to run the idoc through WE20 .The idoc got generated but with an error saying "Purchasing document & does not exist"..I am not able to see which par

  • Guide to write own TMF analysis module.

    Hi, I was collecting lttng trance point in my system to debug performance. But now I see eclipse don't help me much to visualise traces. So I want to write my own analysier which will analyse data and presnt in histogram. I went trhough TMF developer

  • Anybody successfully created a Pie-chart?

    I have tried with all the default options and keep getting an "x"( the one that's shown by browser when it can't find an image file). I understand the fact that Pie-Charts are still in Beta. But at least they should work to have a successful look at