Rabu, 09 Oktober 2013

Membuat Logo Google Dari Logo Buatan Sendiri



gambar logo disimpan dengan nama : ayu 2.png

-kemudian isikan lah pada notepad:

<html>
<head>
<title>Membuat Tampilan GOOGLE </title>
<link rel="stylesheet" type="text/css" href="style.css" />
<style type="text/css">
<!--
.style1 {color: #FFFFFF}
-->
</style>
</head>
<body>
<div class="style1" id="header">

</div>
<div id="tengah">
<table width="200" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>    
<td colspan="4"><div align="center"><img src="ayu 2.png" alt="" width="150" height="100" border="0"></div></td>
</tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4">
<input name="textfield" type="text" size="100">
</td>
</tr>
<tr>
<td colspan="4">&nbsp;</td>
</tr>
<tr>
<td colspan="4"><div align="center">
<input type="submit" name="Submit" value="Penelusuran Saya">
<input type="submit" name="Submit2" value="Saya Lagi Beruntung">
</div>
</td>
</tr>
</table>
</div>
<div id="footer"></div>
</body>
</html>

dengan nama : my google.html

-tambahkan file css:

#header {
position :relative;
width :auto;
padding-top :10px;
padding:10px;
background-color :#000000;
text-align :left;
}

#tengah{
margin :auto;
margin-top :50px;
padding-bottom :40px;
background-color :#FFFFFF;
}

dengan nama : style.css

Kamis, 19 September 2013

Membuat Biografi dari Web


Halaman Awal

<html>
<head><title> Personal </title>
</head>

<body>
<h1><marquee> My Biograf </marquee></h1>
<h2><a href="Ayu2.html">Pribadi</a></h2>
<h3><a href="Ayu3.html">Pendidikan</a></h3>
<h4><a href="Ayu4.html">Keluarga</a></h4>
</body>

<footer> create by Ayu @6893
</footer>
</html>

Halaman Kedua (Pribadi)

<html>
<head><title> Personal </title>
</head>

<body>
<h1> Nama: Ayu Wulan Sari </h1>
<h1> Alamat: JL.H.A.Dalim Lrg. Perkutut No.14 </h1>
<h1> No HP: 081958538541</h1>
<a href="Ayu.html">back</a>
</body>

<footer> create by Ayu @6893
</footer>
</html>

Halaman Ketiga (Pendidikan)

<html>
<head><title> Personal </title>
</head>

<body>
<h1> TK PDAM TIRTA MUSI </h1>
<h1> SD Negri 9 Palembang </h1>
<h1> SMP Negri 18 Palembang </h1>
<h1> SMA Srijaya Negara Palembang </h1>
<h1> Teknik Komputer POLSRI </h1>
<a href="Ayu.html">back</a>
</body>

<footer> create by Ayu @6893
</footer>
</html>

Halaman Keempat (Keluarga)

<html>
<head><title> Personal </title>
</head>

<body>
<h1> Ayah: Indra Doni </h1>
<h1> Ibu: Patjuriah </h1>
<h1> Saudara: Vira Aprilia</h1>
<a href="Ayu.html">back</a>
</body>

<footer> create by Ayu @6893
</footer>
</html>


Membuat Web Awal

<html>
<head><title> Korean Pop </title>
</head>

<body>
<h1>Ayu Wulan Sari </h1>
<h2>Sapphire Blue Ocean </h2>
<h3><font face="arial" color="blue"> ELF is our fandom </h3>
</body>

<footer> create by me @6893
</footer>
</html>

web bisa mauk ke gambar yang kita inginkan


<html>
<head><title> Korean Pop </title>
</head>

<body>
<h1>Ayu Wulan Sari </h1> <a href="ayu 2.png"> AWS </a>
<h2>Sapphire Blue Ocean </h2>
<h3><font face="arial" color="blue"> ELF is our fandom </h3>
</body>

<footer> create by me @6893
</footer>
</html>

membuat hal ke 2 dari web dan dapat dikembalikan ke hal 1 web

<html>
<head><title> Korean Pop </title>
</head>

<body>
<img src="ayu 2.png"><br>
<a href="index.html">back</a>
</body>

<footer> create by me @6893
</footer>
</html>

membuat tulisan berjalan

<html>
<head><title> Korean Pop </title>
</head>

<body>
<h1><marquee> Ayu Wulan Sari </marquee></h1>
<img src="ayu 2.png"><br>
<a href="index.html">back</a>
</body>

<footer> create by me @6893
</footer>
</html>

MEMBUAT LOGO













