http://noriterm.ipop.co.kr/cgi-bin/noriter_flash_view.cgi?mid=5856231&nid=17626998
Posted by 밤치
Posted by 밤치
Object[] obj = node.evaluateXPath("//body/div[3]/div[4]/div/div[11]/div/ul/li");
Posted by 밤치



import java.awt.Color;
import java.awt.Graphics;
import javax.swing.ImageIcon;
import javax.swing.JPanel;
public class BCRoundTabPanel extends JPanel {
private static final long serialVersionUID = 1L;
int y;
int r;
int hr;
int iconWidth;
int iconHeight;
Color c;
ImageIcon topImg;
public BCRoundTabPanel(ImageIcon imgIcon, int r) {
this.topImg = imgIcon;
this.r = r;
hr = r / 2;
y = topImg.getIconHeight();
iconWidth = topImg.getIconWidth();
iconHeight = topImg.getIconHeight();
}
@Override
public void paint(Graphics g) {
super.paintComponents(g);
g.setColor(c);
g.drawArc(0, getHeight() - r - 1, r, r, 180, 90);
g.drawArc(getWidth() - r - 1, getHeight() - r - 1, r, r, 270, 90);
g.drawArc(getWidth() - r - 1, iconHeight, r, r, 0, 90);
g.drawLine(iconWidth, iconHeight, getWidth() - hr, iconHeight);
g.drawLine(0, 0, 0, getHeight() - hr);
g.drawLine(getWidth() - 1, iconHeight + hr, getWidth() - 1, getHeight() - hr - 1);
g.drawLine(hr, getHeight() - 1, getWidth() - hr, getHeight() - 1);
g.drawImage(topImg.getImage(), 0, 0, iconWidth, iconHeight, null);
}
public Color getC() {
return c;
}
public void setC(Color c) {
this.c = c;
}
}
Posted by 밤치
- 밤치
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 |