/*
* @test
* @bug 4337267
* @summary test that numeric shaping works in Swing components
* @author Sergey Groznyh
* @run main bug4337267
*/
public class bug4337267 {
static boolean testFailed = false;
static boolean done = false;
"000 (E) 111 (A) \u0641\u0642\u0643 \u0662\u0662\u0662 (E) 333";
void run() {
initUI();
doneTask();
}
void initUI() {
window.setVisible(true);
}
public void run() {
}
};
public void run() {
}
};
void doneTask() {
public void run() {
done = true;
synchronized(monitor) {
}
}
});
}
testFailed = true;
throw new RuntimeException(message);
}
}
}
void testTextComponent() {
}
void testNonTextComponentHTML() {
}
void testNonTextComponentPlain() {
}
}
if (shape) {
setShaping(c);
}
p.removeAll();
p.add(c);
}
Graphics g = i.getGraphics();
g.setColor(c.getBackground());
c.print(g);
}
p1 = new TestJPanel();
p2 = new TestJPanel();
return panel;
}
}
if (! (other instanceof TestBufferedImage)) {
return false;
}
return false;
}
int glitches = 0;
for (int x = 0; x < width; x++) {
for (int y = 0; y < height; y++) {
//System.out.println(x+" "+y+" "+rgb1+" "+rgb2);
glitches++;
}
}
}
return glitches <= MAX_GLITCHES;
}
}
}
super.setPreferredSize(size);
}
}
}
public void run() {
}
});
synchronized(test) {
while (!done) {
try {
} catch (InterruptedException ex) {
// do nothing
}
}
}
if (testFailed) {
throw new RuntimeException("FAIL");
}
}
}