create by : Ayu Wulan Sari
NIM       : 061130700558
kelas      : 5CA TeKom POLSRI

Senin, 01 Juli 2013

ENTRI IMAGE PADA PROGRAM JAVA

UtsMidlet.java

import java.io.IOException;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class UtsMidlet extends MIDlet implements CommandListener {
private Display display;
private Form form, login;
private Ticker ticker;
private Command Start, exit, back;
private Image img;
private ImageItem img2;
private TextField tf_Username;
private TextField tf_Password;
public UtsMidlet(){
form = new Form("");
ticker=new Ticker("SELAMAT DATANG DI POLITEKNIK NEGERI SRIWIJAYA PALEMBANG");
form.setTicker(ticker);
try {
img = Image.createImage("/images.jpg");
img2 = new ImageItem("Jl. Srijaya Negara Bukit Besar 30139 Telpon:+620711353414 Fax:+62711355918 www.polsri.ac.id", img,ImageItem.LAYOUT_CENTER,"");
form.append(img2);
form.setCommandListener(this);


Start = new Command("Start", Command.OK,1);
exit = new Command("Exit", Command.OK,1);
form.addCommand(Start);
form.addCommand(exit);

} catch (IOException e){
System.out.println("error"+e);
}
}
public void startApp(){
display=Display.getDisplay(this);
display.setCurrent(form);
}
public void pauseApp(){
}
public void destroyApp(boolean unconditional){
notifyDestroyed();
}
public void commandAction(Command c , Displayable dd){
if (c==exit)
destroyApp(true);
else if (c==Start)
display.setCurrent(form);
}
}


Hasil:

Tugas Praktek Sistem Operasi

semester.java

import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;

public class Semester extends MIDlet{
Display display;
MainCanvas mainCanvas;
    List list;
Command cmExit;
Ticker tic ;
Image image;
public Semester(){
cmExit = new Command ("Keluar",Command.EXIT,1);
display = Display.getDisplay(this);
tic = new Ticker("POLITEKNIK NEGERI SWIJAYA PALEMBANG");
list = new List("POLSRI", List.IMPLICIT);
list.setTicker(tic);
display.setCurrent (list);

}

public void startApp1 () {
}

public void startApp(){
mainCanvas = new MainCanvas (this, display);
display.setCurrent(mainCanvas);

}
public void pauseApp () {
  }
  public void destroyApp (boolean unconditional) {
  }

public void commandAction (Command c, Displayable s){
}
public void exitMIDlet(){
destroyApp(true);
notifyDestroyed();
}


};


maincanvas.java

import javax.microedition.lcdui.*;

class MainCanvas
extends Canvas implements CommandListener{
private Display display;
private Semester midlet;
private Command cmExit;
private Image image;
private List list;
private Ticker tic;

public MainCanvas(Semester midlet, Display display){
 this.midlet = midlet;
 this.display = display;
 try{
  image = Image.createImage("/images.jpg");
}catch (java.io.IOException e){
}

 cmExit = new Command ("Keluar",Command.EXIT,1);
 addCommand (cmExit);
 setCommandListener(this);
 }

 protected void paint (Graphics g){
  g.drawImage (image, 0, 35, Graphics.TOP | Graphics.LEFT);
  g.setColor (255, 0, 0);
g.setFont (Font.getFont(Font.FACE_PROPORTIONAL,
 Font.STYLE_BOLD,Font.SIZE_LARGE));
g.drawString("Alamat : Jl Srijaya Negara Bukit", 10,220,
 Graphics.TOP | Graphics.LEFT);

 g.setColor (255, 0, 0);
  g.setFont (Font.getFont(Font.FACE_PROPORTIONAL,
   Font.STYLE_BOLD,Font.SIZE_LARGE));
  g.drawString(" Besar Palembang 30139", 25, 235,
  Graphics.TOP | Graphics.LEFT);

  g.setColor (255, 0, 0);
   g.setFont (Font.getFont(Font.FACE_PROPORTIONAL,
    Font.STYLE_BOLD,Font.SIZE_LARGE));
   g.drawString("Web : http://www.polsri.ac.id", 10,250,
  Graphics.TOP | Graphics.LEFT);

  g.setColor (255, 0, 0);
   g.setFont (Font.getFont(Font.FACE_PROPORTIONAL,
    Font.STYLE_BOLD,Font.SIZE_LARGE));
   g.drawString("Telpon : +620711353414", 20,265,
  Graphics.TOP | Graphics.LEFT);
  }

 public void commandAction(Command c, Displayable s){
 if(c == cmExit){
 midlet.exitMIDlet();
 }
 }
 }

Hasil