Getting the text from a text area

I have a application and I wish to take in text typed in from the user into a textArea and then send it into a method however I need to be able to send this information to a static method which accesses a HashTable and then searches for the text inputted by the user word by word. However the getText() wont allow me to access it in a static method and Im not sure of a way around this.
I know I propably haven't explained this very well but any help you can provide is appreciated

OK im going to try and explain a little better.
The main method is currently constructing a HashTable which is then accessed by other methods within the program. Due to this any methods using the HashTable as I understand it must be static. However some of the methods also require input from the user which is entered into a text box in the application. To access this information the method can't be static.
However when i have a method such as this
private static void sendMessage(HashTable theTable, String readMessage)
now as you can see I need to be able to pass it a string and the table.
Problem: How the hell do I do this its driving me nuts.

Similar Messages

  • My computer crashed and my hard drive is wiped out. How do I get the songs from itunes that are loaded on to my ipod back on my computer and in my itunes library?  In the simpliest terms possible, please.

    Anyone able to help me with this...I have to redo my ipod and my husbands...My back up was on my hardrive and now that is gone...All I have is what is on my ipod...

    How to use your iPod to move your music to a new computer

  • Getting the text from a JTextArea...

    hi, I'm making a perfect calculator program and I'm trying to add a Note Pad function to it, I also want to hide that so the other interface can be used; I can get it hided and come again but I'm wondering how could I get the text from the JTextArea INCLUSIVE the enters that are made withing it, so:
    theString = jTextArea1.getText();only gives me the text and no enters; suggestions?

    I think I displayed it wrongTwo things to keep in mind...
    Certain Swing components will just ignore newlines, so you have to be careful where/how you're displaying your multiline text strings. Some components will display it all as one line, some will only display the top line, some will even show \n instead of doing the newline. It all just depends.
    And JTextArea does support word wrapping, so just because it looks like there's a newline, there may not be one.

  • How can I get the "text" field from the actionEvent.getSource() ?

    I have some sample code:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.util.ArrayList;
    public class JFrameTester{
         public static void main( String[] args ) {
              JFrame f = new JFrame("JFrame");
              f.setSize( 500, 500 );
              ArrayList < JButton > buttonsArr = new ArrayList < JButton > ();
              buttonsArr.add( new JButton( "first" ) );
              buttonsArr.add( new JButton( "second" ) );
              buttonsArr.add( new JButton( "third" ) );
              MyListener myListener = new MyListener();
              ( (JButton) buttonsArr.get( 0 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 1 ) ).addActionListener( myListener );
              ( (JButton) buttonsArr.get( 2 ) ).addActionListener( myListener );
              JPanel panel = new JPanel();
              panel.add( buttonsArr.get( 0 ) );
              panel.add( buttonsArr.get( 1 ) );
              panel.add( buttonsArr.get( 2 ) );
              f.getContentPane().add( BorderLayout.CENTER, panel );
              f.setDefaultCloseOperation( JFrame.EXIT_ON_CLOSE );
              f.setVisible( true );
         public static class MyListener  implements ActionListener{
              public MyListener() {}
              public void actionPerformed( ActionEvent e ) {
                   System.out.println( "hi!! " + e.getSource() );
                   // I need to know a title of the button (which was clicked)...
    }The output of the code is something like this:
    hi! javax.swing.JButton[,140,5,60x25,alignmentX=0.0,alignmentY=0.5,
    border=javax.swing.plaf.BorderUIResource$CompoundBorderUIResource@1ebcda2d,
    flags=296,maximumSize=,minimumSize=,preferredSize=,defaultIcon=,disabledIcon=,
    disabledSelectedIcon=,margin=javax.swing.plaf.InsetsUIResource[top=2,left=14,bottom=2,
    right=14],paintBorder=true,paintFocus=true,pressedIcon=,rolloverEnabled=true,
    rolloverIcon=,rolloverSelectedIcon=,selectedIcon=,text=first,defaultCapable=true]
    I need this: "first" (from this part: "text=first" of the output above).
    Does anyone know how can I get the "text" field from the e.getSource() ?

    System.out.println( "hi!! " + ( (JButton) e.getSource() ).getText() );I think the problem is solved..If your need is to know the text of the button, yes.
    In a real-world application, no.
    In a RW application, a typical need is merely to know the "logical role" of the button (i.e., the button that validates the form, regardless of whether its text is "OK" or "Save", "Go",...). Text tends to vary much more than the structure of the UI over time.
    In this case you can get the source's name (+getName()+), which will be the name that you've set to the button at UI construction time. Or you can compare the source for equality with either button ( +if evt.getSource()==okButton) {...}+ ).
    All in all, I think the best solution is: don't use the same ActionListener for more than one action (+i.e.+ don't add the same ActionListener to all your buttons, which leads to a big if-then-else series in your actionPerformed() ).
    Eventually, if you're listening to a single button's actions, whose text change over time (e.g. "pause"/"resume" in a VCR bar), I still think it's a bad idea to rely on the text of the button - instead, this text corresponds to a logical state (resp. playing/paused), it is more maintainable to base your logic on the state - which is more resilient to the evolutions of the UI (e.g. if you happen to use 2 toggle buttons instead of one single play/pause button).

  • The text in a lot of my books I have downloaded in IBooks has disappeared. It is mostly the older books on my IPad.  The books are there but the text is missing. How do I get the text back?

    On my IPad, the books I have downloaded are there; however, the text has disappeared. It only happened with the books that were older. Any idea how I can get the text back on these books?

    Try closing the iBooks app. Press the home button to get to the home screen if you're not already there. Then double click the home button. Locate the iBooks icon at the bottom. Hold your finger down on it until a red minus appears. Tap the red minus. Press the home button to return to normal. Then relaunch iBooks.
    If that fails, delete the books, then you can redownload them under the Purchased tab in "Store."

  • Why Can't I get my total to output to the text area?

    I can get the numbers to go to the text area and to clear the text area but, the only way I have figured out how to output the total is with a JOptionPane. Can someone look at my code and tell me how to fix this?
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Calculator4 extends JApplet implements ActionListener
    String Nums="";
    String sNum="";
    double Num1=0;
    double Num2=0;
    double Add=0;
    double Subtract=0;
    double Multiply=0;
    double Divide=0;
    int choice=0;
    private JTextField displayField;
    private JButton Button0, Button1, Button2, Button3, Button4, Button5,
    Button6, Button7, Button8, Button9, ButtonAdd, ButtonSub,
    ButtonMult, ButtonDiv, ButtonClear, Buttontotal;
    public void init()
    Container container = getContentPane();
    container.setLayout(new FlowLayout());
    displayField = new JTextField(15);
    displayField.setEditable(false);
    container.add(displayField);
    Button1 = new JButton("1");
    Button1.addActionListener(this);
    container.add(Button1);
    Button2 = new JButton("2");
    Button2.addActionListener(this);
    container.add(Button2);
    Button3 = new JButton("3");
    Button3.addActionListener(this);
    container.add(Button3);
    ButtonAdd = new JButton("+");
    ButtonAdd.addActionListener(this);
    container.add(ButtonAdd);
    Button4 = new JButton("4");
    Button4.addActionListener(this);
    container.add(Button4);
    Button5 = new JButton("5");
    Button5.addActionListener(this);
    container.add(Button5);
    Button6 = new JButton("6");
    Button6.addActionListener(this);
    container.add(Button6);
    ButtonSub = new JButton("-");
    ButtonSub.addActionListener(this);
    container.add(ButtonSub);
    Button7 = new JButton("7");
    Button7.addActionListener(this);
    container.add(Button7);
    Button8 = new JButton("8");
    Button8.addActionListener(this);
    container.add(Button8);
    Button9 = new JButton("9");
    Button9.addActionListener(this);
    container.add(Button9);
    ButtonMult = new JButton("*");
    ButtonMult.addActionListener(this);
    container.add(ButtonMult);
    Button0 = new JButton("0");
    Button0.addActionListener(this);
    container.add(Button0);
    ButtonDiv = new JButton("/");
    ButtonDiv.addActionListener(this);
    container.add(ButtonDiv);
    ButtonClear = new JButton(" Clear ");
    ButtonClear.addActionListener(this);
    container.add(ButtonClear);
    Buttontotal = new JButton("=");
    Buttontotal.addActionListener(this);
    container.add(Buttontotal);
    public void actionPerformed(ActionEvent actionEvent)
    if(actionEvent.getSource() == Button1)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("1");}
    if(Nums!=null)
    {  Nums= Nums + 1;
    updateDisplay();}
    else if(actionEvent.getSource()==Button2)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("2");}
    if(Nums!=null)
    {  Nums= Nums + 2;
    updateDisplay();}
    else if(actionEvent.getSource()==Button3)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("3");}
    if(Nums!=null)
    {  Nums= Nums + 3;
    updateDisplay();}
    else if(actionEvent.getSource()==Button4)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("4");}
    if(Nums!=null)
    {  Nums= Nums + 4;
    updateDisplay();}
    else if(actionEvent.getSource()==Button5)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("5");}
    if(Nums!=null)
    {  Nums= Nums + 5;
    updateDisplay();}
    else if(actionEvent.getSource()==Button6)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("6");}
    if(Nums!=null)
    {  Nums= Nums + 6;
    updateDisplay();}
    else if(actionEvent.getSource()==Button7)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("7");}
    if(Nums!=null)
    {  Nums= Nums + 7;
    updateDisplay();}
    else if(actionEvent.getSource()==Button8)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("8");}
    if(Nums!=null)
    {  Nums= Nums + 8;
    updateDisplay();}
    else if(actionEvent.getSource()==Button9)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("9");}
    if(Nums!=null)
    {  Nums= Nums +9;
    updateDisplay();}
    else if(actionEvent.getSource()==Button0)
    play(getCodeBase(),"Ping.WAV");
    if(Nums==null)
    {  Nums= "";
    displayField.setText("0");}
    if(Nums!=null)
    {  Nums= Nums + 0;
    updateDisplay();}
    else if(actionEvent.getSource()==ButtonAdd)
    play(getCodeBase(),"Ping.WAV");
    choice = 1;
    sNum="";
    sNum = Nums;
    Nums=null;
    else if(actionEvent.getSource()==ButtonSub)
    play(getCodeBase(),"Ping.WAV");
    choice = 2;
    sNum="";
    sNum = Nums;
    Nums=null;
    else if(actionEvent.getSource()==ButtonMult)
    play(getCodeBase(),"Ping.WAV");
    choice = 3;
    sNum="";
    sNum = Nums;
    Nums=null;
    else if(actionEvent.getSource()==ButtonDiv)
    play(getCodeBase(),"Ping.WAV");
    choice = 4;
    sNum="";
    sNum = Nums;
    Nums=null;
    else if(actionEvent.getSource()==Buttontotal)
    play(getCodeBase(),"Ping.WAV");
    if(choice==0)
    JOptionPane.showMessageDialog(null,"Please Select Operation");
    if(choice!=0)
    switch(choice)
    case 1:
    if(Nums!=null)
    {    Num1 = Double.parseDouble(sNum);
    Num2 = Double.parseDouble(Nums);
    double Add = Addition(Num1, Num2);
    JOptionPane.showMessageDialog(null,"Your Sum is: " + Add);
    sNum = "";
    if(Nums==null)
    JOptionPane.showMessageDialog(null,"Please Enter Second number");
    Nums=null;
    break;
    case 2:
    if(Nums!=null)
    {    Num1 = Double.parseDouble(sNum);
    Num2= Double.parseDouble(Nums);
    double Subtract = Subtraction(Num1, Num2);
    JOptionPane.showMessageDialog(null,"Your Difference is: " + Subtract);
    sNum = "";
    if(Nums==null)
    JOptionPane.showMessageDialog(null,"Please Enter Second number");
    Nums=null;
    break;
    case 3:
    if(Nums!=null)
    {    Num1= Double.parseDouble(sNum);
    Num2= Double.parseDouble(Nums);
    double Multiply = Multiplication(Num1, Num2);
    JOptionPane.showMessageDialog(null,"Your Product is: " + Multiply);
    sNum = "";
    if(Nums==null)
    JOptionPane.showMessageDialog(null,"Please Enter Second number");
    Nums=null;
    break;
    case 4:
    if(Nums!=null)
    {    Num1 = Double.parseDouble(sNum);
    Num2= Double.parseDouble(Nums);
    double Divide = Division(Num1, Num2);
    JOptionPane.showMessageDialog(null,"Your Quotient is: " + Divide);
    sNum = "";
    if(Nums==null)
    JOptionPane.showMessageDialog(null,"Please Enter Second number");
    Nums=null;
    break;
    else if(actionEvent.getSource()==ButtonClear)
    play(getCodeBase(),"Ping.WAV");
    displayField.setText("");
    Nums=null;
    sNum="";
    choice=0;
    Num1=0;
    Num2=0;
    public void updateDisplay()
    displayField.setText(Nums);
    public double Addition(double Num1, double Num2)
    return ( Num1 + Num2);
    public double Subtraction(double Num1, double Num2)
    return ( Num1 - Num2);
    public double Multiplication(double Num1, double Num2)
    return ( Num1 * Num2);
    public double Division(double Num1, double Num2)
    return ( Num1 / Num2);
    }

    You mean something like this:
    private int currentNumber =0;
    private int total = 0;
    private JTextField Display = new JTextField(10);
    private JtextField Current = new JTextField(10);
    // Add all your buttons correctly
    // Try using a GridLayout to make it easier
    // blah blah
    public void actionPerformed( ActionEvent event )
    int number = -1;
    String Command = event.getActionCommand();
    // Play your sound here.....
      doPlaySound();
    try
       number = Integer.parseInt( command );
    catch( NumberFormatException NFE )
        //ignore
    if( number != -1 )
        doIsNumber( number );
        return;   // don't process further
    if( command == "Enter" )
        doEnter();
        return;
    if(command == "Plus" )
        doPlus();
        return;
    // and so on
    }//end actionPerformed
    private void doNumber( int number )
       String S;
        currentNumber = ( currentNumber * 10 ) + number;
        S = Integer.tostring( currentNumber );  //cant remember if that throws anything
       Current.setText( S );  //Display Work Number
      private void doPlus()
        String S;
        total = total + currentNumber;
        currentNumber = 0;
        Current.setText("");
        S = Integer.toString( total );
        Display.setText( S );
      private void doEnter()
        total = currentNumber;
        currentNumber = 0;
        Current.setText( "");
        Display.setText( Integer.toString( total ) );
      private void doDivide()
         System.out.println("Err you got to be kidding");
      }yeh and I'd definitely go for a GridLayout()
    4 * 4, with JLabels for the blank filler parts......
    So does this help

  • How to get the text from me52n/me52?

    I used rp-read-infotype in getting the text in HR. Please guide me how to get it in ME52. Thanks!

    HI
    GOOD
    CAN YOU GIVE SOME MORE BRIEF ABOUT YOUR REQUIREMENT.ANYWAY YOU CAN GO THROUGH THIS REPORT HOPE CAN HELP YOU SOMETHING
    REPORT Z_LEAVES_AND_COMMENTS  line-size 255 line-count 65 no
    standard page heading .
    =====================================================
    DATA DECLARATIONS
    =====================================================
    infotypes : 0002 ,
                2001 .
    TABLES : t554t .
    DATA : BEGIN OF ITAB_LEAVES OCCURS 100 ,
           PERNR LIKE P2001-PERNR ,
           NACHN LIKE P0002-NACHN ,
           VORNA LIKE P0002-VORNA ,
           SUBTY LIKE P2001-SUBTY ,
           ATEXT LIKE T554T-ATEXT ,
           YEAR(4) TYPE C ,
           SEQNR LIKE P2001-SEQNR ,
           BEGDA LIKE P2001-BEGDA ,
           ENDDA LIKE P2001-ENDDA ,
           KALTG LIKE P2001-KALTG .
    DATA : END OF ITAB_LEAVES .
    DATA : S_DATE_LOW LIKE SY-DATUM .
    =====================================================
    SELECTION SCREEN - DEFAULT
    =====================================================
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME .
    parameters : P_PERNR LIKE Pa0002-PERNR 
                 MATCHCODE OBJECT PREM  OBLIGATORY.
    PARAMETERS : S_DATE LIKE SY-DATUM DEFAULT SY-DATUM .
    SELECTION-SCREEN END OF BLOCK B1 .
    =====================================================
    TOP-OF-PAGE
    =====================================================
    TOP-OF-PAGE .
      WRITE : 'Report of Leaves - Infotype 2001'  COLOR COL_HEADING .
      ULINE .
      WRITE : /
         'CODE' COLOR COL_HEADING ,
         'DESCRIPTION OF LEAVE     '  COLOR COL_HEADING ,
         'YEAR'  COLOR COL_HEADING ,
         'STARTING  '  COLOR COL_HEADING ,
         'ENDING    '  COLOR COL_HEADING  ,
         'DURATION '  COLOR COL_HEADING .
      ULINE .
    ======================================================
    START OF SELECTION
    ======================================================
    START-OF-SELECTION .
      S_DATE_LOW = S_DATE - 365 .
      CLEAR : P2001 , P2001[] .
      RP-READ-INFOTYPE P_PERNR 2001 P2001 S_DATE_LOW S_DATE .
      IF SY-SUBRC = 0 .
        LOOP AT P2001 .
          CLEAR : ITAB_LEAVES .
          ITAB_LEAVES-PERNR = P2001-PERNR .
          ITAB_LEAVES-SUBTY = P2001-SUBTY .
          ITAB_LEAVES-SEQNR = P2001-SEQNR .
          clear t554t .
          select single * from t554t
          where MOABW = '99'
          and   awart = P2001-SUBTY
          and   sprsl = SY-LANGU .
          if sy-subrc eq 0 .
            ITAB_LEAVES-ATEXT = T554T-ATEXT .
          endif .
          ITAB_LEAVES-BEGDA = P2001-BEGDA .
          ITAB_LEAVES-ENDDA = P2001-ENDDA .
          ITAB_LEAVES-YEAR = P2001-BEGDA(4) .
          ITAB_LEAVES-KALTG = P2001-KALTG .
          CLEAR P0002 .
          REFRESH P0002 .
          RP-READ-INFOTYPE P_PERNR 0002
          P0002 '18000101' '99991231'.
          IF SY-SUBRC = 0 .
            ITAB_LEAVES-NACHN  = P0002-NACHN .
            ITAB_LEAVES-VORNA  = P0002-VORNA .
          ENDIF .
          APPEND  ITAB_LEAVES .
        ENDLOOP .
      ENDIF .
    ======================================================
    END OF SELECTION
    ======================================================
    END-OF-SELECTION .
      LOOP AT ITAB_LEAVES .
        WRITE : /
             ITAB_LEAVES-SUBTY ,
             ITAB_LEAVES-ATEXT ,
             ITAB_LEAVES-YEAR  ,
             ITAB_LEAVES-BEGDA ,
             ITAB_LEAVES-ENDDA ,
             ITAB_LEAVES-KALTG .
        PERFORM GET_NOTES_OF_AN_INFOTYPE
        USING '2001'
               ITAB_LEAVES-SUBTY
               ITAB_LEAVES-PERNR
               ITAB_LEAVES-BEGDA
               ITAB_LEAVES-ENDDA
               ITAB_LEAVES-SEQNR .
      ENDLOOP .
      uline .
      write : ' *** End of Report *** '  COLOR COL_HEADING .
      uline .
    *======================================================
    =========> FORM GET_NOTES_OF_AN_INFOTYPE <===========
    *======================================================
    FORM GET_NOTES_OF_AN_INFOTYPE
    USING MINFTY MSUBTY MPERNR MBEGDA MENDDA MSEQNR .
      DATA: TX-KEY LIKE PSKEY.
      DATA: BEGIN OF TEXT-VERSION,
             NUMMER TYPE X VALUE '02',
            END OF TEXT-VERSION.
      DATA: BEGIN OF PTEXT OCCURS 200.
      DATA:  LINE(78).
      DATA: END OF PTEXT.
      data : is_first type i .
      DATA : LINES_OF_NOTES TYPE I .
    Preparing Key for Reading Texts of
    Infotype
      CLEAR TX-KEY .
      CLEAR:   PTEXT             .
      REFRESH: PTEXT             .
      TX-KEY-PERNR = MPERNR .
      TX-KEY-INFTY = MINFTY .
      TX-KEY-SUBTY = Msubty .
      TX-KEY-ENDDA = MENDDA .
      TX-KEY-BEGDA = MBEGDA .
      TX-KEY-SEQNR = MSEQNR .
    READING CLUSTER TX - (Texts)
      IMPORT TEXT-VERSION
             PTEXT
      FROM DATABASE PCL1(TX)
      ID TX-KEY
      USING PCL1_EXP_IMP(SAPFP50P)  .
      IF SY-SUBRC NE 0        .
        CLEAR:   TEXT-VERSION      .
        CLEAR:   PTEXT             .
        REFRESH: PTEXT             .
        SY-SUBRC = 4               .
      ENDIF          .
    Writing texts retrieved
      DESCRIBE TABLE PTEXT LINES LINES_OF_NOTES .
      IF  LINES_OF_NOTES GT 0 .
        is_first = 1 .
        LOOP AT PTEXT .
          if is_first = 1 .
            WRITE : /  'Comments' , ptext-line  .
            is_first = 0 .
          else .
            WRITE : /  '        ' , ptext-line  .
          endif .
        ENDLOOP .
      ENDIF .
    ENDFORM.
    THANKS
    MRUTYUN

  • HT1694 The text has disappeared from my emails in my inbox. What can I do to get the text back?

    The text has disappeared from my emails in my inbox. What can I do to get the text back?

    Try closing the Mail app via the taskbar and see if the email text shows when you re-open the app : from the home screen (i.e. not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    If that doesn't fix it they try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Getting the text of a Label from an inputField

    Hello everyone,
    In my application, I have an inputField and a Label.
    The labelFor property of the Label directs to the inputField.
    How can I get the text of the label from the inputField ?
    Any suggestions ?
    Thanks.
    Ruthie.

    Hi Anilkumar,rahul,Valery.
    I didn't explain it clear enough.
    In my application I use the method reportContextAttributeMessage as follows:
    private void checkMandatory(String fieldName, String fieldText){
    IWDMessageManager messageMgr = wdControllerAPI.getComponent().getMessageManager();
    IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute(fieldName);
    String value = wdContext.currentContextElement().getAttributeAsText(fieldName);
    if (value.length()==0){          
                   messageMgr.reportContextAttributeMessage(wdContext.currentContextElement(),
                   attributeInfo,                        IMessageOpenUserApp.MISSING_INPUT,
                   new Object[] { fieldText },
                   true);     
    So,this method executes validity check to an input field
    ("fieldName").
    In the layout I have an inputField and a Label.
    The property labelFor of the Label is set to the inputField.
    The parameter "fieldText" should be the text of the label.
    Is there a way - that when knowing only the context attribute of the inputField - I can get the text of the Label ? what is the meaning of the labelFor property ?
    Thanks.
    Ruthie.

  • I recently bought a new macbook pro and set it up using the migration assistant and my mac mini.  I can't get the text message forwarding feature to work with both computers.

    I recently bought a new macbook pro and set it up using the migration assistant from my mac mini.  I can't get the text message forwarding feature to work with both computers.  It keeps saying that I only have 2 devices setup, my iPad and my macbook pro.  When I mess with the setting on my mac mini, it goes from saying that that is one of the devices to my macbook pro being the 2nd device.  I think that something happened as a result of my using the migration assistant and now it thinks that my macbook pro and my mac mini are one and the same computer.  Any ideas?

    Thanks, Sig.
    The old computer is a 2.6 Ghz Intel Core 2 Duo
    The new one is a 2.3 GHz intel core i7
    In going over this, thanks to "tallking it out" with you, I did discover the Text Edit problem.  Because I've still been unable to get the new computer text size (fonts or whatever) to match the old computer, I did not notice that the curser is now different--the line midway down the curser has to be placed on the line I am working upon, otherwise the edits go elsewhere on the page.  Now, with a bit of difficulty, I am able to get Text Edit to work correctly.
    If you have any ideas as to why my menu bar and Text Edit type are still so slow, I'd love to have them. 
    (I went through the process you suggested earlier, re my Trackpad preferences, and found no improvement.)

  • How do you add an image in the text area of a page/section?

    This has been driving me nuts!
    When I try to add an image to a page, it will ONLY go into the header.  If I try to drag the image onto the page where the text is, it gets hidden behind a layer.
    I've looked at the menu choices and I don't seem to be allowed to bring the image to the front.  Nor does clicking in the text area and then trying to paste or insert the image - it still goes up in the header.
    What is the secret to placing images along with your text on a page in the iBooks Author program?
    Thanks!

    Wow, Apple has really constrained the "box" that we have to fit our books into!
    I was hoping to take some iPad screenshots and put them inline with the text.  Since they are portrait iPad screenshots, the book that I'd like to create looks much better (and makes more sense) in portrait mode.
    Apple has released this awesome tool, yet they seem to have restricted the author from using any creativity at all.

  • How to get the text content of an XMLElement

    Hi,
    Here is a XML sample:
    <toto attrib1="titi">tata</toto>
    We want to get the text content "tata".
    Using an XMLElement (from the class "oracle.xml.parser.v2.XMLElement) to manipulate the element "toto", when we use the getNodeValue method, we always retrieve "null".
    So, what is wrong in our procedure and how to resolve this problem?
    Thanks in advance for your help
    Bye

    You need to get the child nodes of the Element and iterate until you find a node of type Node.TEXT_NODE.
    Elements don't have text content, they instead contain text node children.
    Just remember, too, that they can also contain comments, processing instructions, etc., in addition to the text you are looking for:
    <toto><!-- a comment --><?pi?>Tata</toto>

  • When I type I cannot add text when I select the text area and double click. Why?

    When I type I cannot add text when I select the text area and double click. Why?

    Premiere Elements 11  trial version for macMac computer photos uploaded to the timeline just finetrying to make a new title, streaming or in a framedouble clicked on the text in the box and nothing shows up when I type on my keyboard. I can delete the words that are there but not type in new ones. I selected the type and size, etc.
    Thanks if you can figure it out. I gave up!
    I may just un-install it all together if I can't get to work.Joanne
    Date: Thu, 9 May 2013 17:59:08 -0700
    From: [email protected]
    To: [email protected]
    Subject: When I type I cannot add text when I select the text area and double click. Why?
        Re: When I type I cannot add text when I select the text area and double click. Why?
        created by A.T. Romano in Premiere Elements - View the full discussion
    Joanne Murray J2 What version of Premiere Elements are you using and on what operating system (including 32 or 64 bit) is your Premiere Elements installed? Forgive the questions if you have been there and done that, but I do not want to take anything for granted that might hinder a speedy resolution to your issue. Are you opening an already created title that is sitting on the Timeline in order to edit it in the Titler or are you trying to create a new Title (Default Text or other)? Do you know how to work with the Selection Tool and Type Tool in the Titler? Once I know what version of Premiere Elements that you are using, I will give you specific how to details. Thanks. ATR
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5307494#5307494
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5307494#5307494
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5307494#5307494. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Premiere Elements by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • How do I get the text to flow throughout more then one page.

    Hello,
    I am currently using LiveCycke Designer to create a scholarship for my company. I created fields for the form and I would like to insert a text to describe the scholarship. When I insert the text, it doesn't flow onto the next page. I've tried creating a subform and clicking "flowed" and "allow page breaks within content". I also clicked auto-fit for the height, but it just makes a line. For the text box, I've clicked "Expand to fit on the height". It is also a dynamic XML Form. Is there anything else I should be doing?
    I could always send the file to someone to see if they can figure it out.
    Thank you,
    Natalie

    Thank you so much !
    but the link doesn't seem to work. It says that the URL is not in the correct format for an Acrobat.com document link.
    Natalie
    Date: Wed, 12 May 2010 07:53:12 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do I get the text to flow throughout more then one page.
    Here is the corrected form..Even you you set the Subform type to "Flowed" to the subform where the Text box resides, you did not set the Page1 to Flowed (which is the key)..But when I make the Page1 type to "Flowed", all your fields above the Scholrship text boxes' Subform will go one below another.. To fix this, first I have select all the fields and wrap them into a subform and then set the Page1 to Flowed..
    https://acrobat.com/#d=XQ1yfV8fCk85M7sRLD*-gg
    Thanks
    Srini
    >

  • In popup step how do I get the "text on the button" in the report rather than button index?

    (1)
    How do I configure the POPUP step in "SEQ MAIN.seq" to execute the second
    step (IS OUT PUT IS 20?) in "SEQ 1.seq" when "IS OUT PUT IS 20?" button
    hit and execute the third step (IS OUT PUT IS 30?) in "SEQ 1.seq" when "IS
    OUT PUT IS 30?" button hit.
    (2)
    In popup step how do I get the "text on the button" in the report rather than button index?
    File attached
    Attachments:
    test_stand.zip ‏32 KB

    The handle to the Step.Button1Label gets you the data, but there are several ways to get it into the actual report.
    The easiest is to use the reporttext.
    In a post expression, you can use something like
    Step.Result.ReportText = Evaluate("Step.Button" + Str(Step.Result.ButtonHit) +"Label")
    and then the default report generation will include it in the report. Otherwise, you need to get the text into the Resultlist by various means (check the user manual, or the TestStand II customisation course) and handle the report generation yourself inside of the appropriate sequence in the process model.
    Just my 2cents
    S.
    // it takes almost no time to rate an answer
    Attachments:
    IncludeButtonTextInReport2_0.seq ‏18 KB

  • How to get the text in a label which is imbeded in a JTextPane

    I have created a JTextPane that has 5 JLabels inserted in the text. I have attempted to get the text with the following code snippet.
    Component[] lbl = new Componennt[DisplayLetterPane.getComponentCount()];
    //         JTextPane DisplayLetterPane; is defined previously
             lbl = DisplayLetterPane.getComponents();
             int componentIndex = 0;
             String lblText = new String(((JLabel)lbl[componentIndex]).getText());I have run a dump of the sytledDocument of the JTextPane and I see the JLabel listed as a component.
    When this snippet is executed I get the following:
    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.text.ComponentView$Invalidator
    When I check the character where the component for the JLabel is located in the styled document it does not find an instanceof JLabel.
    How can I get the text from the labels.
    Thank you in advance!

    JTextPane jtp = new JTextPane();
              for (int i = 0; i <5; i++) {
                   jtp.add(new JLabel("labelText"+i));
              Component[] lbl = new Component[jtp.getComponentCount()];
    //      JTextPane DisplayLetterPane; is defined previously
          lbl = jtp.getComponents();
          int componentIndex = 0;
          for (int i = 0; i < lbl.length; i++) {
               System.out.println(((JLabel)lbl).getText());
    When I do like the above, it just works fine. Can u share a little bit more of your code?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Grey background while saving pdf file as a ZIP in IE browser

    I am getting grey background while saving pdf file as a ZIP file in IE browser like below screen shot The pdf open properly but  when I click on save button on below screen it become grey. The file is getting saved properly. But the same thing workin

  • Can I still purchase an earlier version of InDesign/Photoshop?

    I have CS6 on my desktop computer and need to purchase InDesign and Photoshop for my laptop as well. I don't want to purchase the CC version, because it's very frustrating having to save things as idml all the time. Can I still purchase CS6? If not,

  • RT Fieldpoint Read Error causes execution to stop

    The Fieldpoint read functions behave differently when run on a PC in labview or embedded on an RT target.  On a pc, if you try to read data for the first time from a module that is offline, the read functions just returns an error.  If you try this s

  • Portal problem with Internet Explorer 8.0

    Hi, We developed portal content on test with IE 7.0. Now we are using IE 8.0 , portal content does not run properly. Is there a practical way to fixing this problem? Thanks.

  • File System Location properties: view path (OWB 11..2.0.1 Windows)

    Newbee question: From the tutorial "Handling Flat File and COBOL Copybook Sources in Mappings", I imported the metadata for ETL_OWNER. It contains file locations such as SRC_FLAT_FILES_LOCATION but I cannot find any way to view its path in the file s