我最近下载了Visual Studio 2012的主题,文件以.vsix结尾。我在Internet上进行了检查,但是找不到程序名称Vsix Installer。有人可以告诉我如何安装.vsix文件吗?提前致谢!
我正在研究一个程序,但我的JLabel没有显示出来.我的JButton工作得很好(看起来好像),但由于某些原因,JLabel没有出现.我在互联网上查了但是我还没找到任何东西.
package com.hinx.client;
import java.awt.Color;
import javax.swing.*;
public class Main {
public static void main(String [] args)
{
createWindow();
}
static void createWindow()
{
//Create panel
JPanel content = new JPanel();
content.setLayout(null);
//Build the frame
JFrame frame = new JFrame("Hinx - A marketplace for apps - Client ALPHA_0.0.1");
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.setSize(700, 400);
frame.setResizable(false);
frame.setLocationRelativeTo(null);
frame.add(content);
frame.setVisible(true);
//Add the login button
JButton login = new JButton("Login");
login.setBounds(0, 342, 150, 30);
//Create login label
JLabel loginlabel = new JLabel("Login Area");
//Create login panel …Run Code Online (Sandbox Code Playgroud)