Inline Attachment Follows
Inline Attachment Follows
Inline Attachment Follows
css
BODY {
FONT-WEIGHT: normal; FONT-SIZE: 0.8em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-FAMILY: Arial; LETTER-SPACING: normal; BACKGROUND-
COLOR: white
}
H1 {
COLOR: #003366
}
H2 {
COLOR: #003366
}
H3 {
COLOR: #003366
}
H4 {
COLOR: #003366
}
H5 {
COLOR: #003366
}
TH {
COLOR: #003366
}
THEAD {
COLOR: #003366
}
TFOOT {
COLOR: #003366
}
H1 {
FONT-WEIGHT: 700; FONT-SIZE: 8pt; WORD-SPACING: normal; TEXT-TRANSFORM:
none; FONT-STYLE: normal; FONT-FAMILY: Arial; LETTER-SPACING: normal; TEXT-
DECORATION: none
}
H2 {
FONT-WEIGHT: 700; FONT-SIZE: 1.75em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica,
sans-serif; LETTER-SPACING: normal; TEXT-DECORATION: none
}
H3 {
FONT-WEIGHT: 500; FONT-SIZE: 1.58em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica,
sans-serif; LETTER-SPACING: normal; TEXT-DECORATION: none
}
H4 {
FONT-WEIGHT: 500; FONT-SIZE: 1.33em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-FAMILY: Arial; LETTER-SPACING: normal; TEXT-
DECORATION: none
}
H5 {
FONT-WEIGHT: 700; FONT-SIZE: 1em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-STYLE: normal; FONT-FAMILY: Arial; LETTER-SPACING:
normal; TEXT-DECORATION: none
}
DT {
FONT-WEIGHT: 700; FONT-SIZE: 1em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-STYLE: normal; FONT-FAMILY: Arial; LETTER-SPACING:
normal; TEXT-DECORATION: none
}
H6 {
FONT-WEIGHT: 700; FONT-SIZE: 0.8em; WORD-SPACING: normal; TEXT-
TRANSFORM: none; FONT-STYLE: normal; FONT-FAMILY: Arial; LETTER-SPACING:
normal; TEXT-DECORATION: none
}
TFOOT {
FONT-SIZE: 1em; WORD-SPACING: normal; TEXT-TRANSFORM: none; FONT-
FAMILY: Arial, Helvetica, sans-serif; LETTER-SPACING: normal
}
THEAD {
FONT-SIZE: 1em; WORD-SPACING: normal; TEXT-TRANSFORM: none; FONT-
FAMILY: Arial, Helvetica, sans-serif; LETTER-SPACING: normal
}
TH {
FONT-WEIGHT: bold; FONT-SIZE: 10pt; WORD-SPACING: normal; VERTICAL-ALIGN:
top; TEXT-TRANSFORM: none; FONT-FAMILY: Verdana; LETTER-SPACING: normal
}
TD {
FONT-WEIGHT: 200; FONT-SIZE: 8pt; WORD-SPACING: normal; VERTICAL-ALIGN:
middle; TEXT-TRANSFORM: none; FONT-FAMILY: @Arial Unicode MS; LETTER-
SPACING: normal
}
LABEL {
FONT-WEIGHT: 400; FONT-SIZE: 8pt; VERTICAL-ALIGN: baseline; FONT-FAMILY:
Arial
}
A:link {
FONT-SIZE: 11px; COLOR: #3333cc; TEXT-DECORATION: none
}
A:visited {
FONT-SIZE: 11px; COLOR: #333399; TEXT-DECORATION: none
}
A:active {
COLOR: #333399; TEXT-DECORATION: none
}
A:hover {
COLOR: red; TEXT-DECORATION: underline
}
SMALL {
FONT-SIZE: 0.7em
}
BIG {
FONT-SIZE: 1.1em
}
BLOCKQUOTE {
FONT-FAMILY: Courier New, monospace
}
PRE {
FONT-FAMILY: Courier New, monospace
}
UL LI {
LIST-STYLE-TYPE: square
}
UL LI LI {
LIST-STYLE-TYPE: disc
}
UL LI LI LI {
LIST-STYLE-TYPE: circle
}
OL LI {
LIST-STYLE-TYPE: decimal
}
OL OL LI {
LIST-STYLE-TYPE: lower-alpha
}
OL OL OL LI {
LIST-STYLE-TYPE: lower-roman
}
IMG {
MARGIN-TOP: 5px; MARGIN-LEFT: 10px; MARGIN-RIGHT: 10px
}
.DataGridHeader {
FONT-WEIGHT: bold; FONT-SIZE: 9pt; VERTICAL-ALIGN: top; COLOR: #3d3d3d;
FONT-FAMILY: MS Sans Serif; HEIGHT: 16px; BACKGROUND-COLOR: #fceac0
}
.DataGridItem {
FONT-WEIGHT: normal; FONT-SIZE: 8pt; VERTICAL-ALIGN: top; COLOR: black;
FONT-FAMILY: MS Sans Serif
}
.DatagridAlternatingStyle {
FONT-SIZE: 8pt; VERTICAL-ALIGN: top; FONT-FAMILY: MS Sans Serif;
BACKGROUND-COLOR: #f5f5f5
}
.DatagridPagerstyle {
FONT-WEIGHT: normal; FONT-SIZE: 9pt; COLOR: #3d3d3d; FONT-FAMILY: MS Sans
Serif; HEIGHT: 16px; BACKGROUND-COLOR: #e1e1e1
}
.DatagridTitle {
HEIGHT: 16px; BACKGROUND-COLOR: #e1e1e1
}
.ABC {
VERTICAL-ALIGN: top
}
Inline Attachment Follows: BudgetPlanning.java
import javax.swing.*;
import java.awt.*;
class BudgetPlanning
{
public static void main(String[] ar)
{
JLabel BUDGET=new JLabel("BUDGET");
JTextField BUG =new JTextField(9);
JButton AddBtn=new JButton("Add");
JButton Submit =new JButton("Submit");
class CustomerRegPg
{
public static void main(String[] ar)
{
JLabel Contact=new JLabel("Contact");
JTextField FillContact=new JTextField(9);
JButton OkBtn=new JButton("Submit");
JButton Cancel=new JButton("Cancel");
Inline Attachment Follows: first.java
class first
{
public static void main(String args[])
{
System.out.println("Hello");
}
}
Inline Attachment Follows: Frame1.java
import java.awt.*;
import javax.swing.*;
class Frame1
{
JFrame frame;
JPanel panel;
JLabel name,occ,event;
JButton bok,bcancel;
JTextField tf1;
JTextArea ta;
JComboBox b1;
GridBagLayout gbl;
GridBagConstraints gbc;
JComboBox cb;
public Frame1()
{
frame = new JFrame("EVENTS");
name = new JLabel("Name");
gbc.gridx = 0;
gbc.gridy = 0;
gbc.fill = GridBagConstraints.HORIZONTAL;
gbc.insets = new Insets(5,5,5,5);
gbl.setConstraints(name,gbc);
panel.add(name);
tf1 = new JTextField(10);
gbc.gridx = 0;
gbc.gridy = 1;
gbl.setConstraints(tf1,gbc);
panel.add(tf1);
event = new JLabel("Event");
gbc.gridx = 0;
gbc.gridy = 4;
gbl.setConstraints(event,gbc);
panel.add(event);
ta = new JTextArea(10,20);
gbc.gridx = 0;
gbc.gridy = 5;
gbl.setConstraints(ta,gbc);
panel.add(ta);
bok = new JButton("OK");
gbc.gridx = 1;
gbc.gridy = 6;
gbl.setConstraints(bok,gbc);
panel.add(bok);
frame.getContentPane().add(panel);
}
class Frame2
{
JFrame frame;
JPanel panel,primarypanel;
JLabel name,evntnme,evntstatus,strtdte,nddte,budget,frstnme,lstname,add,
state,country,title;
JTextField tf1,tf2,tf3,tf4,tf5,tf6,tf7,tf8,tf9,tf10;
JComboBox cb,cb1;
GridBagLayout gbl,gbl1;
GridBagConstraints gbc,gbc1;
JTabbedPane tabs;
public Frame2()
{
frame = new JFrame("ADDING PROSPECTIVE CLIENTS");
frame.setSize(400,500);
frame.setVisible(true);
frame.setResizable(true);
panel = new JPanel();
tf2 = new JTextField(20);
gbc.gridx = 1;
gbc.gridy = 1;
gbl.setConstraints(tf2,gbc);
panel.add(tf2);
evntstatus = new JLabel(" EVENT STATUS");
gbc.gridx = 0;
gbc.gridy = 2;
gbl.setConstraints(evntstatus,gbc);
panel.add(evntstatus);
nddte = new JLabel(" START DATE");
gbc.gridx = 0;
gbc.gridy = 4;
gbl.setConstraints(nddte,gbc);
panel.add(nddte);
String[] str1 = {"MR","MISS","DR","ER"};
cb1 = new JComboBox(str1);
gbc1.gridx = 0;
gbc1.gridy = 1;
gbl1.setConstraints(cb1,gbc1);
primarypanel.add(cb1);
country = new JLabel("COUNTRY");
gbc1.gridx = 4;
gbc1.gridy = 2;
gbl1.setConstraints(country,gbc1);
primarypanel.add(country);
}
import java.awt.*;
import javax.swing.*;
gbl2= new GridBagLayout();
gbc2 = new GridBagConstraints();
setLayout(gbl2);
state = new JLabel("STATE");
gbc2.gridx = 0;
gbc2.gridy = 5;
gbl2.setConstraints(state ,gbc2);
add(state );
country = new JLabel("COUNTRY");
gbc2.gridx = 0;
gbc2.gridy = 6;
gbl2.setConstraints(country ,gbc2);
add(country );
}
}
if(a=3)
System.out.println("Tue");
if(a=4)
System.out.println("Wed");
if(a=5)
System.out.println("thu");
if(a=6)
System.out.println("Fri");
if(a=7)
System.out.println("sat");
}
}
class G7N
{
public static void main(String args[])
{
obj1=new series();
obj1.display();
}
}
Inline Attachment Follows: Home.java
import java.awt.*;
import java.awt.color.*;
import javax.swing.border.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.table.*;
{
JFrame frame;
JPanel mainPanel,westPanel,toolPanel,southpanel,centerpanel,proPanel,activePanel,datePanel,
leftToolPanel, rightToolPanel, EastPanel, MainPanel;
JLabel lname, ProClients, ActiveClients ;
JButton bproview,bhelp,bexit, bhome, addBtn, deleteBtn, deleteBtnAct, searchBtn,
evtProffesionalBtn, CalendarBtn;
BorderLayout br, bLCenterpanel;
GridLayout glEast ;
GridBagLayout gbl1, gbl2, gblPro, gblAct;
GridBagConstraints gbc1,gbc2,gbcPro, gbcAct ;
SouthPanel sp;
FlowLayout leftToolLayout, rightToolLayout;
JTable table, tableAct;
MyTableModel tmodel, tm;
JScrollPane jsp, jspA;
public Home()
{
frame=new JFrame("EVENT MGMT");
mainPanel=new JPanel();
br=new BorderLayout();
mainPanel.setLayout(br);
mainPanel.setBackground(new Color(174, 0, 131));
//proPanel
proPanel=new JPanel();
gbl1=new GridBagLayout();
gbc1=new GridBagConstraints();
toolPanel.setLayout(gbl1);
//Proview Btn
ImageIcon icon=new ImageIcon("C:\\urz\\project images\\wn_eclcommunity48_hov.GIF");
bproview=new JButton("ProView", icon);
bproview.setForeground(new Color(174, 0, 131));
gbc1.insets=new Insets(10,10,20,20);
gbc1.fill=GridBagConstraints.BOTH;
//gbc1.weightx=0.2;
gbc1.gridx=1;
gbc1.gridy=0;
gbl1.setConstraints(bproview,gbc1);
//Home Btn
ImageIcon icon3=new ImageIcon("C:\\urz\\project images\\but1_up.GIF");
bhome=new JButton("Home", icon3);
bhome.setForeground(new Color(174, 0, 131));
gbc1.gridx=2;
gbc1.gridy=0;
gbl1.setConstraints(bhome,gbc1);
gbc1.weightx=0.0;
//Help Btn
ImageIcon icon1=new ImageIcon("C:\\urz\\project images\\qmark.GIF");
bhelp=new JButton("Help", icon1);
bhelp.setForeground(new Color(174, 0, 131));
gbc1.gridx=6;
gbc1.gridy=0;
//gbc1.insets=new Insets(6,6,6,6);
gbl1.setConstraints(bhelp,gbc1);
//Exit Btn
ImageIcon icon2=new ImageIcon("C:\\urz\\project images\\smallfail.GIF");
bexit=new JButton("Exit", icon2);
bexit.setForeground(new Color(174, 0, 131));
bexit.addActionListener(this);
gbc1.gridx=7;
gbc1.gridy=0;
gbl1.setConstraints(bexit,gbc1);
//EAST PANEL
glEast = new GridLayout(3, 3);
EastPanel.setLayout(glEast);
//CENTRAL PANEL
//SOUTH PANEL
southpanel.add(sp.MainPanel);
southpanel.setBackground(new Color(254, 152, 223));
southpanel.setBorder(BorderFactory.createBevelBorder(BevelBorder.RAISED, new
Color(174, 0, 131), new Color(174, 0, 131)));
}
Inline Attachment Follows: simple.java
class intrest
{
void display(double p, int r, int t)
{
double si;
si=p*r*t/100;
System.out.println("SI="+si);
}
}
class simple
{
public static void main(String args[])
{
intrest obj1;
obj1=new intrest();
obj1.display(10000,10,5);
}
}
Inline Attachment Follows: SouthPanel.java
import java.awt.*;
import javax.swing.border.*;
import javax.swing.*;
import java.awt.event.*;
import javax.swing.table.*;
class SouthPanel
{
//JInternalFrame intfr;
JPanel MainPanel, RemainderPanel, TabsPanel, TaskPanel, PaySchPanel;
//frame.setToolBar(toolbar);
BorderLayout blSouth;
JTabbedPane tabs;
JLabel RemLabel;
//GridBagLayout gblTask, gblPay;
//GridBagConstraints gbcTask, gbcPay;
JTable tableTask, tablePay;
MyTableModel tmodelTask;
MyTableModel4 tmPay;
JScrollPane jspTask, jspPay;
TabsPanel.add(tabs);
MainPanel.add("Center", TabsPanel);
//MainPanel.setBorder(BorderFactory.createBevelBorder(BevelBorder.LOWERED,new
Color(254, 152, 223), new Color(254, 152, 223)));
}
class MyTableModel extends AbstractTableModel
{
String [] col={"Occasion Name","Occasion type","Due Date","Time", "Assigned To"};
Object [][] row={};
public int getColumnCount()
{
return col.length;
}
public int getRowCount()
{
return row.length;
}
public String getColumnName(int cols)
{
return col[cols];
}
public Object getValueAt(int rows, int cols)
{
return row[rows][cols];
}
}
}
class tmult
{
public static void main(String arg[]);
{
table t;
t= new table();
t.mult(2);
}
}