Copy Text - Online Code

Description

This is a code which can Copy Text from one Text Area to another Text Area. First select the text form left text area and then click the button and see the result.

Source Code

import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class TextTransfer extends JFrame {

    private JTextArea t1,  t2;
    private JButton copy;

    public TextTransfer() {
        super("Text Area
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

No comment yet. Be the first to post a comment.