Linking Editing TextArea with Button Handler

Java newbie here,i am trying to create a program to display a keyboard on screen and display the the letter in a text area when the character letter is pressed. And the complete sentence when return is pressed.
I have the GUI up, the problem is the letters are dispayed in a JOptionPane and i want them to be written to the TextArea.
Any help would be appreaciated
Here is the code in full so far.
import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
* Alphabet is a program that will display a text pad and 27 buttons of the 25
* Letters of the Alphabet and display them when pressed and display all buttons
* when Return button is pressed..
* version (V 0.1)
public class Alphabet extends JFrame
    private JPanel buttonPanel  ;
    private JButton buttons[];
    private JButton SpaceButton;
    private JButton ReturnButton;
    //setup GUI
    public Alphabet()
    super("Alphabet");
    //get content pane
    Container container = getContentPane();
    //create button array
    buttons = new JButton[122];
    //intialize buttons
    SpaceButton = new JButton ("Space");
    ReturnButton = new JButton ("Return");
    //setup panel and set its layout
    buttonPanel = new JPanel();
    buttonPanel.setLayout(new GridLayout (7,buttons.length));
    //create text area
    JTextArea TextArea = new JTextArea ();
   TextArea.setEditable(false);
   container.add(TextArea, BorderLayout.CENTER);
   // set a nice titled border around the TextArea
    TextArea.setBorder(
      BorderFactory.createTitledBorder("Your Text is Displayed Here"));
  //create and add buttons
    for (int count = 96; count <buttons.length; count++ ) {
    buttons[count] = new JButton( ""+ (char)(count +1 ));
    buttonPanel.add(buttons [count]);
    ButtonHandler handler = new ButtonHandler();
    buttons[count].addActionListener(handler);
    buttonPanel.add(SpaceButton);
   buttonPanel.add(ReturnButton);
   ReturnButton.setToolTipText( "Press to Display Sentence" ); 
     container.add(buttonPanel, BorderLayout.SOUTH);
    // set a nice titled border around the ButtonPanel
    buttonPanel.setBorder(
      BorderFactory.createTitledBorder("Click inside this Panel"));
        // create an instance of inner class ButtonHandler
          // to use for button event handling              
          ButtonHandler handler = new ButtonHandler(); 
          ReturnButton.addActionListener(handler);
        setSize (625,550);
        setVisible(true);
}// end constructor Alphabet
public static void main (String args[])
    Alphabet application = new Alphabet();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// inner class for button event handling
     private class ButtonHandler implements ActionListener {
          // handle button event
         public void actionPerformed( ActionEvent event )
             JOptionPane.showMessageDialog( Alphabet.this,
                "You pressed: " + event.getActionCommand() );
}//END CLASS ALPHABET

