Pop up menu

I have a class that extends JPasswordField.
no i need a thing like a pop up menu like in the windows when you have caps lock on i come up to tell you this way my users know that caps is active. i have done all of the back door stuff and at the moment it just prints out using System.out.println that caps is active. not the pop up so only last a short time but should not pause the program and should be independet of app just the password field i need the help to create the little pop up menu and to after let say 500ms close it.
Please can you help me.
it you would like to see the code i wil post it later.
but if you under stand what i am needed then please can you help point me in the right direction. I think i would use a JWindow but then it would not move if the log in screen was moved so there has to be a better way of doing it.
Thanks
David

thanks dose JWindow support if i put a .gif that has transparent part in it would it just leave the space blank so if i made an imageIcon added that to a JLabel and then to the JWindow add put that on top of the JFrame or what ever i have made as the parent . but then what happend if i move the JFrame. will the JWindow move with it.....
here is the code that i have done that works but the pop up thing is buging me as i dont know how i am going to do it.
package utils;
import java.awt.event.*;
import javax.swing.JPasswordField;
import javax.swing.text.Document;
import java.awt.Toolkit;
* This class is just an extension of <Code>JPasswordField</Code> so that
* it can tell the user that the caps lock is on when they enter the field
* it also tells them if the caps is pressed while they are in the field.
* and also if it was pushed in another application and then they go back to
* the field.
* @author David Rubin
* @version 1.0
public class CapsLockPasswordField extends JPasswordField
   boolean needsToBeChecked=true;
   public CapsLockPasswordField()
      super();
      addListnenster();
   public CapsLockPasswordField(String text)
      super(text);
      addListnenster();
   public CapsLockPasswordField(String text,int cols)
      super(text,cols);
      addListnenster();
   public CapsLockPasswordField(Document doc,String text,int cols)
      super(doc,text,cols);
      addListnenster();
   private void addListnenster()
      this.addFocusListener(new FocusAdapter(){
          public void focusGained(FocusEvent e){
             checkForCapsLock();
          needsToBeChecked=false;
          public void focusLost(FocusEvent e){
             checkForCapsLock();
            needsToBeChecked=true;
      this.addKeyListener(new KeyAdapter(){
         public void keyPressed(KeyEvent e){
            if(e.getKeyCode()==KeyEvent.VK_CAPS_LOCK)
                needsToBeChecked=true;
            checkForCapsLock()  ;
            needsToBeChecked=false;
   private void checkForCapsLock()
      //this save us the trouble of checking if there is a caps on.
      if(!needsToBeChecked)
         return;
      boolean b= Toolkit.getDefaultToolkit().getLockingKeyState(
            KeyEvent.VK_CAPS_LOCK);
      if(b)
         //IN HERE YOU CAN DO ANY THING TO TELL THE USER THAT CAPS
        //LOCK IS ON
      //IS IT OK IF I GIVE THIS TO YOU
//------------------------------->>>>>>>>>>>>>>>>>>
         System.out.println("Caps lock is on");
}//----------------->>>>>>>>>>
this is were is want to put a pop up so that it can be there to show use wha is going on.
David

Similar Messages

  • Using COUNTIF on time values in pop-up menu (employee schedule template)

    I have modified the Numbers employee schedule template to my liking and it works very well. I would like to add a column to the beginning which shows, at a glance, how many people I have scheduled for AM shifts and PM shifts on a given day. My AM shifts start at 9:00 AM and my PM shifts end at 6:30 or 8:30 PM.
    So I thought I could use COUNTIF, but after I set the array, I cannot get the condition right to return anything except "0". How do you make it detect the appropriate times? The times in each cell for In and Out times are selected using a pop-up menu, just like the template.
    Here is what I tried: =COUNTIF(E3:AE3,"9:00 AM")
    What should the condition be to return a proper count?

    ac,
    You shouldn't feel badly about having trouble with this template. It is a rather tricky one. The values in the Pop-Up menus are Date/Time values. That is to say, they have year, month, day, hour and minute components, even if only the hours and minutes are displayed. So if you only compare to the hours and minutes, you will never get a match.
    I don't know if you have experienced this yet, but when you changed the Pop-Up menu content, you probably entered the current year, month and day unknowingly and will have trouble doing math against the Pop-Up content that was originally in the template.
    My suggestion in your case would be to convert the time references to decimal hours before doing a comparison. For instance, if the time you wish to compare to is in cell C4, you could extract the decimal hours with =HOUR(C4)+MINUTE(C4)/60
    Remember that the hours will reflect a 24-hour day, so times in the afternoon will run from 12.0 to 23.99...
    Then after converting to decimal, instead of using "9:00 AM" for the COUNTIF criteria, use 9.
    There are probably ways to do this using the Duration format as well, but I prefer the decimal hours.
    Hope this helps.
    Jerry

  • Why am I unable to update my Firefox 3.0 when the pop-up menu tells me that the download was complete?

    I am repeatedly told to upgrade my version of Firefox.
    Each time I attempt this, whether I disable my anti-virus software (AVG) or not, I get a pop-up menu telling me the download was completed but I still seem to be on the 3.0 version.

    You appear to have upgraded to a supported version. I will also attempt to answer your other question. [/questions/885242]

  • TS3147 My printer was no longer being detected, so I uninstalled it and when I went to reinstall it I discovered that I no longer have a printer pop up menu to select my printer.

    I had a power failure and then began getting a message that the printer (Canon Pixma 610) was not detected. So, I unplugged it from the computer, restarted the computer and no change. The printer was still showing as the default printer, but not being detected. So I deleted the printer and then tried to reinstall it. However, when I clicked on the + sign to reinstall nothing came up. The screen was blank with no printer choices. I went to the Canon website to try and download the driver and received this message: There is no driver for the OS Version you selected. The driver may be included in your OS or you may not need a driver. I would appreciate any help...

    MSG2014 wrote:
    I finally contacted Canon and they informed me that my printer is not compatible with Maverick
    As Greg stated, the Canon support person is simply referring to what they see on the web and knosw nothing about Mac's. The reality is that the v10.8 driver will work on 10.9. You just may need to get past Gatekeeper to install it. So here is a link to the v10.8 driver. If you get a message stating that the driver is not signed and cannot be installed, then this is Gatekeeper blocking it. So to install it, right click (or Control-click) on the installer and select Open from the pop-up menu. Now you will have the option to install.
    The second issue is the printer not appearing in the Add printer window. The USB cable is often the cause as suggested already. Also USB hubs can be a cause. To check if the Mac can see the printer, open System Information and select USB in the left column. The top right pane will show all the USB busses in your Mac. The MP610 should be listed under one of these busses. If it is not present, then try another USB cable and/or another USB port on the Mac. Until you see the MP610 in this view, you will not be able to add the printer.

  • Pop up menu on right clicking an image?

    Hello,
    I am new to LabWindows/CVI. 
    Requirement: "To get a pop-up menu on right clicking on image"
    Right now, I display my images in window numbers (0 - 15). Is it possible to be able to get a pop-up menu on right clicking an image window. If yes, how? If not, could you please suggest other methods to achieve this task? Should I display the image in a separate parent panel for example? How could I do this?
    Any help would be great.
    Cheers

    I would use the code generator for right click event. then fill it up with whatever code you want under right click case. You can access these when you double click your UIR file, then on the top of the page click Code\Preferences\Default... then choose desired events for picture then go to Code\Generate\all callbacks and skip through the ones you don't want to be replaced.

  • Keyboard shortcut to open a cells pop-up menu and select from list of options.

    I guessed Option-Return would be the shortcut from this, as it typically lets you edit a cells contents, but no. Read the keyboard Shortcuts list in Numbers>Help but didn't see anything.

    Hi ts,
    Thanks for drawing my attention to this! Let's add some missing detail…
    While "you just press spacebar" to open the pop-up menu, that won't select a menu item.
    After you've opened the menu, 'you could press the first letter' of an entry, ( 'like every other pop-up list on Earth,') or you could press the down arrow to step down the list (and the up arrow to step up, if you went beyond the item you wanted to choose).
    And you can change your mind; the menu will stay open until you confirm your choice (by pressing the space bar again, OR by pressing return OR by pressing enter).
    Note that pressing the first letter will select the 'smallest' item name beginning with that letter. To move to another item name starting with that letter, you'll need to use the up or down arrow key (or the mouse).
    Thanks again for posting. With luck, WideEyedPupil will still be monitoring this discussion, and will see these posts.
    Regards,
    Barry

  • Need Help: JTable POP up menu in a CellEditor to display on a right click

    This was from a previous post:
    I am trying to make a POP menu in a JTextComponent that has a assigned JEditorPane for a HTMLDocument to make use of the HTMLEditorKit to allow modifying HTML by the POP up menu.
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.table.*;
    import javax.swing.text.html.*;
    import javax.swing.undo.*;
    import javax.swing.border.*;
    import javax.swing.filechooser.*;
    public class SimpleTableDemo extends JFrame {
        public SimpleTableDemo() throws Exception {
            final JTable table = new JTable(new MyTableModel());
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            TableColumn fileColumn = table.getColumnModel().getColumn(2);
            FileTableCellEditor editor = new FileTableCellEditor();
            fileColumn.setCellRenderer(editor);
            fileColumn.setCellEditor(editor);
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                System.exit(0);
                table.setRowHeight(100);
            public static void main(String[] args) throws Exception {
                SimpleTableDemo frame = new SimpleTableDemo();
                frame.pack();
                frame.setVisible(true);
            class MyTableModel extends AbstractTableModel {
                String[] columnNames = {"First Name","Last Name","HTML File"};
                public Object[][] data;
                MyTableModel() throws Exception
                    data = createArray();
                private Object[][] createArray() throws Exception
                    Object[][] data = {{"One", "Andrews", createDoc("file1.html")}
                return data;
                private Document createDoc(String url) throws Exception
                    File file = new File(url);
                    URL baseURL = file.toURL();
                    InputStream in = baseURL.openStream();
                    InputStreamReader r = new InputStreamReader(filterTag(in));
                    HTMLEditorKit kit = new HTMLEditorKit();
                Document doc = kit.createDefaultDocument();
                kit.read(r,doc,0);
                return doc;
                } // workaround for HTMLEditorKit.Parser, cant deal with "content-encoding"
                private InputStream filterTag(InputStream in) throws IOException {
                    DataInputStream dins = new DataInputStream( in);
                    ByteArrayOutputStream bos = new ByteArrayOutputStream(10000);
                    DataInputStream din = new DataInputStream(new BufferedInputStream(in));
                    while (din.available() > 0) {
                    String line = din.readLine();
                    String lline = line.toLowerCase();
                    if (0 <= lline.indexOf("<meta ")) // skip meta tags
                    continue;
                    bos.write( line.getBytes());
                    din.close();
                    return new ByteArrayInputStream( bos.toByteArray());
                public int getColumnCount() {
                    return columnNames.length;
                public int getRowCount() {
                    return data.length;
                public String getColumnName(int col) {
                    return columnNames[col];
                public Object getValueAt(int row, int col) {
                    return data[row][col];
                public Class getColumnClass(int c) {
                    return getValueAt(0, c).getClass();
                public boolean isCellEditable(int row, int col) {
                if (col >< 1) {
                    return false;
                } else {
                    return true;
    public class FileTableCellEditor extends JScrollPane implements TableCellEditor , TableCellRenderer
        public JTextComponent jtext;
        JEditorPane editor;
        HTMLEditorKit kit = new HTMLEditorKit();
        HTMLDocument doc = new HTMLDocument();;
        private EventListenerList listenerList = new EventListenerList();
        private ChangeEvent event = new ChangeEvent(this);
        public FileTableCellEditor()
        editor = new JEditorPane();
        editor.setContentType("text/html");
        doc=new HTMLDocument();
        editor.addMouseListener(new MouseHandler());
        editor.setEditorKit(kit);
        editor.setDocument(doc);
        editor.setEditable(true);
        editor.setCaretColor(Color.RED);
        getViewport().setView(editor);
        setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        public Component getTableCellRendererComponent(JTable table, Object value,
        boolean isSelected, boolean hasFocus, int row, int column)
            // System.out.println("has focus: "+hasFocus+", isSelected: "+isSelected);
            if (isSelected)
            table.editCellAt(row,column);
        table.editCellAt(row,column);
        return getTableCellEditorComponent(table,value,isSelected, row, column);
        public Component getTableCellEditorComponent(JTable table,
        Object value, boolean isSelected, int row, int column)
        editor.setDocument((Document)value);
        return this;
        public boolean isCellEditable(EventObject anEvent)
        { return true;
        public boolean shouldSelectCell(EventObject anEvent)
        { return true;
        public void cancelCellEditing()
        { fireEditingStopped();
        public boolean stopCellEditing()
        { return true;
        public Object getCellEditorValue()
        { return null;
        public void addCellEditorListener(CellEditorListener l)
        { listenerList.add(CellEditorListener.class, l);
        public void removeCellEditorListener(CellEditorListener l)
        { listenerList.remove(CellEditorListener.class, l);
        protected void fireEditingStopped()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingStopped(event);
        protected void fireEditingCanceled()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingCanceled(event);
            ///////////createPopupMenu///////////////
            protected JPopupMenu createPopupMenu()
            JPopupMenu popup =new JPopupMenu();
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.cutAction)).setAccelerator(null);
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.copyAction)).setAccelerator(null);
            popup.add(getTextComponent().getActionMap().get(HTMLEditorKit.pasteAction)).setAccelerator(null);
            popup.addSeparator();
            popup.add(getTextComponent().getActionMap().get("font-bold"));
            popup.add(getTextComponent().getActionMap().get("font-italic"));
            popup.add(getTextComponent().getActionMap().get("font-underline"));
            //popup.add(getTextComponent().getActionMap().get("break"));
            return popup;
        public JTextComponent getTextComponent()
             return jtext;
        protected class MouseHandler extends MouseAdapter{
           public void mouseReleased(MouseEvent me){
               if(me.getButton()==MouseEvent.BUTTON3){
               Point p=me.getPoint();
               createPopupMenu().show((Component)me.getSource(),p.x,p.y);
    }

    I got the pop up to work, I had to go back to and add a createActionTable editor that is a JEditorPane, vs the JTextComponent!
    Here is the latest version:
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.HashMap;
    import javax.swing.*;
    import javax.swing.undo.*;
    import javax.swing.event.*;
    import javax.swing.text.*;
    import javax.swing.table.*;
    import javax.swing.text.html.*;
    import javax.swing.undo.*;
    import javax.swing.border.*;
    import javax.swing.filechooser.*;
    public class SimpleTableDemo extends JFrame {
        public SimpleTableDemo() throws Exception {
            final JTable table = new JTable(new MyTableModel());
            table.setPreferredScrollableViewportSize(new Dimension(500, 70));
            TableColumn fileColumn = table.getColumnModel().getColumn(2);
            FileTableCellEditor editor = new FileTableCellEditor();
            fileColumn.setCellRenderer(editor);
            fileColumn.setCellEditor(editor);
            JScrollPane scrollPane = new JScrollPane(table);
            getContentPane().add(scrollPane, BorderLayout.CENTER);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                System.exit(0);
                table.setRowHeight(100);
            public static void main(String[] args) throws Exception {
                SimpleTableDemo frame = new SimpleTableDemo();
                frame.pack();
                frame.setVisible(true);
            class MyTableModel extends AbstractTableModel {
                String[] columnNames = {"First Name","Last Name","HTML File"};
                public Object[][] data;
                MyTableModel() throws Exception
                    data = createArray();
                private Object[][] createArray() throws Exception
                    Object[][] data = {{"One", "Andrews", createDoc("file1.html")}
                return data;
                private Document createDoc(String url) throws Exception
                    File file = new File(url);
                    URL baseURL = file.toURL();
                    InputStream in = baseURL.openStream();
                    InputStreamReader r = new InputStreamReader(filterTag(in));
                    HTMLEditorKit kit = new HTMLEditorKit();
                Document doc = kit.createDefaultDocument();
                kit.read(r,doc,0);
                return doc;
                } // workaround for HTMLEditorKit.Parser, cant deal with "content-encoding"
                private InputStream filterTag(InputStream in) throws IOException {
                    DataInputStream dins = new DataInputStream( in);
                    ByteArrayOutputStream bos = new ByteArrayOutputStream(10000);
                    DataInputStream din = new DataInputStream(new BufferedInputStream(in));
                    while (din.available() > 0) {
                    String line = din.readLine();
                    String lline = line.toLowerCase();
                    if (0 <= lline.indexOf("<meta ")) // skip meta tags
                    continue;
                    bos.write( line.getBytes());
                    din.close();
                    return new ByteArrayInputStream( bos.toByteArray());
                public int getColumnCount() {
                    return columnNames.length;
                public int getRowCount() {
                    return data.length;
                public String getColumnName(int col) {
                    return columnNames[col];
                public Object getValueAt(int row, int col) {
                    return data[row][col];
                public Class getColumnClass(int c) {
                    return getValueAt(0, c).getClass();
                public boolean isCellEditable(int row, int col) {
                if (col < 1) {
                    return false;
                } else {
                    return true;
    public class FileTableCellEditor extends JScrollPane implements TableCellEditor , TableCellRenderer
        JEditorPane editor = new JEditorPane();
        HTMLEditorKit kit = new HTMLEditorKit();
        HTMLDocument doc = new HTMLDocument();;
        private EventListenerList listenerList = new EventListenerList();
        private ChangeEvent event = new ChangeEvent(this);
        HashMap<Object, Action> actions;
        public FileTableCellEditor()
        getContentPane();
        editor.setContentType("text/html");
        doc=new HTMLDocument();
        editor.addMouseListener(new MouseHandler());
        editor.setEditorKit(kit);
        editor.setDocument(doc);
        editor.setEditable(true);
        editor.setCaretColor(Color.RED);
        getViewport().setView(editor);
        createActionTable(editor);
        makeActionsPretty();
        setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED);
        setHorizontalScrollBarPolicy(JScrollPane.HORIZONTAL_SCROLLBAR_AS_NEEDED);
        public void makeActionsPretty(){
             Action a;
                      a=editor.getActionMap().get(HTMLEditorKit.cutAction);
                      a.putValue(Action.SHORT_DESCRIPTION,"Cut");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('X',Event.CTRL_MASK));
                      a=editor.getActionMap().get(HTMLEditorKit.copyAction);
                      a.putValue(Action.NAME,"Copy");
                      a.putValue(Action.SHORT_DESCRIPTION,"Copy");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('C',Event.CTRL_MASK));
                      a=editor.getActionMap().get(HTMLEditorKit.pasteAction);
                      a.putValue(Action.NAME,"Paste");
                      a.putValue(Action.SHORT_DESCRIPTION,"Paste");
                      a.putValue(Action.ACCELERATOR_KEY,KeyStroke.getKeyStroke('V',Event.CTRL_MASK));
        public Component getTableCellRendererComponent(JTable table, Object value,
        boolean isSelected, boolean hasFocus, int row, int column)
            if (isSelected)
            table.editCellAt(row,column);
        table.editCellAt(row,column);
        return getTableCellEditorComponent(table,value,isSelected, row, column);
        public Component getTableCellEditorComponent(JTable table,
        Object value, boolean isSelected, int row, int column)
        editor.setDocument((Document)value);
        return this;
        public boolean isCellEditable(EventObject anEvent)
        { return true;
        public boolean shouldSelectCell(EventObject anEvent)
        { return true;
        public void cancelCellEditing()
        { fireEditingStopped();
        public boolean stopCellEditing()
        { return true;
        public Object getCellEditorValue()
        { return null;
        public void addCellEditorListener(CellEditorListener l)
        { listenerList.add(CellEditorListener.class, l);
        public void removeCellEditorListener(CellEditorListener l)
        { listenerList.remove(CellEditorListener.class, l);
        protected void fireEditingStopped()
        { Object[] listeners = listenerList.getListenerList();
        for (int i = listeners.length - 2; i >= 0; i -= 2)
        ((CellEditorListener)listeners[i+1]).
        editingStopped(event);
        protected JPopupMenu createPopupMenu()
            JPopupMenu popup =new JPopupMenu();
            popup.add(getActionByName(DefaultEditorKit.cutAction));
            return popup;
        protected class MouseHandler extends MouseAdapter{
           public void mouseReleased(MouseEvent me){
               if(me.getButton()==MouseEvent.BUTTON3){
               Point p=me.getPoint();
               createPopupMenu().show((Component)me.getSource(),p.x,p.y);
        private void createActionTable(JTextComponent textComponent) {
            actions = new HashMap<Object, Action>();
            Action[] actionsArray = textComponent.getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    private Action getActionByName(String name) {
    return actions.get(name);

  • ICal 5.0.3 Repeat pop-up menu not appearing

    I created a new calendar and then copied events from the previous year into it. Now I'm trying to set events to repeat yearly, but when I pull up the event, I'm not getting the pop-up menu that allows me to reset the time or repetition. This problem only seems to happen in the events I copied from the previous calendar. Is there anything I can do, short of re-typing each event?

    Using iCal 5.0.3, I used to see a "repeat" option for events on my MacBook Pro (OS X 10.7.5) and on my iPhone 4S (iOS 5.1.1), but the option has disappeared, both for new events and for existing events opened for editing.  iCal on both the MBP on iPhone syncs to iCloud. 
    What could have happened to the "repeat" option?

  • How can I show a pop up menu based on the selection in a previous pop up menu?

    For example, if "Company" is selected in a pop up menu in C6, then show another pop up menu in C7. if "Bob" is selected in a pop up menu C7, show another pop up menu that contains the talks "Bob" has in C8.
    I am trying to create a talk scheduling spreadsheet with different talk outlines for different speakers. I'm not sure if there are any functions or formulas that can accomplish this. Can anyone help?

    Pop-up menus contain fixed values in Numbers. You might be able to do this using Steppers or sliders. These produce a numerical result, which could be used to direct a second slider or stepper's output to a specific column or table.
    If you can provide a map of the structure of your list(s), there may be someone here able to take on the task of constructing the tools to do the job.
    Regards,
    Barry

  • Can I change the fill color of an entire row based on what's selected in a pop-up menu in the first cell?

    I have a pop-up menu in the first cell of every row with three choices (and I may add more at a later date).  I want the fill color of the row to change depending on which thing is selected.  Is this hard to do?

    Hi,
    In essence the same as Wayne's answer, but with a slight modification to fit  to duplicate your 'color the whole row' specification. The final result, with Table 2 slid behind Table 1, is shown.
    Table 2 is a single column table with the same number of rows as Table 1. The table is resized to match the full width of Table 1.
    In A2, use the formula =Table 1::A2 to copy the value from that cell in Table 2. Fill the formula down through the rest of the column.
    Select all the cells in Table 2 (except the header row), and apply conditional formatting rules such as those below.
    Note that the Conditional Format rules are set to apply the same colour to text and fill in the cell, so that the text disappears.
    When Table 2 is ready, select it, then go Arrange > Send to Back.
    Before sliding Table 2 behind Table 1, Select Table 1 and use the Table Inspector to set the Cell Background to None (see red arrow in illustration). If This table has a Header column, you need to select the header cells independently and again set the Cell Background to None.
    Now select Table 2 and drag it to a position partially under Table 1. When you see the blue alignment guides on both sides, or at the top and bottom, of Table 1, release the mouse button and use the arrow keys to nudge Table 2 into its final position.
    Regards,
    Barry

  • Best way to create pop-up menu's

    Hi All,
    I have been having a heck of a time doing something that i
    would have assumed to be relatively simple - specifically creating
    a pup-up menu.
    My first set of approach was to dynamically create a movie
    clip on a button rollover, and within that movieclip create several
    other movie clips that i then assigned actions too. The problem was
    that since i applied a action on "rollout" on the initial movie
    clip, it became a button, and as such all of the sub
    movieclips/buttons became in active (any click was only detected on
    the parent).
    My second set of attempts have been around the MenuComponent
    (see other posts), but here too i have hit problems, initially with
    animation and depth. I solved the animation issue, but the depth
    problem remains.
    Now, i see pop-up menu's everywhere, so i assume that this is
    a relatively simple problem - so what am i missing. A google search
    showed up lots of examples of how to do using menu that are created
    in the UI (rather than purely in AS), using purchased components.
    The first case is not an option since i need to create it fully
    dynamically, the second would be an option - however i typically
    need a far greater level of visual control than off the shelf
    components provide (hence i have needed to build up my own class
    library for many common tasks).
    So after all that, i have a simple question.
    "What is the best way to create a dynamic popup menu in
    AS2?"
    Regards
    Neil

    I guess you want to make your own popup menu, if I understand
    correctly. Nothing simpler, your first attempt was in the right
    direction, you just don't assign button actions to the parent clip,
    because you won't get the child clips to work, but add another
    child at the lowest level inside the parent, that acts as a
    "background" clip/button.
    And for the rollout for the entire popup, you can add a
    transparent clip just under the popup (which is at the currently
    topmost depth) covering the entire stage, give it rollover that
    acts as your rollout, and make it not use the hand currsor, so you
    can't tell it's there.
    That's how I do it, anyways..

  • Dreamweaver 8 Behaviors for pop-up menu

    I am a novice user of Dreamweaver 8. I created a site using
    pop-up Behaviors for a dropdown navigation bar. I've read about a
    lot of problems others are having, but part of my problem I have
    not been able to locate anywhere.
    After I created my template and want to save changes to the
    template and update the files based on this template, I go thru a
    series of JavaScript errors. It never updates any files in the end
    and sometimes shuts down the program. An example of ONE of the
    error messages is:
    At line 1654 of file "C:\Program Files\Macromedia/Dreamweaver
    8\Configuration\Behaviors\Actions\Show Pop-up Menu.js": The
    function saveDocument() is currently unavailable.
    The more pages attached, the more error messages I get....
    all are .js errors.
    The other problem is the links from the pop-up. I've double
    checked them in the behavior pop-up menu... they appear to be
    correct and sometimes work, but not all the time.
    Everything I read says that I should create the navigation
    with pop-ups (drop down menus) in Fireworks. Is Dreamweaver that
    unreliable that this can't be done within itself?
    If anyone can tell me what I'm doing wrong to receive these
    errors and how to correct my links so they are reliable, I would
    very much appreciate it. I have recreated this site 6 times and the
    errors are consistent.
    Thanks, cjbyrnes

    >I am a novice user of Dreamweaver 8. I created a site
    using pop-up
    >Behaviors
    > for a dropdown navigation bar. I've read about a lot of
    problems others
    > are
    > having, but part of my problem I have not been able to
    locate anywhere.
    You read about all these problems, yet you pressed ahead and
    used them? Why?
    DW's Pop-up menus are incompatible with DW's templates.
    Embarrassingly sad,
    but true.
    Did you read about and investigate any of the many
    alternatives posted?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "cjbyrnes" <[email protected]> wrote in
    message
    news:[email protected]...
    >I am a novice user of Dreamweaver 8. I created a site
    using pop-up
    >Behaviors
    > for a dropdown navigation bar. I've read about a lot of
    problems others
    > are
    > having, but part of my problem I have not been able to
    locate anywhere.
    >
    > After I created my template and want to save changes to
    the template and
    > update the files based on this template, I go thru a
    series of JavaScript
    > errors. It never updates any files in the end and
    sometimes shuts down the
    > program. An example of ONE of the error messages is:
    > At line 1654 of file "C:\Program
    Files\Macromedia/Dreamweaver
    > 8\Configuration\Behaviors\Actions\Show Pop-up Menu.js":
    The function
    > saveDocument() is currently unavailable.
    > The more pages attached, the more error messages I
    get.... all are .js
    > errors.
    >
    > The other problem is the links from the pop-up. I've
    double checked them
    > in
    > the behavior pop-up menu... they appear to be correct
    and sometimes work,
    > but
    > not all the time.
    >
    > Everything I read says that I should create the
    navigation with pop-ups
    > (drop
    > down menus) in Fireworks. Is Dreamweaver that unreliable
    that this can't
    > be
    > done within itself?
    >
    > If anyone can tell me what I'm doing wrong to receive
    these errors and how
    > to
    > correct my links so they are reliable, I would very much
    appreciate it. I
    > have
    > recreated this site 6 times and the errors are
    consistent.
    >
    > Thanks, cjbyrnes
    >

  • Customizing Sorting Pop-Up Menu

    I've looked on all the forums, can't find answer to this specific question.
    I'm using Aperture 1.5.6, but will take an answer on 2.0 too.
    I don't use most of the "default" categories established in the Sorting Pop-up Menu. But I do use other categories, like IMPORT GROUP, to sort pictures. Each time I want to see pictures according to category not in default I have to go to the List View and click on category. I cannot figure out a way to save this sort or add this category to "default" list.
    Is there a way, a workaround?
    Thanks.

    Be wary of editing pop-up menus in Numbers. Altering any menu that has been set will change the menu AND its current setting.
    See Alphabetizing pop-up menu, particularly the entries by Badunit and Hiroto.
    Regards,
    Barry

  • Rollovers with Pop up Menu

    The last time I tried to do rollovers with a pop up menu in
    Dreamweaver 8. It wouldn't work. So I'm searching for another way
    to do it.
    I created navigation using Fireworks - follow link below to
    example. But when I mouse over the rollover that has a pop up menu
    attached to it (First link on the left) the rollover images
    disappear. Also the drop down menu tends to hang down longer than I
    would like.
    Can my problems be fixed? Is Fireworks the right tool for
    this task?
    I had down loaded a trial of the latest version of
    Dreamweaver a few months ago and it seemed that this feature had
    been deprecated, but there was some sort of plug-in. I'm far from a
    casual user, but it was beyond me for the weekend I tried to use
    it. Also, this is a bad time for me to invest in new software or
    upgrades.
    Any assistance would be greatly appreciated.
    Example of rollover and
    pop up menu problem

    Don't use Fireworks to make HTML,
    especially interactive HTML. Fireworks is a great tool for
    making Web graphics, but it is
    NOT
    good for making HTML. Don't go there. You won't be happy.
    Read this:
    The
    Sordid Tale of mm_menu and fw_menu.js and then save yourself
    loads of frustration and go buy yourself a professional menu.
    What's your billing rate? At $20/hr a $100 professional menu that
    works, cross-browser, beautifully, is going to save you more
    than 5 hours of hassle trying to get this stuff in Fireworks to
    halfway...kinda...function...almost.
    I don't use these kind of menus, but I've seen this question
    asked often enough to know that one recommendation is the code from
    Project
    7.

  • Show Pop-Up Menu error

    I'm having a problem with my site menu. The site works off a
    template and all links are created in the template. I have a
    central menu bar with rollover buttons, each with their own
    drop-down menu (using the Show Pop-Up Menu behavior). When tested
    in the browser, the menu drops down on mouse-over as it's supposed
    to, but when the links in the drop-down menu are clicked on, an
    error page comes up. The directory path specified in the Pop-Up
    Menu behavior is correct, but changes inexplicably when tested in
    the browser. All other links in the site (not in drop-down menu
    format) function as they're supposed to. I have no clue how to fix
    this problem. I think there may be a script error in the mm_menu.js
    file which is automatically created by Dreamweaver, but am not sure
    how to go about correcting this. Any ideas?

    > When creating pop-up menus everything works fine
    You just think. Read this (written by the person who adapted
    the original
    Netscape code for Macromedia) -
    http://www.losingfight.com/blog/2006/08/11/the-sordid-tale-of-mm_menufw_menujs/
    Those menus are a plague.
    Anyhow, try this -
    Troubleshooting JavaScript errors in Dreamweaver
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19105#dat
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "montagrc" <[email protected]> wrote in
    message
    news:f2uhti$m9b$[email protected]..
    > When creating pop-up menus everything works fine,
    however, when I need to
    > go in
    > and edit a link, this error keeps occuring:
    >
    > "When executing inspectBehaviour in Show pop up
    menu.htm, the following
    > Javascript error(s) occured:
    >
    > At line 492 of file "C:\...Dreamweaver
    > 8\Configuration\Behaviours\Actions|Show
    > Pop -up Menu.js";
    > TypeError: T.update is not a function."
    >
    > Anyone seen this before, noone in my workplace has, nor
    has googling
    > yielded
    > any answers. Any thoughts/ideas/help greatly
    appreciated.
    >
    > Using Dreamweaver 8, no extensions, update 8.02
    >

  • Behaviors Pop Up Menu

    I have been using adding the behavior 'Show Pop Up Menu' to create a drop down list for my link menu. I add all the page links and upload. It works fine on the website. However if I try to change anything the next time I open the page in dreamweaver it has lost all the links.
    In the events box I have still got On mouse out - hide menu etc but when I double click on On mouse over - show pop up menu all the links and text have dissapeared in the Contents section of the wizard part.
    Can anyone help me with where I am going wrong. As everytime I want to make a change I have to re add all the pages and all the links.
    Thanks in advance
    Rachel

    Thank you, I am using Dreamweaver MX.
    I am a novice and have sort of understood that link you gave me! Basically does it mean that the show pop up menu behaviour is rubbish and there is no solution to my problem!?!
    x

Maybe you are looking for