// Path: DBMetadata-swing/src/main/java/com/github/abel533/Code.java
// public class Code {
//     public static Font TEXT_MSG = new Font("Monospaced", Font.PLAIN, 10);
//     public static Font TEXT_FONT = new Font(I18n.key("tools.text.font"), Font.PLAIN, 14);
//     public static Font TEXT_TABLE = new Font(I18n.key("tools.text.font"), Font.PLAIN, 12);
//     public static Font TEXT_BUTTON = new Font(I18n.key("tools.text.font"), Font.BOLD, 14);
// }


import com.github.abel533.Code;
import javax.swing.*;
import java.awt.*;
package com.github.abel533.view.panel;



public class TableSplitPane extends JSplitPane {
    private static final long serialVersionUID = 1L;

    private JTable dbTable;
    private JTable dbField;

    public TableSplitPane() {
        this.setResizeWeight(0.3);

        JPanel panelTable = new JPanel();
        this.setLeftComponent(panelTable);
        panelTable.setLayout(new BorderLayout(0, 0));

        JScrollPane scrollPane = new JScrollPane();
        panelTable.add(scrollPane, BorderLayout.CENTER);

        dbTable = new JTable();
// Path: DBMetadata-swing/src/main/java/com/github/abel533/Code.java
// public class Code {
//     public static Font TEXT_MSG = new Font("Monospaced", Font.PLAIN, 10);
//     public static Font TEXT_FONT = new Font(I18n.key("tools.text.font"), Font.PLAIN, 14);
//     public static Font TEXT_TABLE = new Font(I18n.key("tools.text.font"), Font.PLAIN, 12);
//     public static Font TEXT_BUTTON = new Font(I18n.key("tools.text.font"), Font.BOLD, 14);
// }


// Path: DBMetadata-swing/src/main/java/com/github/abel533/view/panel/TableSplitPane.java
import com.github.abel533.Code;
import javax.swing.*;
import java.awt.*;

package com.github.abel533.view.panel;



public class TableSplitPane extends JSplitPane {
    private static final long serialVersionUID = 1L;

    private JTable dbTable;
    private JTable dbField;

    public TableSplitPane() {
        this.setResizeWeight(0.3);

        JPanel panelTable = new JPanel();
        this.setLeftComponent(panelTable);
        panelTable.setLayout(new BorderLayout(0, 0));

        JScrollPane scrollPane = new JScrollPane();
        panelTable.add(scrollPane, BorderLayout.CENTER);

        dbTable = new JTable();
        dbTable.setFont(Code.TEXT_TABLE);