CS 18000 Lecture Notes - Lecture 7: Bytecode, Framebuffer, Terminal Emulator
Document Summary
Old days: the terminal was the window: gui (graphical user interface) Window displays set of controls or widgets . Program responds to user events with actions. Window system concepts: the window system is a separate component of operating systems, window system component active on local system. Access to frame buffer, keyboard, and mouse. X window system protocol supports remote access: application running locally contacts local window system to create gui. Application running remotely does not have that option (unless using. Compiles java source (. java) to byte code (. class) Each os combination requires different version (mac, windows, Command line and remote access: when connecting to a computer remotely . Attempting to create a gui results in headlessexception: x window system allows a remote application to open a window on local machine. Dialog concepts: prerequisite: application must be running on jvm with window system configured. Application code (your program) blocks waiting for user response. Similar to using scanner to read from keyboard.