Deprecated List (jEdit API Documentation)
Date: 2017-03-18

# Deprecated API

## Contents

- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

- Deprecated Classes
  Class and Description
  org.gjt.sp.jedit.print.BufferPrinter1_3
  org.gjt.sp.jedit.print.BufferPrinter1_4

- Deprecated Fields
  Field and Description
  org.gjt.sp.jedit.Debug.ALTERNATIVE_DISPATCHER no longer used.

- Deprecated Methods
  Method and Description
  org.gjt.sp.jedit.Mode.acceptFilename(String) use `Mode.acceptFile(String, String)` instead
  org.gjt.sp.jedit.GUIUtilities.adjustForScreenBounds(Rectangle) use `GenericGUIUtilities.adjustForScreenBounds(Rectangle)`
  org.gjt.sp.jedit.GUIUtilities.defaultColumnWidth() use `GenericGUIUtilities.defaultColumnWidth()`
  org.gjt.sp.jedit.GUIUtilities.defaultRowHeight() use `GenericGUIUtilities.defaultRowHeight()`
  org.gjt.sp.jedit.GUIUtilities.defaultTableCellSize() use `GenericGUIUtilities.defaultTableCellSize()`
  org.gjt.sp.jedit.bsh.JavaCharStream.getColumn()
  org.gjt.sp.jedit.Buffer.getFile() Do not call this method, use `Buffer.getPath()` instead.
  org.gjt.sp.jedit.MiscUtilities.getFileNameNoExtension(String) use getBaseName() instead.
  org.gjt.sp.jedit.bsh.JavaCharStream.getLine()
  org.gjt.sp.jedit.textarea.TextArea.getMarkPosition() Do not use.
  org.gjt.sp.jedit.GUIUtilities.getParentDialog(Component) use `GenericGUIUtilities.getParentDialog(Component)`
  org.gjt.sp.jedit.GUIUtilities.getScreenBounds() use `GenericGUIUtilities.getScreenBounds()`
  org.gjt.sp.jedit.OperatingSystem.hasJava17() - there is no point in checking for this since we require Java 1.8. Returns if Java 2 version 1.7 is in use.
  org.gjt.sp.jedit.GUIUtilities.isAncestorOf(Component, Component) use `GenericGUIUtilities.isAncestorOf(Component, Component)`
  org.gjt.sp.jedit.OperatingSystem.isDOSDerived() use `OperatingSystem.isWindows()`
  org.gjt.sp.jedit.GUIUtilities.isMiddleButton(int) use `GenericGUIUtilities.isMiddleButton(int)`
  org.gjt.sp.jedit.GUIUtilities.isPopupTrigger(MouseEvent) use `GenericGUIUtilities.requestFocus(Window, Component)`
  org.gjt.sp.jedit.GUIUtilities.isRightButton(int) use `GenericGUIUtilities.isRightButton(int)`
  org.gjt.sp.jedit.GUIUtilities.makeSameSize(Component...) use `GenericGUIUtilities.makeSameSize(Component...)`
  org.gjt.sp.util.StandardUtilities.objectsEqual(Object, Object) use {java.util.Objects#equals(Object, Object}
  org.gjt.sp.jedit.GUIUtilities.parseColor(String) use `SyntaxUtilities.parseColor(String, Color)`
  org.gjt.sp.jedit.GUIUtilities.parseStyle(String, String, int) use `SyntaxUtilities.parseStyle(String, String, int, boolean)`
  org.gjt.sp.jedit.GUIUtilities.prettifyMenuLabel(String) use `GenericGUIUtilities.prettifyMenuLabel(String)`
  org.gjt.sp.jedit.GUIUtilities.requestFocus(Window, Component) use `GenericGUIUtilities.requestFocus(Window, Component)`
  org.gjt.sp.jedit.io.VFSManager.runInAWTThread(Runnable) Using that method, when you run a task in AWT Thread, it will wait for all background task causing some unwanted delays. If you need calling a task after a background work, please add your runnable to the EDT thread yourself at the end of the background task
  org.gjt.sp.jedit.io.VFSManager.runInWorkThread(Task) You should not use this method, this threadpool links the AWT Threads and Work threads.
  org.gjt.sp.jedit.GUIUtilities.setAutoMnemonic(AbstractButton) use `GenericGUIUtilities.setAutoMnemonic(AbstractButton)`
  org.gjt.sp.jedit.GUIUtilities.setButtonContentMargin(AbstractButton, Insets) use `GenericGUIUtilities.setButtonContentMargin(AbstractButton, Insets)`
  org.gjt.sp.jedit.GUIUtilities.setEnabledRecursively(Container, boolean) use `GenericGUIUtilities.setEnabledRecursively(Container, boolean)`
  org.gjt.sp.jedit.bsh.NameSpace.setTypedVariable(String, Class, Object, boolean) See #setTypedVariable( String, Class, Object, Modifiers )
  org.gjt.sp.jedit.Registers.Register.setValue(String) use `Registers.Register.setTransferable(java.awt.datatransfer.Transferable)` instead, for example `setTransferable(new StringSelection(""))`
  org.gjt.sp.jedit.GUIUtilities.showPopupMenu(JPopupMenu, Component, int, int) use `GenericGUIUtilities.showPopupMenu(JPopupMenu, Component, int, int)`
  org.gjt.sp.jedit.GUIUtilities.showPopupMenu(JPopupMenu, Component, int, int, boolean) use `GenericGUIUtilities.showPopupMenu(JPopupMenu, Component, int, int, boolean)`
  org.gjt.sp.jedit.textarea.TextArea.showPopupMenu(JPopupMenu, Component, int, int, boolean) use `GenericGUIUtilities.showPopupMenu(JPopupMenu, Component, int, int, boolean)`