Class ClipboardUtil

java.lang.Object
com.j3d.utility.ClipboardUtil

public class ClipboardUtil extends Object
Utility class for interacting with the system clipboard. Provides methods to copy text to the clipboard.
Author:
Lehlogonolo Poole
  • Constructor Details

    • ClipboardUtil

      public ClipboardUtil()
  • Method Details

    • copyToClipboard

      public static void copyToClipboard(String text)
      Copies the given text to the system clipboard.
      Parameters:
      text - The string to be copied to the clipboard.