Click here to Skip to main content
15,892,005 members
Home / Discussions / Java
   

Java

 
GeneralRe: File Explorer Pin
TorstenH.1-Nov-11 23:57
TorstenH.1-Nov-11 23:57 
GeneralRe: File Explorer Pin
David Skelly2-Nov-11 2:57
David Skelly2-Nov-11 2:57 
GeneralRe: File Explorer Pin
HTT902-Nov-11 6:23
HTT902-Nov-11 6:23 
Questionjava image processing Pin
sagar lachure31-Oct-11 19:41
sagar lachure31-Oct-11 19:41 
AnswerRe: java image processing Pin
Richard MacCutchan31-Oct-11 22:41
mveRichard MacCutchan31-Oct-11 22:41 
QuestionJPanel drawing issues Pin
ExoticmE30-Oct-11 21:35
ExoticmE30-Oct-11 21:35 
AnswerRe: JPanel drawing issues Pin
Richard MacCutchan30-Oct-11 23:57
mveRichard MacCutchan30-Oct-11 23:57 
GeneralRe: JPanel drawing issues Pin
ExoticmE31-Oct-11 0:05
ExoticmE31-Oct-11 0:05 
Java
super();


		// Setup elements
		this.setBounds((int) position.getX(), (int) position.getY(), 760, 92);
		this.setTransferHandler(new FileDropHandler());

		this.setBorder(new LineBorder(SystemColor.activeCaption));
		this.setBackground(new Color(240, 248, 255));
		this.setVisible(true);

		JLabel lblComputerMonitor = new JLabel("");
		lblComputerMonitor.setBounds(12, 4, 64, 88);
		lblComputerMonitor.setIcon(new ImageIcon(Main.class.getResource("/Resources/monitor_64.png")));

		JLabel lblCustomName_Static = new JLabel("Custom Name:");
		lblCustomName_Static.setBounds(82, 4, 91, 27);
		lblCustomName_Static.setFont(new Font("Segoe UI", Font.PLAIN, 12));

		JLabel lblCustomName = new JLabel("Some guy");
		lblCustomName.setBounds(183, 4, 152, 27);
		lblCustomName.setFont(new Font("Segoe UI", Font.PLAIN, 12));

		JLabel lblNewLabel = new JLabel("Disconnect");
		lblNewLabel.setBounds(674, 5, 78, 27);

		JLabel lblNetworkName_Static = new JLabel("Network Name:");
		lblNetworkName_Static.setBounds(82, 31, 91, 26);
		lblNetworkName_Static.setFont(new Font("Segoe UI", Font.PLAIN, 12));

		JLabel lblNetworkName = new JLabel("Stuarts-pc");
		lblNetworkName.setBounds(183, 31, 152, 26);
		lblNetworkName.setFont(new Font("Segoe UI", Font.PLAIN, 12));

		JLabel lblGroups = new JLabel("Groups");
		lblGroups.setBounds(652, 43, 100, 34);
		lblGroups.setHorizontalAlignment(SwingConstants.LEFT);
		lblGroups.setIcon(new ImageIcon(Main.class.getResource("/Resources/Users2.png")));
		lblGroups.setOpaque(true);
		lblGroups.setBackground(new Color(255, 245, 238));
		lblGroups.setBorder(new LineBorder(new Color(255, 218, 185)));

		JPopupMenu popupMenu = new JPopupMenu();
		addPopup(lblGroups, popupMenu);

		JCheckBoxMenuItem chckbxmntmTest = new JCheckBoxMenuItem("Test");
		popupMenu.add(chckbxmntmTest);

		JCheckBoxMenuItem chckbxmntmTest_1 = new JCheckBoxMenuItem("Test2");
		popupMenu.add(chckbxmntmTest_1);

		JLabel lblNetworkIP_Static = new JLabel("Network IP:");
		lblNetworkIP_Static.setBounds(82, 60, 91, 26);
		lblNetworkIP_Static.setFont(new Font("Segoe UI", Font.PLAIN, 12));

		JLabel lblNetworkIP = new JLabel("192.168.0.2");
		lblNetworkIP.setBounds(183, 60, 152, 26);
		lblNetworkIP.setFont(new Font("Segoe UI", Font.PLAIN, 12));
		this.setLayout(null);
		this.add(lblComputerMonitor);
		this.add(lblNetworkIP_Static);
		this.add(lblNetworkName_Static);
		this.add(lblCustomName_Static);
		this.add(lblNetworkIP);
		this.add(lblNetworkName);
		this.add(lblCustomName);
		this.add(lblNewLabel);
		this.add(lblGroups);

AnswerRe: JPanel drawing issues Pin
TorstenH.1-Nov-11 21:56
TorstenH.1-Nov-11 21:56 
QuestionJava drawString Pin
Tor Danielsen26-Oct-11 8:07
Tor Danielsen26-Oct-11 8:07 
AnswerRe: Java drawString Pin
Manfred Rudolf Bihy26-Oct-11 9:21
professionalManfred Rudolf Bihy26-Oct-11 9:21 
GeneralRe: Java drawString Pin
Tor Danielsen26-Oct-11 11:06
Tor Danielsen26-Oct-11 11:06 
GeneralRe: Java drawString Pin
bennis9826-Oct-11 18:09
bennis9826-Oct-11 18:09 
GeneralRe: Java drawString Pin
TorstenH.26-Oct-11 20:49
TorstenH.26-Oct-11 20:49 
GeneralRe: Java drawString Pin
Tor Danielsen27-Oct-11 4:34
Tor Danielsen27-Oct-11 4:34 
GeneralRe: Java drawString Pin
Richard MacCutchan27-Oct-11 5:00
mveRichard MacCutchan27-Oct-11 5:00 
GeneralRe: Java drawString Pin
Tor Danielsen27-Oct-11 5:05
Tor Danielsen27-Oct-11 5:05 
GeneralRe: Java drawString Pin
phil.o27-Oct-11 5:31
professionalphil.o27-Oct-11 5:31 
GeneralRe: Java drawString Pin
Richard MacCutchan27-Oct-11 5:45
mveRichard MacCutchan27-Oct-11 5:45 
GeneralRe: Java drawString Pin
Tor Danielsen27-Oct-11 8:08
Tor Danielsen27-Oct-11 8:08 
GeneralRe: Java drawString Pin
phil.o30-Oct-11 23:13
professionalphil.o30-Oct-11 23:13 
QuestionHow to develop server with threads and store in txt file Pin
Member 834295426-Oct-11 4:51
Member 834295426-Oct-11 4:51 
AnswerRe: How to develop server with threads and store in txt file Pin
Richard MacCutchan26-Oct-11 5:06
mveRichard MacCutchan26-Oct-11 5:06 
AnswerRe: How to develop server with threads and store in txt file Pin
jschell26-Oct-11 11:08
jschell26-Oct-11 11:08 
AnswerRe: How to develop server with threads and store in txt file Pin
TorstenH.27-Oct-11 21:44
TorstenH.27-Oct-11 21:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.