* Transposition between Java and Ada 95 (intermetrics)
@ 1996-12-16 0:00 FREBOURG Fabrice
0 siblings, 0 replies; only message in thread
From: FREBOURG Fabrice @ 1996-12-16 0:00 UTC (permalink / raw)
Hello,
I'm a beginner in Ada. So I have got some problems with the formalism
in Ada. I would like to create an applet. Espacially create a frame
window with the following constructor (FrameWindow). How I could write
such a code in Ada 95.
class FrameWindow extends Frame {
public TextArea Text;
public TextField entry;
public Button b1,b2;
public Panel p1,p2;
public FrameWindow() {
setLayout(new BorderLayout());
p1 = new Panel();
p2 = new Panel();
p1.setLayout(new BorderLayout());
p2.setLayout(new BorderLayout());
entry = new TextField();
p1.add("North",entry);
Text = new TextArea();
p1.add("Center",Text);
b1 = new Button("b1");
b2 = new Button("b2");
p2.add("West",b1);
p2.add("East",b2);
add("Center",p1);
add("South",p2);
} // Constructor FrameWindow
.
.
.
.
I would like to thank you in advance for your answer.
Good Bye.
Fabrice (frebourg@cui.unige.ch)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1996-12-16 0:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-12-16 0:00 Transposition between Java and Ada 95 (intermetrics) FREBOURG Fabrice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox