100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CE2o3 Assignment 1 Java code solution £7.29   Add to cart

Other

CE2o3 Assignment 1 Java code solution

 7 views  0 purchase

This document is the code solution for the ce203 Application Assignment

Preview 1 out of 5  pages

  • June 7, 2021
  • 5
  • 2019/2020
  • Other
  • Unknown
All documents for this subject (4)
avatar-seller
filipasa99
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.util.ArrayList;
import javax.swing.*;

public class CE203_2019_Ass1 implements ActionListener {

public static JButton addButton;
public static JButton displayButton;
public static JButton removeButton;
public static JButton clearButton;
public static JLabel label, textlabel, RGBlabel;
public static JTextField textInput, R, G, B;
public static Operations operate;

public CE203_2019_Ass1(){
operate = new Operations();
}
public JPanel createTopPanel() {
//adding button on the top
JPanel topPanel = new JPanel();
addButton = new JButton("Add Word");
addButton.addActionListener(this);
topPanel.add(addButton);
displayButton = new JButton("Display Words");
displayButton.addActionListener(this);
topPanel.add(displayButton);
removeButton = new JButton("Remove Word");
removeButton.addActionListener(this);
topPanel.add(removeButton);
clearButton = new JButton("Clear List");
clearButton.addActionListener(this);
topPanel.add(clearButton);
topPanel.setSize(500, 100);
topPanel.setLocation(0, 0);

return topPanel;
}

public static JPanel createMiddlePanel() {
JPanel panel = new JPanel();
label = new JLabel("LABEL");
//textlabel = new JLabel("Text Input");
panel.add(label);

panel.setSize(500, 200);
panel.setLocation(0, 150);
return panel;

}

public static JPanel createBottomPanel() {

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller filipasa99. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for £7.29. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

57114 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy revision notes and other study material for 14 years now

Start selling
£7.29
  • (0)
  Add to cart