|
|
|
@ -11,6 +11,7 @@ import com.fr.design.gui.imenu.UIScrollPopUpMenu;
|
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.JTemplate; |
|
|
|
|
import com.fr.design.utils.DesignUtils; |
|
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
|
import com.fr.design.utils.gui.GUIPaintUtils; |
|
|
|
|
import com.fr.file.FILE; |
|
|
|
@ -35,7 +36,6 @@ import java.awt.AlphaComposite;
|
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Color; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.awt.Font; |
|
|
|
|
import java.awt.GradientPaint; |
|
|
|
|
import java.awt.Graphics; |
|
|
|
|
import java.awt.Graphics2D; |
|
|
|
@ -136,7 +136,7 @@ public class MutilTempalteTabPane extends JComponent {
|
|
|
|
|
this.addMouseMotionListener(new MultiTemplateTabMouseMotionListener()); |
|
|
|
|
this.setBorder(null); |
|
|
|
|
this.setForeground(new Color(58, 56, 58)); |
|
|
|
|
this.setFont(new Font(Toolkit.i18nText("Fine-Design_Basic_Song_TypeFace"), 0, 12)); |
|
|
|
|
this.setFont(DesignUtils.getDefaultGUIFont().applySize(12)); |
|
|
|
|
openedTemplate = HistoryTemplateListCache.getInstance().getHistoryList(); |
|
|
|
|
selectedIndex = openedTemplate.size() - 1; |
|
|
|
|
AWTEventListener awt = new AWTEventListener() { |
|
|
|
|