package com.HPioneer.view; import java.awt.EventQueue; import javax.swing.JInternalFrame; import javax.swing.GroupLayout; import javax.swing.GroupLayout.Alignment; import java.awt.Color; import javax.swing.JLabel; import javax.swing.ImageIcon; import javax.swing.LayoutStyle.ComponentPlacement; import java.awt.Font; public class HPioneer1234InterFrm extends JInternalFrame { /** * Launch the application. */ public static void main(String[] args) { EventQueue.invokeLater(new Runnable() { public void run() { try { HPioneer1234InterFrm frame = new HPioneer1234InterFrm(); frame.setVisible(true); } catch (Exception e) { e.printStackTrace(); } } }); } /** * Create the frame. */ public HPioneer1234InterFrm() { getContentPane().setBackground(new Color(255, 255, 224)); getContentPane().setForeground(new Color(255, 255, 224)); JLabel lblNewLabel = new JLabel(""); lblNewLabel.setIcon(new ImageIcon(HPioneer1234InterFrm.class.getResource("/images/HPioneer.jpg"))); JLabel lblNewLabel_1 = new JLabel("HPioneer "); lblNewLabel_1.setFont(new Font("Estrangelo Edessa", Font.PLAIN, 15)); JLabel lblNewLabel_2 = new JLabel("涓�鐩村湪杩介��"); GroupLayout groupLayout = new GroupLayout(getContentPane()); groupLayout.setHorizontalGroup( groupLayout.createParallelGroup(Alignment.LEADING) .addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 478, GroupLayout.PREFERRED_SIZE) .addGroup(groupLayout.createSequentialGroup() .addGap(131) .addComponent(lblNewLabel_1) .addGap(69) .addComponent(lblNewLabel_2)) ); groupLayout.setVerticalGroup( groupLayout.createParallelGroup(Alignment.LEADING) .addGroup(groupLayout.createSequentialGroup() .addComponent(lblNewLabel, GroupLayout.PREFERRED_SIZE, 276, GroupLayout.PREFERRED_SIZE) .addPreferredGap(ComponentPlacement.RELATED) .addGroup(groupLayout.createParallelGroup(Alignment.BASELINE) .addComponent(lblNewLabel_1) .addComponent(lblNewLabel_2)) .addContainerGap(GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)) ); getContentPane().setLayout(groupLayout); setIconifiable(true); setClosable(true); setTitle("鍏充簬HPioneer"); setBounds(100, 100, 489, 339); } }