Cracking the Java Coding Interview pdfdrive com


framework for server side processing


Download 1.48 Mb.
Pdf ko'rish
bet30/182
Sana02.05.2023
Hajmi1.48 Mb.
#1423275
1   ...   26   27   28   29   30   31   32   33   ...   182
Bog'liq
Cracking the Java Coding Interview ( PDFDrive )

framework for server side processing.
Where the CardLayout is used ?
CardLayout manages two or more components that share the same display
space. It lets you use one container (usually a panel) to display one out of
many possible component children (like flipping cards on a table). A
program can use this layout to show a different child component to different
users. For example, the interface shown to an administrator might have
additional functionality from the interface shown to a regular user. With
card layout, our program can show the appropriate interface depending on
the type of user using the program. Another typical use of card layout
would be to let end user toggle among different displays and choose the one
they prefer. In this case, the program must provide a GUI for the user to
make the selection.
What is JFC ?
Java Foundation Classes include:
Standard AWT 1.1
Accessibility interface


Lightweight components: which are user interface components that do not
subclass an existing AWT interface element. They do not use native
interface elements as provided by the underlying windowing system. This
means that they are less limiting than standard AWT components.
Java look and feel
Support for native look and feel
Services such as Java2D and Drag and Drop How do you communicate in
between Applets & Servlets ?
We can use the java.net.URLConnection and java.net.URL classes to open a
standard HTTP connection and “tunnel” to the web server. The server then
passes this information to the servlet in the normal way. Basically, the
applet pretends to be a web browser, and the servlet doesn’t know the

Download 1.48 Mb.

Do'stlaringiz bilan baham:
1   ...   26   27   28   29   30   31   32   33   ...   182




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling