Moving buttons and their listeners to separate classes

Hi
I am trying to move out buttons and their listeners to separate classes, but when I do so, the program stops working. When I click on the button they dont react, probably the listeners doesent listens as the action performe prints out testprints.
In other words, I have huge troubles with do my gui object oriented. I doesent seem to be able to move out relevant listener methods and their components to separate classes.
Here is the code for one add button that I have tried to write in a separate class:
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.sql.SQLException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JPanel;
import se.cs.DB.DBMovie;
import se.cs.inputvalidation.PatternsMovie;
import se.cs.main.Main;
import se.cs.main.MessageArea;
public class ButtonAddMovie {
     private DBMovie init = new DBMovie();
     private ComboBoxesMovie comboBoxesMovie = new ComboBoxesMovie();
     private TextFieldsMovie textFieldsMovie = new TextFieldsMovie();
     private PatternsMovie patternsMovie = new PatternsMovie();
     private MessageArea messageArea = new MessageArea();
     private Pattern patternYear;
     private Pattern patternSection;
     private Pattern patternExFields;
     private Matcher matcherYear;
     private Matcher matcherSection;
     private Matcher matcherTotalEx;
     private Matcher matcherExIn;
     private Matcher matcherExOut;
     private String genreString;
     // Initializes the button components
     private JButton addButton = new JButton("Add");
     public ButtonAddMovie() {
          listener();
     public void listener() {
          addButton.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent e) {
                    addButton(e);
     public void addButton(ActionEvent e) {
          genreString = comboBoxesMovie.convertGenreIndex();
          regex();
     public void regex() {
          patternYear = Pattern.compile(patternsMovie.getYEAR_FIELD());
          patternSection = Pattern.compile(patternsMovie.getSECTION_FIELD());
          patternExFields = Pattern.compile(patternsMovie.getExFields());
          matcherYear = patternYear.matcher(textFieldsMovie.getTextYear());
          matcherSection = patternSection.matcher(textFieldsMovie.getTextYear());
          matcherTotalEx = patternExFields.matcher(textFieldsMovie
                    .getTextTotalEx());
          matcherExIn = patternExFields.matcher(textFieldsMovie.getTextExIn());
          matcherExOut = patternExFields.matcher(textFieldsMovie.getTextExOut());
          if (matcherYear.matches() && matcherSection.matches()
                    && matcherTotalEx.matches() && matcherExIn.matches()
                    && matcherExOut.matches()) {
               messageArea.getMessageArea().setText("");
               callInsertStatement();
               JOptionPane.showMessageDialog(null, this.messageDialog(),
                         "Movie added", JOptionPane.INFORMATION_MESSAGE);
          else if (!matcherYear.matches()) {
               messageArea.getMessageArea().setText(
                         "The input for year field does not match.\n"
                                   + "You have to enter 4 digits.");
          else if (!matcherSection.matches()) {
               messageArea.getMessageArea().setText(
                         "The input for section field does not match.\n"
                                   + "You have to enter 1-4 digits.");
          else if (!matcherTotalEx.matches()) {
               messageArea.getMessageArea().setText(
                         "The input for total ex field does not match.\n"
                                   + "You have to enter 1.");
          else if (!matcherExIn.matches()) {
               messageArea.getMessageArea().setText(
                         "The input for ex in does not match.\n"
                                   + "You have to enter 1 digit.");
          else if (!matcherExOut.matches()) {
               messageArea.getMessageArea().setText(
                         "The input  for ex out does not match.\n"
                                   + "You have to enter 1 digits.");
     public void callInsertStatement() {
          try {
               init.insertStatement(textFieldsMovie.getTextTitle(),
                         textFieldsMovie.getTextYear(), genreString, comboBoxesMovie
                                   .convertGradeIndex(), textFieldsMovie
                                   .getTextSection(),
                         textFieldsMovie.getTextTotalEx(), textFieldsMovie
                                   .getTextExIn(), textFieldsMovie.getTextExOut());
          } catch (SQLException ex) {
               ex.printStackTrace();
     public String messageDialog() {
          int grade = comboBoxesMovie.getGradeBox().getSelectedIndex() + 1;
          String title = textFieldsMovie.getTitleField().getText();
          String year = textFieldsMovie.getYearField().getText();
          String section = textFieldsMovie.getSectionField().getText();
          String totalEx = textFieldsMovie.getTotalExField().getText();
          String exIn = textFieldsMovie.getExInField().getText();
          String exOut = textFieldsMovie.getExOutField().getText();
          return "\n" + "Title: " + title + "\n" + "Year: " + year + "\n"
                    + "Genre: " + comboBoxesMovie.convertGenreIndex() + "\n"
                    + "Grade: " + grade + "\n" + "Section: " + section + "\n"
                    + "Total ex.: " + totalEx + "\n" + "Ex. in: " + exIn + "\n"
                    + "Ex. out: " + exOut + "\n";
      * Gets the addButton
      * @return addButton
     public JButton getAddButton() {
          return addButton;
     }

I said "don't" cross-post and that the discussion has already been started in the "New To Java" forum.
If you have two discussions going on then people waste time answering because they don't know what has already been suggested.

Similar Messages

  • Moving masters and their versions between libraries?

    Is it possible to move masters and their versions between libraries?

    the best and easiest way (that i have found) is to create a new project and put the masters and versions in there ... use export project to "extract" and then import the project in the different library ...
    this is if you only want to move one or two masters/versions, if you want the whole project disregard creating the new one and moving images ...

  • Hi there... I need a little help with buttons and their actions using flex builder 4.5

    I run a repo company and have zero experience in the developing applications and I could use some help from anybody that is willing to give it.... Here is a basic idea of what I need...  let's say there are 3 states... state 1 has a question that says "car you read this?" and a "yes" and a "no" button... when you select either answer, you go to slide 2.  Slide 2 with have a question like "Is the sky brown?" and a "yes" and a "no" button and when either button is selected, you are taken to Slide 3.  Slide 3 needs to be some sort of a text form that is created by the user selecting the buttons and the screen would say something like "yes, i can read this.  no, the sky is not brown", or "no, I can't read this.   yes, the sky is brown" .  I know how to get the buttons to take the user to the correct new slide, but I do not know how to get the buttons to insert specific text somewhere else when any button is selected.... Can anybody help me?  Youtube is only getting me so far, and my kids are driving me nuts while I'm trying to figure this monster out...  I've gotten several slides created and some screens have several buttons, I just need to see what I need to put in the code to get it to do this type of function 

    Also where can I read up on setting my .Xdefaults and xmonad.hs file? I ripped someones from this forum, and it works nice, but I want to make my onw, but cant find any decent documentation. Thanks.
    At the moment, the best source for configs are those posted in the screenshots thread (for both Xdefaults and xmonad.hs), the xmonad config archive (and the available docs from the root page on that site), and our own thread.  Unfortunately you'll have to sort of scrounge for good docs on the xmonad.hs at the moment, since most of the information was written for the 0.4 version of xmonad.  The configuration has since been made MUCH simpler.
    Hope that helps some.

  • Help needed regarding buttons and action listeners!

    Hey,
    Im designing an applet and im trying to create it so that when a button is pressed a new Draw object is drawn, I have read up about action listeners but im not totally sure where they need to be inserted
    Ive posted my code below so hopefully someone out there wll be able to see what im working with!
    Thank you in advance
    public class ImageWithMulti extends Applet {
        Image image;
        public void init () {
            image = getImage(getDocumentBase(),
                getParameter("Channel"));
        public void paint(Graphics g) {
            g.drawImage(image, 0, 0, this);
            drawMultiDown1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   //2nd number changes left sided position up or down
            drawMultiUp1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiUp2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiDown2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white); 
            drawMultiUp3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   
           drawMultiDown3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiDown4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp5
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);

    hi,
    i've modify your code. but i've commented your some original code because i was getting error...
    please check the code...
    import java.awt.event.*;
    import java.applet.*;
    import java.awt.*;
      <applet code="ImageWithMulti.class" width=100 height=140></applet>
    public class ImageWithMulti extends Applet implements ActionListener {
        Image image;
        Button btnClick = null;
        public void init () {
            /*image = getImage(getDocumentBase(),
                getParameter("Channel"));*/
              btnClick = new Button("Click");
              add(btnClick);
              btnClick.addActionListener(this);
        public void paint(Graphics g) {
            g.drawImage(image, 0, 0, this);
           /* drawMultiDown1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   //2nd number changes left sided position up or down
            drawMultiUp1
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiUp2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
            drawMultiDown2
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white); 
            drawMultiUp3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);   
           drawMultiDown3
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiDown4
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);
           drawMultiUp5
        (g, 0, 0, getSize().width, getSize().height, 25, new Color(0).white);*/
         public void actionPerformed(ActionEvent ae){
              if(ae.getSource() == btnClick){
                   System.out.println("Hey");
    }dhaval..

  • Best practice to remove and reassign listeners to button

    Hello,
    I'm trying, to remove and then reassign an MouseEvent.CLICK to a on stage button, using a second on stage button.
    when first button is released, it works fine, but when 2nd is released, the 1st one MouseEvent should be cleared and re-assigned a second listenner.
    what I'm missing here?
    example code
    bt_ok.addEventListener(MouseEvent.CLICK, log_in);
    bt_pesquisa.addEventListener(MouseEvent.CLICK, pesquisar);
    function log_in(e:MouseEvent) {
         var btn = getChildByName("bt_pesquisa");
         if(btn.hasEventListener(MouseEvent.CLICK)) {
              trace("existe um listener activo");
              if(btn.removeEventListener(MouseEvent.CLICK, pesquisar)) {
                   trace ("1 remocao");
                   btn.addEventListener(MouseEvent.CLICK, pesquisar_2)
              } else {
                  trace ("not removed");
    thanks for help
    Pluda

    Hello, thanks for reply
    I get not removed, but my 2 buttons looses their listeners
    actual code, the same trace results
    import flash.events.*;
    import fl.controls.Button;
    bt_ok.addEventListener(MouseEvent.CLICK, log_in);
    bt_pesquisa.addEventListener(MouseEvent.CLICK, pesquisar);
    function log_in(e:MouseEvent) {
    var btn=getChildByName("bt_pesquisa");
    if (btn.hasEventListener(MouseEvent.CLICK)) {
    trace("existe um listener activo");
    if (! btn.removeEventListener(MouseEvent.CLICK,pesquisar)) {
    trace("not removed");
    } else {
    trace("1 remocao");
    btn.addEventListener(MouseEvent.CLICK, pesquisar_2);
    function pesquisar(e:MouseEvent) {
    trace("pesquisar");
    function pesquisar_2(e:MouseEvent) {
    trace("pesquisar 2");

  • Adding a menu and moving buttons

    I have 6 menus that were created by dragging my video track in and selecting set assest and create chapter markers. I set the chapter markers in final cut.
    The show is in 2 Acts. However, my video assest is all one continuous track with chapter markers set for each song. There are 33 chapter markers and the program created 6 menus to accommodate all of the song choices.
    I created a "go to ACT 2 menu" button on menu. Selecting this button is set to go to menu #4. However, this menu has the end of ACT 1 buttons and my first track of ACT 2 as well. What is the simplest way to separate the tracks on this menu and push everything forward? I think I need to create at least one more menu to contain all of the songs. I'm not sure how to approach taking buttons with songs associated with them and moving them to another menu.
    DVDSP 4
    thx!!

    Simply cutting and pasting the buttons from one menu to another should keep their assets and targets.
    However, your description of the chapter index menu creation process sounds a little strange.
    I would recommend applying the index template you are starting with to a new menu, then customize it with the number of buttons you want. make sure to keep the buttons named PREV UP and NEXT, as these names are used for the buttons that navigate between the different index menus.
    Once you have customized the menu, use it to create a new template.
    Now take your track and option-drag it to the button on your main menu that will connect to the chapter index menus and choose "create chapter index: make connections". This is not the button for which you should use the track as the asset.
    DVDSP will ask you to choose your chapter index template. Now each chapter should show up as the motion thumbnail for each chapter button.
    Hope this helps -
    Max Average

  • Why does the new operating system not delete the moved files from their original location - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it

    Why does the new operating system not delete the moved files from their original locations - it seems like an enormous waste of space, time and effort to clean up every file once you've moved it - also, when transferring large amounts of files it becomes a very large problem remembering which files were transferred and which not.

    You're going to need to be more specific, as I'm not quite sure I understand what you're talking about.
    If you're referring to copying from an external hard drive or flash drive, and you want to actually move files rather than copy them, you can hold down the option key to force it to do a "move" rather than a "copy." This is not new behavior, though... the Mac OS has worked this way as long as I can recall (and I've been using it since 1984).
    If you're having a problem with trying to move files from one place to another on a single drive causing them to be copied instead, that is likely because of some permissions issue preventing you from actually being able to move them.

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • My wife and i both have an itunes library installed on to our separate pc's, we are now de-commissioning the pc's and are moving over to a single mac mini, can we install both libraries on to the mac mini and run them as separate libraries?

    my wife and i both have an itunes library installed on to our separate pc's, we are now de-commissioning the pc's and are moving over to a single mac mini, can we install both libraries on to the mac mini and run them as separate libraries?

    graham218 wrote:
    are moving over to a single mac mini, can we install both libraries on to the mac mini and run them as separate libraries?
    Generally YES.
    It's possible to hold separate iTunes library's on a single machine.
    Generate two new folders inside the Music folder of the Mini and name them differently; e.g. man and woman.
    Copy your whole library into "man" and your wifes into "woman"
    Go to sharing in the system settings of the Mini and share the Music folder in your network.
    After copying the whole library's to the Mini you may point iTunes to the new location at startup by holding the option key (alt) at the keyboard.
    iTunes will then ask you where the library is located.
    Point it to the matching library on the Mini.
    That's all.
    Lupunus
    PS ... If you both use only the Mini you have to setup a user account for each and just copy the whole library to the Music folder in particular.
    Message was edited by: lupunus

  • [svn:osmf:] 14521: ChromeLibrary: moving live and recording buttons to the left hand side of the control bar , and making the button backdrops a little bigger.

    Revision: 14521
    Revision: 14521
    Author:   [email protected]
    Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010)
    Log Message:
    ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops a little bigger.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/assets/control bar.ai
        osmf/trunk/libs/ChromeLibrary/assets/images/eject_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenEnter_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenLeave_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/pause_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/play_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_up.png
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBar.as

    Revision: 14521
    Revision: 14521
    Author:   [email protected]
    Date:     2010-03-02 12:47:27 -0800 (Tue, 02 Mar 2010)
    Log Message:
    ChromeLibrary: moving live and recording buttons to the left hand side of the control bar, and making the button backdrops a little bigger.
    Modified Paths:
        osmf/trunk/libs/ChromeLibrary/assets/control bar.ai
        osmf/trunk/libs/ChromeLibrary/assets/images/eject_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenEnter_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/fullScreenLeave_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/live_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/minus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/pause_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/play_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/plus_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityAuto_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/qualityManual_up.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_disabled.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_down.png
        osmf/trunk/libs/ChromeLibrary/assets/images/record_up.png
        osmf/trunk/libs/ChromeLibrary/src/org/osmf/chrome/controlbar/ControlBar.as

  • List of variables and their classes from working script?

    I have a working script that has many variables containing finder references and file path descriptions as strings or Unicode text. It is not easy to remember what these variables refer to. Is it possible to get a listing of all of a scripts variables and their respective class?

    The only way I've seen to do this is with Script Debugger, an alternative script editor that has significant debugging tools such as breakpoints, stepping, variable inspection and more.

  • Moving ok and cancel buttons

    Hi,
    When I do JOptionPane.showOptionDialog(...);
    Can anyone tell me how to make the ok and cancel buttons appear at the bottom right of the dialog instead of the bottom center.
    Thanks,
    Jim

    Sure, use another panel as a spacer thusly:
    | |
    | Other Panels |
    | |
    | Spacer | OK Can|<-position panel contains both panels
    Use BorderLayout for the entire dialog and set a position panel to be SOUTH (If you are using someother layout, add a full panel as a backdrop and move your Other panels into it using NORTH). Add the Spacer panel and 'OK/Cancel' panel to this using GridLayout (2 columns, 1 row).
    There is no restriction, other than memory size, to how many panels you use and their hierarchy.
    Robert Templeton

  • Moving buttons between submenus - and resulting selection order

    OK, I thought I knew how iDVD sequenced its button selections - essentially by cartesian (x, y) coordinates across the screen.
    However in a current project I have cut-and-pasted chapter buttons and groups of chapter buttons from one submenu to another, then arranged them freely to give the appearance I want.
    But when I create the disk image and test the DVD, the button sequence is often all over the place, eg pressing "up" from the forward arrow button selects the second chapter title in the list of five above, rather than either the first or the last.
    So, is there any way in iDVD to force a certain button selection sequence, or to-reorder the button sequence (without of course changing what those buttons point to)?
    Unfortunately myDVDedit does not (yet) allow you to modify the button selection sequence of an existing DVD image, so I need to get it right before I create the image.
    Thanks for any help.

    Sue,
    Thanks - the FAQ got me part of the way there - at least far enough that I could work out the rest myself.
    The problem comes about because pasting a button from one menu to another in "free placement" mode results in a difficult-to-predict button number being assigned to the pasted button.
    The way to fix it is to reselect "snap to grid" on any menu where you have cut-and-pasted buttons. The buttons will drift back to their grid positions in the order that iDVD has assigned. It will then be clear which buttons, if any, are out of sequence. You can then drag buttons while in "snap to grid" mode to reorder them how you want.
    Finally, when done, you can turn off "snap to grid" and place the buttons freely, while still retaining the sequence set by snap to grid.
    Thanks!

  • [svn:osmf:] 12518: Unit tests: moving the utility functions assertThrows, and assertDispatches into a TestCaseEx class.

    Revision: 12518
    Revision: 12518
    Author:   [email protected]
    Date:     2009-12-04 02:28:08 -0800 (Fri, 04 Dec 2009)
    Log Message:
    Unit tests: moving the utility functions assertThrows, and assertDispatches into a TestCaseEx class.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/composition/TestCompositeMetadata.as
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/metadata/TestFacetGroup.as
    Added Paths:
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/flexunit/
        osmf/trunk/framework/MediaFrameworkFlexTest/org/osmf/flexunit/TestCaseEx.as

  • Magic Mouse and MS Word 2011 (under OS 10.7, iMac middle 2011): Marking of word in a document stops after a few seconds while still pressing the left button and keep on moving the mouse (batteries full)

    Software: OS X Lion (10.7.4); Microsoft Word für Mac 2011, Version 14.2.2 (120421)
    Hardware: iMac 2.7 GHz Intel Core i5, 12 GB, magic mouse
    To mark several clauses in a doc-document (in MS Word 2011), I press the left mouse button and move the mouse along the words
    My problem:
    While still pressing the left button and moving the mouse, the marking on the screen stops and I can't change the already existing markings any more (to become less or especially more).
    Who knows:
    - why this happens and how I can abondon this behaviour?
    - is it a settings problem in MS Word 2011 or of OS X Lion?
    By the way:
    - I don't watch this behaviour in MS Excel 2011. There everything works fine.
    - The batteries are fully loaded and I'm about 30 to 40 cm (1") away from the iMac (RSSI: -60 dB)
    Thanks for answers.
    redlef

    I have the same problem now that I've enabled FileVault 2 on Mountain Lion.

Maybe you are looking for

  • How can I moving photos from one roll to an other

    I tried to drag and drop photos from one roll to an other. If the roll has a lot of photos (e.g. 250) I can not scroll down to a roll below. iPhotos does not automatically scroll down when I try to drag them down. How can I scroll or move these down?

  • Forward and back button disabled in regular and safe mode

    just upgraded to beta 8 of ff4 and my navigation buttons don't work have tried uninstalling some add-ons and reinstalling software.

  • Re: Starting a node manager with rsh

    FYI, rsh remote "start_nodemgr > /dev/null" did the trick Even though the start_nodemgr output came back to my remote window it seemed to tie up the remote shell. Thanks for the help Orsini, Francois wrote: Hi, Haven't you tried: rsh remote "nohup st

  • Am unable to restore my mac

    after back up, i hav inserted my installation cd den dis exact message appears " YOU CANT USE THIS VERSION OF THE APPLICATION INSTALL MAC OS X WITH THIS VERSION OF MAC OS X.  YOU HAVE INSTALL MAC OS X 23.1.1". what am i supposed to di inorder to rest

  • How to combine multiple files in CS6

    I am trying to combine multiple files-- book chapters-- into a single editable document in CS6. Tutorials apprea outdated