Skip to content

Commit

Permalink
Removed last version of dnd. Added dnd support from weisJ theme. Also…
Browse files Browse the repository at this point in the history
…, I fixed a problem not being able to scroll when a class is open and switching themes. Not sure if it was happening to just me or not.
  • Loading branch information
Bl3nd committed Apr 10, 2023
1 parent ca894b3 commit e6cdd92
Show file tree
Hide file tree
Showing 4 changed files with 119 additions and 219 deletions.
Original file line number Diff line number Diff line change
@@ -1,24 +1,16 @@
package the.bytecode.club.bytecodeviewer.gui.resourceviewer;

import com.android.tools.r8.internal.Cl;
import com.github.weisj.darklaf.components.CloseButton;
import com.github.weisj.darklaf.listener.MouseClickListener;
import the.bytecode.club.bytecodeviewer.gui.components.listeners.MouseClickedListener;
import the.bytecode.club.bytecodeviewer.translation.TranslatedStrings;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;

public class CloseButtonComponent extends JPanel {

private final JTabbedPane pane;

String title = "";

public CloseButtonComponent(final JTabbedPane pane) {
super(new FlowLayout(FlowLayout.LEFT, 0, 0));
if (pane == null) {
Expand Down
Loading

0 comments on commit e6cdd92

Please sign in to comment.