Skip to main content

An object-oriented dialog

Now it's time to write our first graphical object oriented program in BBj. We develop a small dialog to take user input and return it to the calling program:

A small window titled Your Input with one text field showing the word input and an Ok button.

Watch the video about how it's developed:

Watch on YouTube

BBx Clues 8: An Object-Oriented Dialog Class in BBj: https://www.youtube.com/watch?v=z3g51m9Mc_0

In the download you find a ZIP file which contains the three programs from this chapter. Load the MyDialog.bbj program into your IDE and examine it. Can you improve it?

This ZIP contains

  • Car.bbj
  • CarApplication.bbj
  • MyDialog.bbj

as shown in the three videos.

Download oo-samples.zip