You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1011 B
Kotlin

package net.idylls.tickle
import org.slf4j.LoggerFactory
import java.awt.GridBagLayout
import java.awt.BorderLayout
import java.awt.event.ActionEvent
import java.awt.event.FocusEvent
import java.awt.event.FocusListener
import java.awt.Color
import javax.swing.AbstractAction
import javax.swing.BorderFactory
import javax.swing.JPanel
import javax.swing.JTextArea
import javax.swing.KeyStroke
import javax.swing.border.EmptyBorder
import javax.swing.text.BadLocationException
import javax.swing.text.Document
import javax.swing.undo.CannotUndoException
import javax.swing.undo.UndoManager
import net.runelite.client.ui.ColorScheme
import net.runelite.client.ui.PluginPanel
class Panel : PluginPanel() {
val log = LoggerFactory.getLogger(Panel::class.java)
init {
this.setLayout(BorderLayout())
this.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 10))
this.setBackground(ColorScheme.DARK_GRAY_COLOR)
this.log.info("Initialized Tickle panel")
val panel = JPanel()
this.add(panel)
}
}