|
|
@ -1,8 +1,12 @@ |
|
|
|
package com.fr.design.mainframe.share.ui.online.mini; |
|
|
|
package com.fr.design.mainframe.share.ui.online.mini; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.ScreenResolution; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
import com.fr.design.mainframe.share.mini.MiniShopDisposingChecker; |
|
|
|
import com.fr.design.mainframe.share.mini.MiniShopDisposingChecker; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
import com.fr.design.utils.gui.GUICoreUtils; |
|
|
|
|
|
|
|
import com.fr.stable.Constants; |
|
|
|
|
|
|
|
import com.fr.stable.unit.FU; |
|
|
|
|
|
|
|
import com.fr.stable.unit.UNIT; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JFrame; |
|
|
|
import javax.swing.JFrame; |
|
|
|
import java.awt.Container; |
|
|
|
import java.awt.Container; |
|
|
@ -32,7 +36,10 @@ public class MiniComponentShopDialog { |
|
|
|
final JFrame frame = new JFrame(); |
|
|
|
final JFrame frame = new JFrame(); |
|
|
|
final MiniComponentShopPane shopPane = new MiniComponentShopPane(); |
|
|
|
final MiniComponentShopPane shopPane = new MiniComponentShopPane(); |
|
|
|
|
|
|
|
|
|
|
|
frame.setSize(1200, 800); |
|
|
|
final UNIT width = FU.getInstance(900 * Constants.FU_PER_OLD_PIX); |
|
|
|
|
|
|
|
final UNIT height = FU.getInstance(600 * Constants.FU_PER_OLD_PIX); |
|
|
|
|
|
|
|
int resolution = ScreenResolution.getScreenResolution(); |
|
|
|
|
|
|
|
frame.setSize(width.toPixI(resolution), height.toPixI(resolution)); |
|
|
|
frame.setTitle(Toolkit.i18nText("Fine-Design_Share_Online_Mini_Shop_Window_Title")); |
|
|
|
frame.setTitle(Toolkit.i18nText("Fine-Design_Share_Online_Mini_Shop_Window_Title")); |
|
|
|
frame.add(shopPane); |
|
|
|
frame.add(shopPane); |
|
|
|
frame.setResizable(false); |
|
|
|
frame.setResizable(false); |
|
|
|