The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Test
By Guest on 26th December 2018 05:03:51 PM | Syntax: JAVA | Views: 1



New paste | Download | Show/Hide line no. | Copy text to clipboard
  1. //Styling Section
  2.         mainLabel.setFont(new Font("Open Sans ExtraBold", 0, 24));
  3.         viewSellersLabel.setFont(new Font("Open Sans ExtraBold", 0, 14));
  4.         viewBuyersLabel.setFont(new Font("Open Sans ExtraBold", 0, 14));
  5.         viewSellersProductsLabel.setFont(new Font("Open Sans ExtraBold", 0, 14));
  6.         removeSellerproductLabel.setFont(new Font("Open Sans ExtraBold", 0, 14));
  7.         removeBuyerLabel.setFont(new Font("Open Sans ExtraBold", 0, 14));
  8.         removeSellerLabel.setFont(new Font("Open Sans ExtraBold", 0, 14));
  9.         viewSellersProductsField.setFont(new Font("Open Sans ExtraBold", 0, 14));
  10.         removeSellerField.setFont(new Font("Open Sans ExtraBold", 0, 14));
  11.         removeBuyerField.setFont(new Font("Open Sans ExtraBold", 0, 14));
  12.         removeSellerproductField.setFont(new Font("Open Sans ExtraBold", 0, 14));
  13.         mainLabel.setIcon(new ImageIcon("pictures\\alert.jpeg"));
  14.         viewBuyersJLabel.setIcon(new ImageIcon("pictures\\right.jpeg"));
  15.         viewSellersJLabel.setIcon(new ImageIcon("pictures\\right.jpeg"));
  16.         viewBuyersJLabel.setHorizontalAlignment(SwingConstants.CENTER);
  17.         viewSellersJLabel.setHorizontalAlignment(SwingConstants.CENTER);
  18.         mainLabel.setHorizontalAlignment(SwingConstants.CENTER);
  19.         viewSellersProductsField.setHorizontalAlignment(SwingConstants.CENTER);
  20.         removeSellerField.setHorizontalAlignment(SwingConstants.CENTER);
  21.         removeBuyerField.setHorizontalAlignment(SwingConstants.CENTER);
  22.         removeSellerproductField.setHorizontalAlignment(SwingConstants.CENTER);
  23.         viewSellersProductsField.setBorder(new LineBorder(new Color(48, 46, 46), 3, true));
  24.         removeSellerField.setBorder(new LineBorder(new Color(48, 46, 46), 3, true));
  25.         removeBuyerField.setBorder(new LineBorder(new Color(48, 46, 46), 3, true));
  26.         removeSellerproductField.setBorder(new LineBorder(new Color(48, 46, 46), 3, true));
  27.         viewSellersButton.setBackground(new Color(0,123,255));
  28.         viewSellersButton.setForeground(new Color(255,255,255));
  29.         viewSellersProductsField.setForeground(new Color(153,0,0));
  30.         removeSellerField.setForeground(new Color(153,0,0));
  31.         removeBuyerField.setForeground(new Color(153,0,0));
  32.         removeSellerproductField.setForeground(new Color(153,0,0));
  33.         viewSellersButton.setFont(new Font("Open Sans ExtraBold", 0, 18));
  34.         viewSellersButton.setSize(new Dimension(40, 40));
  35.         viewBuyersButton.setBackground(new Color(0,123,255));
  36.         viewBuyersButton.setForeground(new Color(255,255,255));
  37.         viewBuyersButton.setFont(new Font("Open Sans ExtraBold", 0, 18));
  38.         viewBuyersButton.setMaximumSize(new Dimension(40, 40));
  39.         viewSellersProductsbButton.setBackground(new Color(0,123,255));
  40.         viewSellersProductsbButton.setForeground(new Color(255,255,255));
  41.         viewSellersProductsbButton.setFont(new Font("Open Sans ExtraBold", 0, 18));
  42.         viewSellersProductsbButton.setMaximumSize(new Dimension(40, 40));
  43.         removeSellerButton.setBackground(new Color(0,123,255));
  44.         removeSellerButton.setForeground(new Color(255,255,255));
  45.         removeSellerButton.setFont(new Font("Open Sans ExtraBold", 0, 18));
  46.         removeSellerButton.setMaximumSize(new Dimension(40, 40));
  47.         removeBuyerbButton.setBackground(new Color(0,123,255));
  48.         removeBuyerbButton.setForeground(new Color(255,255,255));
  49.         removeBuyerbButton.setFont(new Font("Open Sans ExtraBold", 0, 18));
  50.         removeBuyerbButton.setMaximumSize(new Dimension(40, 40));
  51.         removeSellerproductbButton.setBackground(new Color(0,123,255));
  52.         removeSellerproductbButton.setForeground(new Color(255,255,255));
  53.         removeSellerproductbButton.setFont(new Font("Open Sans ExtraBold", 0, 18));
  54.         removeSellerproductbButton.setMaximumSize(new Dimension(40, 40));



  • Recent Pastes