answersLogoWhite

0


Best Answer

The first computers had to use polling to determine events that happened, such as key presses, mouse movement, and joystick movement. A long-running process might cause the screen to appear unresponsive. As the number of elements on the screen increased, and particularly with the advent of multi-tasking, it was no longer appropriate for the application to maintain its own state through polling.

Instead, all modern GUIs advise running programs of events that would interest that program. Keypresses, mouse events, and so on are no longer checked many times per second, which would cause extreme lag on even the fastest computers. A typical web browser, for example, might have hundreds or thousands of "windows", including buttons, text, and so on. If each window had a thread that had to run full-time just to detect if it were doing anything, it would result in massive slowdown as tens of thousands of mini-programs competed for limited system resources.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How event-driven methodology facilitates GUI programming?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Is it possible to have a completely graphical programming language?

Almost any computer language can do GUI manipulations if provided by a GUI library. Some can be add-ons because the language itself does not have a direct method of doing GUI drawing, etc.Languages such as C and C++ for example do not have a native GUI interface because they are not tied directly to a machine architecture or to an operating systems platform. However, that is not to say that they cannot do GUI manipulations; it just isn't built into the language, but there are 3rd party add-ons that do the manipulations for you.Other languages, such as C# and Java, have built-in gUI libraries that work the same way regardless of the Operating System they are on. In that way they support GUI operators natively, without the use of an add-on GUI library.


Explain different applications of Java programming language?

The Java programming language can be used to create many application. Some are: 1. Web based applications 2. Stand alone GUI based applications 3. Stand alone command window based applications 4. Games 5. Applets etc...


What is interface in a compouter?

In Java , Graphical User Interface (GUI) programming. Users interact with modern application programs using graphical components such as windows, buttons, text boxes, and menus. It would be difficult to write a GUI application from scratch. Luckily, most of the work has been done for you in a set of classes called Swing.


Is GUI better in Java or C plus plus?

Neither Java nor C++ have a GUI as such -- the GUI is not part of the language specification. But comparing the GUIs for an IDE intended for Java with that of an IDE intended for C++ is hardly going to tell you which is better, since they are intended for completely different purposes. You might as well compare the GUI provided with Adobe PaintShop Pro against the GUI for Microsoft Word for all the good it does.


What type of interface does Linux use?

You need to be more clear in what type of "interface" you are inquiring about. Linux has it's own API (Application Programming Interface) and ABI (Application Binary Interface). If you are referring to the user interface, Linux can have a GUI, a command line, or even no interface at all.

Related questions

What books are available for learning GUI programming?

Cross-Platform GUI Programming with wxWidgets, C++ GUI Programming, and Introduction to Python Programming and Developing GUI Applications with PYQT by H. M. Harwani.


Which GUI desktop is written in the C programming language and uses the gtk toolkit?

Gnome.


Is visual basic a GUI operating system?

Visual basic is not a GUI operating system. In fact it is not even an OS. It is just a platform to develop GUI software for windows using BASIC-like programming syntax.


How do you learn java GUI programming please recommend any good book or tutorials for absolute beginner?

A very understandable book for beginners, which also explaines about Java GUI programming is: Sams Teach Yourself Java in 24 hours by Rogers Cadenhead.


What makes GUI tools to easier to work with when compared to non GUI tools in visual basic?

GUI use full quality of vedio card and make the programming languages easy to draw perfect images and pictures on desktop.


What is an open-source program offering a visual programming GUI to experiment with cryptographic procedures and to animate their results?

asasasa


Is it possible to have a completely graphical programming language?

Almost any computer language can do GUI manipulations if provided by a GUI library. Some can be add-ons because the language itself does not have a direct method of doing GUI drawing, etc.Languages such as C and C++ for example do not have a native GUI interface because they are not tied directly to a machine architecture or to an operating systems platform. However, that is not to say that they cannot do GUI manipulations; it just isn't built into the language, but there are 3rd party add-ons that do the manipulations for you.Other languages, such as C# and Java, have built-in gUI libraries that work the same way regardless of the Operating System they are on. In that way they support GUI operators natively, without the use of an add-on GUI library.


Does most software today have a GUI?

Lots do yes. A graphical use interface is used in a lots of software, however this doesn't mean its the primary interface used. However programming software often doesn't have a GUI


What Are computer programs that permit the development of interactive computer based applications without the need for programming knowledge?

Visual Basic.net requires very minimal programming knowledge and has an easy to use GUI.


What is meant bu GUI in Java?

GUI stands for Graphical User Interface. The web browser in which you are viewing this website too can be considered a GUI to know more abt java i found out this amazing channel on youtube. its called as SLIDENEARD. Its a channel dedicated to java programming issues. i hope this helps your purpose.


What is api in java?

API is an Application Programming Interface..that means Some collection for designing concept for GUI(Graphical User INterface) By Saravanan


What are the disadvantages of a graphical user interface?

Hmmm... I just complete a simple GUI without using GUIDE. GUIDE generates complicated programming, hence I use 100% programming without using FIG file. Maybe you would like to come here to know more: http://y--square.blogspot.com/2009/10/creating-simple-gui-by-using.html