I have a TCPMultiThreadServer with 2 clients the code is basically working fine. However i want the chat to end once the messages received from the client reaches 8. However as there is 2 clients i need to distinguish which client is which and when client 1 reaches 8 messages the end chat and...
I am using Swing i was maybe thinking of using the split pan when i say asynchronously i want it to run in correspondence so once the gender is selected the sizes are displayed immanently.
I am developing a user interface. Basically the user will have a scroll list from which they select gender and from there i have another frame which gives the user a further option. For example in this i want first the user to select their gender and then once selected another frame to provide a...
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class Form extends JPanel {
public Form () {
super();
JPanel pane = new JPanel(new GridBagLayout());
pane.setLayout(new GridBagLayout());
GridBagConstraints c1 = new GridBagConstraints()...
I need to create a class that will be used to produce a form which can then be used for user input.
The form won't be used like this it will b part of a GUI.
I know what i want to do but applying all this into code is some what puzzling for me and would very much appreciate some assistance...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.