import java.awt.event.*;
import java.awt.*;
import javax.swing.*;
public class Alphabet extends JFrame
private JPanel buttonPanel ;
private JButton buttons[];
private JButton SpaceButton;
private JButton ReturnButton;
JTextArea TextArea;
String str="";String stt="";
//setup GUI
public Alphabet()
super("Alphabet");
//get content pane
Container container = getContentPane();
//create button array
buttons = new JButton[122];
//intialize buttons
SpaceButton = new JButton ("Space");
ReturnButton = new JButton ("Return");
//setup panel and set its layout
buttonPanel = new JPanel();
buttonPanel.setLayout(new GridLayout (7,buttons.length));
//create text area
TextArea = new JTextArea ();
TextArea.setEditable(false);
container.add(TextArea, BorderLayout.CENTER);
// set a nice titled border around the TextArea
TextArea.setBorder(
BorderFactory.createTitledBorder("Your Text is Displayed Here"));
//create and add buttons
for (int count = 96; count <buttons.length; count++ ) {
buttons[count] = new JButton( ""+ (char)(count +1 ));
buttonPanel.add(buttons [count]);
ButtonHandler handler = new ButtonHandler();
buttons[count].addActionListener(handler);
buttonPanel.add(SpaceButton);
buttonPanel.add(ReturnButton);
ReturnButton.setToolTipText( "Press to Display Sentence" );
container.add(buttonPanel, BorderLayout.SOUTH);
// set a nice titled border around the ButtonPanel
buttonPanel.setBorder(
BorderFactory.createTitledBorder("Click inside this Panel"));
// create an instance of inner class ButtonHandler
// to use for button event handling
ButtonHandler handler = new ButtonHandler();
ReturnButton.addActionListener(handler);
SpaceButton.addActionListener(handler);
setSize (625,550);
setVisible(true);
}// end constructor Alphabet
public static void main (String args[])
Alphabet application = new Alphabet();
application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// inner class for button event handling
private class ButtonHandler implements ActionListener {
// handle button event
public void actionPerformed( ActionEvent event )
          if((event.getActionCommand()).equals("Space")){
               TextArea.setText(event.getActionCommand());
               str+=" ";
               //TextArea.append(" ");
          else if((event.getActionCommand()).equals("Return")){
               stt+=str;
               stt+="\n";
               str="";
               TextArea.setText(stt);
               //TextArea.append(str);
               //TextArea.append("\n");
          else {
               TextArea.setText(event.getActionCommand());
               str+=event.getActionCommand();
               //TextArea.append(event.getActionCommand());
}//END CLASS ALPHABET
Ok?

Similar Messages

  • Edit Field with button (...)

    I'm beginner in Java. I'd like a cell in a table with a button (...) on the right side to open a Dialogbox (FileDialog to put a filename in the cell). Thank you in advance for any help.
    Regards
    Museti

    Hi
    I have tried the codes below but can't get it right. Could you tell me what is going wrong here? Thanks.
    //MyTableCellRenderer
    package testrenderer;
    import javax.swing.UIManager;
    import java.awt.*;
    public class MyTableCellRenderer {
    boolean packFrame = false;
    /**Die Anwendung konstruieren*/
    public MyTableCellRenderer() {
    FrameCellRenderer frame = new FrameCellRenderer();
    //Frames �berpr�fen, die voreingestellte Gr��e haben
    //Frames packen, die nutzbare bevorzugte Gr��eninformationen enthalten, z.B. aus ihrem Layout
    if (packFrame) {
    frame.pack();
    else {
    frame.validate();
    //Das Fenster zentrieren
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    Dimension frameSize = frame.getSize();
    if (frameSize.height > screenSize.height) {
    frameSize.height = screenSize.height;
    if (frameSize.width > screenSize.width) {
    frameSize.width = screenSize.width;
    frame.setLocation((screenSize.width - frameSize.width) / 2, (screenSize.height - frameSize.height) / 2);
    frame.setVisible(true);
    /**Main-Methode*/
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e) {
    e.printStackTrace();
    new MyTableCellRenderer();
    // FrameCellRenderer.java
    package testrenderer;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class FrameCellRenderer extends JFrame
    implements MyTableData
    JPanel contentPane;
    JMenuBar jMenuBar1 = new JMenuBar();
    JMenu jMenuFile = new JMenu();
    JMenuItem jMenuFileExit = new JMenuItem();
    JMenu jMenuHelp = new JMenu();
    JMenuItem jMenuHelpAbout = new JMenuItem();
    BorderLayout borderLayout1 = new BorderLayout();
    JPanel jPanel1 = new JPanel();
    BorderLayout borderLayout2 = new BorderLayout();
    JScrollPane jScrollPane1 = new JScrollPane();
    JTable jTable1 = new JTable(DATA, COLHEADS);
    BrowseButtonEditor be = new BrowseButtonEditor();
    /**Den Frame konstruieren*/
    public FrameCellRenderer() {
    enableEvents(AWTEvent.WINDOW_EVENT_MASK);
    try {
    jbInit();
    catch(Exception e) {
    e.printStackTrace();
    /**Initialisierung der Komponenten*/
    private void jbInit() throws Exception {
    //setIconImage(Toolkit.getDefaultToolkit().createImage(FrameCellRenderer.class.getResource("[Ihr Symbol]")));
    contentPane = (JPanel) this.getContentPane();
    contentPane.setLayout(borderLayout1);
    this.setSize(new Dimension(400, 300));
    this.setTitle("Table Cell Renderer");
    jMenuFile.setText("Datei");
    jMenuFileExit.setText("Beenden");
    jMenuFileExit.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jMenuFileExit_actionPerformed(e);
    jMenuHelp.setText("Hilfe");
    jMenuHelpAbout.setText("Info");
    jMenuHelpAbout.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    jMenuHelpAbout_actionPerformed(e);
    jPanel1.setLayout(borderLayout2);
    jMenuFile.add(jMenuFileExit);
    jMenuHelp.add(jMenuHelpAbout);
    jMenuBar1.add(jMenuFile);
    jMenuBar1.add(jMenuHelp);
    contentPane.add(jPanel1, BorderLayout.CENTER);
    jPanel1.add(jScrollPane1, BorderLayout.CENTER);
    jScrollPane1.getViewport().add(jTable1, null);
    this.setJMenuBar(jMenuBar1);
    jTable1.getColumn("URL").setCellRenderer(new BrowseButtonRenderer());
    jTable1.getColumn("URL").setCellEditor(new BrowseButtonEditor());
    /**Aktion Datei | Beenden durchgef�hrt*/
    public void jMenuFileExit_actionPerformed(ActionEvent e) {
    System.exit(0);
    /**Aktion Hilfe | Info durchgef�hrt*/
    public void jMenuHelpAbout_actionPerformed(ActionEvent e) {
    /**�berschrieben, so dass eine Beendigung beim Schlie�en des Fensters m�glich ist.*/
    protected void processWindowEvent(WindowEvent e) {
    super.processWindowEvent(e);
    if (e.getID() == WindowEvent.WINDOW_CLOSING) {
    jMenuFileExit_actionPerformed(null);
    // MyTableData.java
    public interface MyTableData {
    public static final String[][] DATA = {
    {"Vertrag 01","c:\\vertrag\\deutsch\\vertrag01.htm"},
    {"Vertrag 02","c:\\vertrag\\deutsch\\vertrag02.htm"},
    {"Vertrag 03","c:\\vertrag\\franz�sisch\\vertrag03.htm"},
    {"Vertrag 04","c:\\vertrag\\franz�sisch\\vertrag04.htm"}
    public static final String[] COLHEADS = {
    "Bezeichnung", "URL"
    // BrowseButtonEditor.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    public class BrowseButtonEditor
    extends AbstractCustomCellEditor
         private BrowseButtonRenderer br;
         public BrowseButtonEditor()
              br = new BrowseButtonRenderer("...");
              this.addMouseListenerToLabel();
         public BrowseButtonEditor(String title)
              br = new BrowseButtonRenderer(title);
              this.addMouseListenerToLabel();
         public Component getTableCellEditorComponent(JTable table, Object value, boolean isSelected,
                                                      int row, int column)
              JButton button = br.getButton();
    button.setText("...");
              String sStr = new String(((String)value));
    setCellEditorValue(sStr);
    JLabel label = br.getLabel();
    label.setText(sStr);
              return br;
         public boolean stopCellEditing()
              JButton button = br.getButton();
    JLabel label = br.getLabel();
              setCellEditorValue(new String(label.getText()));
              return super.stopCellEditing();
         private void addMouseListenerToLabel()
              br.getLabel().addMouseListener(new MouseAdapter()
                        public void mousePressed(MouseEvent e)
                             if (e.getClickCount() == 2)
                                  cancelCellEditing();
    // BrowseButtonRenderer.java
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.TableCellRenderer;
    public class BrowseButtonRenderer
    extends JPanel implements
    TableCellRenderer
         private BorderLayout borderLayout1 = new BorderLayout();
         private JLabel label = new JLabel();
         private JButton button = new JButton();
         public BrowseButtonRenderer()
              this.setSize(40, 40);
              this.setLayout(borderLayout1);
              button.setPreferredSize(new Dimension(40, 30));
              this.add(label, BorderLayout.NORTH);
              this.add(button, BorderLayout.EAST);
              label.setHorizontalAlignment(JLabel.LEFT);
              label.setHorizontalTextPosition(JLabel.LEFT);
              // add change listener to button
              button.addChangeListener(new ChangeListener()
                        public void stateChanged(ChangeEvent e)
                             label.setText("" + button.getValue());
    button.addActionListener(new java.awt.event.ActionListener() {
    public void actionPerformed(ActionEvent e) {
    button_actionPerformed(e);
         public BrowseButtonRenderer(String title)
              this();
    button.setText(title);
         public Component getTableCellRendererComponent(JTable table, Object value,
                                                      boolean isSelected, boolean hasFocus, int row, int column)
              String v = (String)value;
              String sStr = (String)value;
              label.setText(sStr);
              button.setEnabled(isSelected);
              label.setEnabled(isSelected);
              label.setBackground(isSelected && hasFocus ? table.getSelectionBackground() : table.getBackground());
              button.setBackground(isSelected ? table.getSelectionBackground() : table.getBackground());
    label.setBackground(Color.white);
              this.setBackground(isSelected ? table.getSelectionBackground() : table.getBackground());
              this.setForeground(isSelected && hasFocus ?     table.getSelectionBackground() : table.getBackground());
              this.setFont(table.getFont());
              return this;
         public JButton getButton()
              return button;
         public JLabel getLabel()
              return label;
    void button_actionPerformed(ActionEvent e)
    JFileChooser datei = new JFileChooser();
    String sFile = new String("");
    int returnVal = datei.showOpenDialog(this);
    if (returnVal == JFileChooser.APPROVE_OPTION)
    sFile = datei.getSelectedFile().getName();
    System.out.println("You chose to open this file: " + sFile);
    label.setText(sFile);
    // AbstractCustomCellEditor.java
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import javax.swing.table.*;
    import javax.swing.tree.*;
    import java.awt.event.MouseEvent;
    import java.util.EventObject;
    * <P>
    * This abstract class can be extended in order to customize the look and
    * feel of the editor for a table cell. This will allow the use of any type
    * of component (i.e. JComboBox, JSlider, JCheckBox, or other custom renderers)
    * </P>
    * <P>
    * This class uses and EventListenerList to maintain a list of CellEditorListeners
    * and provides two protected methods for firing editing-stopped and editing-canceled
    * events to listeners.
    * </P>
    * <P>
    * This class also maintains an Object reference that represents the editor's value.
    * In addition to implementing the TableCellEditor.getCellEditorValue() method, this
    * class also provides a setter method for this value - setCellEditorvalue(Object value)
    * </P>
    * <P>
    * This class, like DefaultCellEditor, provides a clickCountToStart property that
    * specifies the number of mouse clicks required to initiate editing.
    * </P>
    * <P>
    * This class defines a cell to be editable if the event passed to
    * isCellEditable() is a mouse event and the click count is equal to (or greater than)
    * the clickCountToStart.
    * </P>
    * <P>
    * This class also defined all cells to be selectable.
    * </P>
    * <P>
    * The stopCellEditing and cancelCellEditing methods fire appropriate events, and
    * stopCellEditing returns true, indicating that editing was stopped.
    * </P>
    * <P>
    * Important Note: This class leaves the getTableCellEditorComponent method defined
    * by TableCellEditor unimplemented. Extensions of this class MUST implement
    * getTableCellEditorComponent().
    * </P>
    * <P>
    * Note: This code was extracted and modified from:
    * Graphic Java 2 - Mastering the JFC vol. II: Swing (3rd. ed)
    * by: David M. Geary
    * ISBN: 0-13-079667-0
    * Chapter 19: Tables
    * AbstractCellEditor
    * </P>
    * <P>
    * @author A. Timpone
    abstract class AbstractCustomCellEditor implements TableCellEditor
         protected EventListenerList listenerList = new EventListenerList();
         protected Object value;
         protected ChangeEvent changeEvent = null;
         protected int clickCountToStart = 1;
         * This method returns tha value (as an Object) stored within
         * the editor
         * @return The Object representation of the editor's value
         public Object getCellEditorValue()
              return value;
         * This method is used to set the value of the editor
         * @param value The value you wish to set the editor component to
         public void setCellEditorValue(Object value)
              this.value = value;
         * This method is used to control the number of mouse clicks required to invoke
         * the editor
         * @count Defaulted to 1, this is the number of clicks you wish performed to invoke the editor
         public void setClickCountToStart(int count)
              clickCountToStart = count;
         * The method returns the number of clicks required to invoke the editor
         * @return The number of mouse clicks required to invoke the editor
         public int getClickCountToStart()
              return clickCountToStart;
         * This method determines if a cell extending this class is editable based on
         * the type of event performed on the cell. If this event is of type MouseEvent,
         * it will invoke the editor if the correct number of clicks is performed
         * @param anEvent The type of event being performed on the cell
         * @return true of false indicating the cell is editable
         public boolean isCellEditable(EventObject anEvent)
              if (anEvent instanceof MouseEvent)
                   if (((MouseEvent)anEvent).getClickCount() < clickCountToStart)
                        return false;
              return true;
         * This method determines if the cell should be selected.
         * By default, this method returns true
         * @param anEvent The type of event being performed on the cell
         * @return true of false indicating the cell is selected (Default to true)
         public boolean shouldSelectCell(EventObject anEvent)
              return true;
         * This method executed the TableCellEditor.fireEditingStopped() method
         * indicating that editing on the current cell has stopped
         * @return true or false indicating cell editing has stopped (Default to true)
         public boolean stopCellEditing()
              fireEditingStopped();
              return true;
         * This method executed the TableCellEditor.fireEditingCanceled() method
         * indicating that editing on the current cell has been canceled
         public void cancelCellEditing()
              fireEditingCanceled();
         * This method adds a CellEditorListener to the cell entending this class.
         * This listener is added into the listener list
         * @param l This is the CellEditorListener you wish to add to the specific cell
         public void addCellEditorListener(CellEditorListener l)
              listenerList.add(CellEditorListener.class, l);
         * This method removes a CellEditorListener from the cell entending this class.
         * This listener is removed from the listener list
         * @param l This is the CellEditorListener you wish to remove from the specific cell
         public void removeCellEditorListener(CellEditorListener l)
              listenerList.remove(CellEditorListener.class, l);
         * This method loops through all of the listeners within the listenerList
         * and calls the appropriate editingStopped() method passing in the
         * ChangeEvent
         protected void fireEditingStopped()
              Object[] listeners = listenerList.getListenerList();
              for (int i = listeners.length-2; i>=0; i-=2)
                   if (listeners[i] == CellEditorListener.class)
                        if (changeEvent == null)
                             changeEvent = new ChangeEvent(this);
                        ((CellEditorListener)listeners[i+1]).editingStopped(changeEvent);
         * This method loops through all of the listeners within the listenerList
         * and calls the appropriate editingCanceled() method passing in the
         * ChangeEvent
         protected void fireEditingCanceled()
              Object[] listeners = listenerList.getListenerList();
              for (int i = listeners.length - 2; i >= 0; i -= 2)
                   if (listeners==CellEditorListener.class)
                        if (changeEvent == null)
                             changeEvent = new ChangeEvent(this);
                        ((CellEditorListener)listeners[i+1]).editingCanceled(changeEvent);

  • I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    I have problems with seeing my bookmarks, file, view, edit...buttons. I tried other shortcuts. I noticed that all of my bookmarks are located in the Internet Explorer browsers, how can I restore setting back to Mozilla Firefox?

    Is the menu bar missing (the one containing File, View, Edit etc)? If it is, the following link shows how to restore it - https://support.mozilla.com/kb/Menu+bar+is+missing

  • Loss of "Edit in Photoshop" button functionality with Photoshop CC

    First, I must say I am highly dissapponted in Adobe's decision to stop developing Encore. I know that streaming and cloud access to video projects is the fture, but DVD and BluRay is still the standard for a majority. I film events, weddings, training sessions, etc. and am still asked to provide a hard copy of the product.
    I downloaded Photoshop CC and have now lost the "Edit in Photoshop" button functionality. This was an extremely convenient feature allowing editors to modify and enhance DVD and BluRay menus easily in Photoshop given the limited options for editing in Encore itself. Unforutnately, I deleted Photoshop CS6 before checking this. I just assumed that Adobe would have kept this function.
    How can I fix this? If I need to re-download Photoshop CS6, will you provide a link to do so?
    Finally, is Adobe really sticking to its guns with not continuing Encore? It is one of the best authoring tools I have worked with for its price and its a shame to see it go.

    >will you provide a link to do so?
    While there are a "few" Adobe employees who read/post (mostly in the Premiere Pro forum) this is primarily a user to user form... so the best I can offer is the IDEA to look on the Cloud to see if there is a link to download Photoshop CS6
    The only actual CS6 link I have is to purchase the standalone (not cloud) products http://www.adobe.com/products/catalog/cs6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html?promoid=KFPMZ but that would mean buying outside of the cloud
    You might want to contact Adobe to ask about this - http://helpx.adobe.com/contact.html
    Next link has a "Chat Now" button near the bottom
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • How to make mouseover scroll buttons attached to textarea with external loaded text ?

    Hi,
    I am working in Flash CS3 and AS3, and I'm not good in
    scripting.
    I want to make a dynamic textarea with loaded text from an
    external textfile, and then I want custom made arrow buttons to
    start scrolling the loaded text on mouseover (not click) andt stop
    scrolling on mouseout. Ala like in this webpage:
    http://boomjinx.com/
    The part with the loaded text is fine, but I can't manage to
    script the arrow buttons to do what I've just described. Even
    though I have searched the Internet for recipes I just find how to
    scroll loaded text on click or with a scrollbar. This problem is
    starting to drive me crazy!! Is there anyone that have a recipe for
    this??

    Here's one approach:
    First you need to create a dynamic mutline textfield that has
    autoSize properties set to handle a varying amount of text.
    Then you need to embed the font because you are going to use
    a mask over the textfield to define the viewable area of it.
    Then you will use the buttons to change the textfield's y
    property to move the textfield up/down vertically. You will
    probably need to use an ENTER_FRAME event handler so that a
    continuous hovering of a button will cause the textfield to
    continue moving until it either reaches one end or the other or
    when the hovering ends.
    Before you try to tackle that though, just make it so that
    hovering a button will cause the textfield to move up or down one
    increment of distance. Just take it one step at a time.

  • Please add the option to be able to upload/link new pdfs with the in-browser editing. I have a restaurant client who is constantly updating their menu! Please help so they can do this themselves!

    Please add the option to be able to upload/link new pdfs with the in-browser editing. I have a restaurant client who is constantly updating their menu! Please help so they can do this themselves!

    Thank you so much for your help! I am so relieved. I will have explain how to do this to my client, but a big weight is off my back!
    A long learning process and actually such an easy fix. So glad you responded. Again thank you...

  • Edit original with hard link

    Hi
    I re install adobe with a new graphic card after problem related to extended but not in the default path .
    In dreamweaver CS6  when insert a smartobject  psd file  and useright clcik contextual  menu for select  "edit original with " ( to have acces to original psd not the image use in html page ) .
    Dreamweaver show me "unable to launch ... Photoshop.exe " .
    I can choose  browse to the the real photohsop.exe location but my choice is not save  !!
    1) why adobe developper use static hard link when implemented this functionnalities ?
    2) is there a way to set a custom path to photoshop in the DW setting ?
    3) DW is higly customizable  , does this issue is documented  in adobe documentation ?
    4) smart object is limited if we  have acces only to the whole psd view not part of it like directory or specific layer  !!
    5) i hope this value is not store in binary file ( dll ) but  rather in text format ( file or in registry  ) and thus it can be edit  easely !
    regard's

    hi i fint it easely and i change many  location value in regedit after find the default value under   ( fr_FR language)
    Ordinateur\HKEY_CURRENT_USER\Software\Dreamweaver CS6\Helper applications Preferences\Editor GroupX
    is there easy enhanced way to use smart object in CS6  ?
    regard's

  • How to get out of tex edit mode with a single button?

    Hey,
    Is there a way to escape from text edit mode with a single click or button?
    So far I always hit CTRL+Enter, then V and then I click away from the canvas so that the paragraph ain't higlighted no more. But thats a pain in the butt! Cant there be a single button for this?
    Thaks
    AO

    Something interesting I just noticed: Double-clicking outside a text box can have different effects according to context.
    With the Pointer tool selected, double-clicking on a text box allows you to edit the text. In this "quick edit" mode, double-clicking outside the text box will return you to the Pointer tool.
    If the Text tool has been selected manually, double-clicking outside a text box will create a new text box.

  • Hide or delete column (linked to item with edit menu) in power shell

    Hi;
    How in powerShell can I change the column in a SharePoint list that has the link to the item and the link to the item with edit menu.
    For examlpe :
    Title (linked to item) and Title (linked to item with edit menu)
    I want to add into my view only the Title (linked to item) : ViewFields.Add("Title(linked to item)")
    Thanks

    The name of the field which needs to be deleted is LinkTitle. Here is a sample PowerShell code:
    $web = Get-SPWeb "http://aissp2013/sites/TestSite"
    $list = $web.Lists["XYZ"]
    $view = $list.Views["All Items"]
    $view.ViewFields.Delete("LinkTitle")
    $view.Update()
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Change Linked to Document with Edit Menu Column in Forms Library

    Hi!
        I am using a Forms Library, which I have associated with a Infopath Form, and there is that column "Name" which is linked Edit Menu... I do not want to use this column "Name" which is basically a FileName, so if I hide this "Name" column, how can I use an other column like ID (for eg) to link to document with edit menu...
        I'll appreciate any advice on this... Thanks in Advance

    Steve - Open the page in SP designer and in design mode hover over an item in the column a little '>' should show, click it and you can choose the options, however in SP2013 the design mode is gone so here is how it looks in the code of the page for adding
    a menu to the 'ActiveSite' column, note you need to do this in every location the column is used, which may make this not workable?
    <ViewFields>
    <FieldRef
    Name="Attachments"/>
    <FieldRef
    Name="LinkTitle"/>
    <FieldRef
    Name="SiteURL"
    />
    <FieldRef
    Name="ActiveSite"LinkToItem="TRUE"
    ListItemMenu="TRUE"/>
    </ViewFields>
    http://sharepointsurfer.wordpress.com/.

  • Edit a list  with "button list" template to limit the no: of list entries

    Hi Friends,
    I am having a list with "button list" template. But this list is having a large number of list entries. I am trying
    to limit the list entries shown in a page. For example display first '6' list entries and at the end of the 8th list entry
    having a "Next" or ">" and when pressing it show the next '6' list entries and so on. Is there any way to do this.
    Please help,
    Thanks,
    Tj

    With each line that you are writing out, you will have to add two additional fields, one for line number and another for page number.
    You will move sy-linno and sy-pagno to these fields respectively and modify the record.
    Then you will use the READ LINE itab-linno OF PAGE itab-pagno.
    Srinivas

  • RE: [iPlanet-JATO] image button handling

    Hi Todd,
    from what I have seen so far on the Project they are just buttons on
    the page.
    In the interim, I modified RequestHandlingViewBase.acceptsRequest() to
    handle the matching of parameter and command child names.
    from
    if (request.getParameter(commands)!=null)
    return getCommandChildNames()[i];
    to
    if (request.getParameter(commands[i])!=null ||
    (request.getParameter(commands[i]+ ".x")!=null ))
    return getCommandChildNames()[i];
    This fixed the problem with the image buttons in our cases.
    Kostas
    -----Original Message-----
    From: Todd Fast
    Sent: 10/27/00 6:21 AM
    Subject: Re: [iPlanet-JATO] image button handling
    Hi Kostas--
    I wanted to get some feedback on the known issue of the
    handleXXXXRequest method not being fired for buttons which have
    images, due to the the browser submitting
    the pixel coordinates back to the server like this:
    Page1.ImageButton1.x=...
    Page1.ImageButton1.y=...
    As the ND conversion project we are currently working on heavily uses
    image buttons we would like to get and indication if and when a patch
    is planned for this.
    Our current work around is to remove the src attribute from the JATO
    tags in the JSPs.We are currently working on getting this fixed. One question--what is
    the
    relative type of usage of image buttons in your project? Are they just
    buttons on the page (view bean), or do they appear in tiled views as
    well?
    Todd
    [email protected]
    [Non-text portions of this message have been removed]

    OK, here's what I'm trying to do: We have, like you said, a menu
    page. The pages that it goes to and the number of links are all
    variable and read from the database. In NetD we were able to create
    URLs in the form
    pgXYZ?SPIDERSESSION=abcd
    so this is what I'm trying to replicate here. So the URL that works
    is
    pgContactUs?GXHC_GX_jst=fc7b7e61662d6164&GXHC_gx_session_id_=cc9c6dfa5
    601afa7
    which I interpreted to be the equivalent of the old Netd way. Our
    javascript also loads other frames of the page in the same manner.
    And I believe the URL-rewritten frame sources of a frameset look like
    this too.
    This all worked except for the timeout problem. In theory we could
    rewrite all URLs to go to a handler, but that would be...
    inconvenient.

  • How to put links into these weird buttons?

    hi, ive got a flash template, but its really difficult to edit. heres the thing:
    there are 4 main categories buttons, and when i click each categorie, 3 options appears. for example
    green                    blue                    red               yellow
    1g    2g    3g         1b   2b   3b         1r   2r   3r     1y   2y   3y
    green, blue, red and yellow are already with button codes, for when i click it, it opens their 1, 2 and 3 option buttons, but these 1 2 and 3 for each color are not links, and when i try to add a code to them, ALL of them get the same link, like their instances from the same thing. and when i try to set a button to be instance of another thing, all of them change again.
    its really difficult and i've tried everything. even creating another box for these 1,2and 3, but when i create a box on this section, another 2 boxes are created at its sides.
    impossible thing.
    thanks for help in advance

    Chances are all coding is done dynamically using actionscript.  There's really no way to tell without knowing more about how the buttons are designed and coded.

  • I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks :)

    I have iOS 6 on my iPhone. i have linked my contacts with facebook and yahoo, which has doubled or triplicated some of the contacts. how can i integrate them into one? please help. it is getting on my nerves. thanks

    click on the contact which you want to integrate, click the edit button scroll down u will find a option called link contacts use it to link it to the duplicate contact

  • Sharepoint Designer Workflow - Edit this task button not showing in outlook for some users.

    Hello all,
    I have created a "collect data from user" workflow in Sharepoint Designer, with around 9 "else" instances as to who to collect data from. My problem is that some users do not have the "Edit this task" button at the top of the email (Nor do they have the
    "create rule.." button). They DO have the enabled hyperlink in the body of the email, which brings them to a screen where they can view the details of the task, then edit it by clicking on "Edit".
    My users who have the button at the top of the email are having a much more simplified experience, and I would like all users to have it. All permissions are equivalent across the board as best I can tell. Is this an Outlook settings issue perhaps?
    Any input is much appreciated!
    Thanks!

    Hi Fender,
    Please can you confirm which version of Outlook your users have (and if they are all on the same version)? All my none 2007 users lack the Edit Item button, and have to use the links in the body of the email, which I believe is simply due to the fact that
    2003 et al lacks the same SharePoint integration options as 2007.
    Cheers
    Stew

Maybe you are looking for

  • Basic question about functionality of SSF

    Hello, we are working on a process with external party to receive a csv file from there. The file will be duplicated and the duplicate converted into a data file which we use to import data into an R/3 system. Now the csv file will be enhanced by a p

  • Lightroom 1.4.1 Has anybody experienced corrupt print driver using Mac OS X Tiger

    Hi folks, I am starting to pull hair out! Whilst nearing the end of a print run for a wedding customer, my HP B9180 has begun to print what looks like dark lines on 'some' areas of my prints. I have done all that I can to resolve this but to no avail

  • Time Machine wiped out all my backups!

    This morning, Time Machine wiped out all my existing Time Machine backups and started a new, full backup of my startup drive.. My Time Machine volume was only half full, and I use TimeMachineEditor to schedule backups once a day instead of every hour

  • Un Install Blackberry Media Synch

    hello, i accidently let this function synch up with my blackberry storm through Desktop Manager and now it slows everything down when i plug the phone into the computer.  i don't want it to synch up with iTunes.  is there any way to reverse the proce

  • CRM technical Guidelines

    Hi All, I am an Abbaper Planning to learn Crm technical .I have checked many threads but there is no proper information for Crm Technical details such as  where to start and how to start Crm technical . I  am very much confused with the Crm Technical