![]() |
||
![]() |
![]() Alden Hosting provides professional, efficient, and reliable business-class Web hosting services to small- and medium-sized businesses. |
|
|
JAVA, JSP, SERVLETS, TOMCAT, SERVLETS MANAGER, |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Method | Purpose |
|---|---|
|
void setContentPane(Container) Container getContentPane() |
Set or get the internal frame's content pane, which generally contains all of the internal frame's GUI, with the exception of the menu bar and window decorations. |
|
void setJMenuBar(JMenuBar) JMenuBar getJMenuBar() |
Set or get the internal frame's menu bar. |
|
void setLayeredPane(JLayeredPane) JLayeredPane getLayeredPane() |
Set or get the internal frame's layered pane. |
| Method | Purpose |
|---|---|
| void setVisible(boolean) | Make the internal frame visible (if true)
or invisible (if false).
You should invoke setVisible(true)
on each JInternalFrame
before adding it to its container.
(Inherited from Component).
|
| void pack() | Size the internal frame so that its components are at their preferred sizes. |
|
void setLocation(Point) void setLocation(int, int) |
Set the position of the internal frame.
(Inherited from Component).
|
|
void setBounds(Rectangle) void setBounds(int, int, int, int) |
Explicitly set the size and location of the internal frame.
(Inherited from Component).
|
|
void setSize(Dimension) void setSize(int, int) |
Explicitly set the size of the internal frame.
(Inherited from Component).
|
| Method | Purpose |
|---|---|
|
void setDefaultCloseOperation(int) int getDefaultCloseOperation() |
Set or get what the internal frame does
when the user attempts to "close" the internal frame.
The default value is DISPOSE_ON_CLOSE.
Other possible values are DO_NOTHING_ON_CLOSE
and HIDE_ON_CLOSE
See
Responding to Window-Closing Events
for details.
|
|
void addInternalFrameListener(InternalFrameListener) void removeInternalFrameListener(InternalFrameListener) |
Add or remove an internal frame listener
(JInternalFrame's equivalent of a window listener).
See How
to Write an Internal Frame Listener for more information.
|
|
void moveToFront() void moveToBack() |
If the internal frame's parent is a layered pane such as a desktop pane, moves the internal frame to the front or back (respectively) of its layer. |
|
void setClosed(boolean) boolean isClosed() |
Set or get whether the internal frame is currently closed.
The argument to setClosed must be true.
When reopening a closed internal frame,
you make it visible and add it to a container
(usually the desktop pane you originally added it to).
|
|
void setIcon(boolean) boolean isIcon() |
Iconify or deiconify the internal frame, or determine whether it is currently iconified. |
|
void setMaximum(boolean) boolean isMaximum() |
Maximize or restore the internal frame, or determine whether it is maximized. |
|
void setSelected(boolean) boolean isSelected() |
Set or get whether the internal frame is the currently "selected" (activated) internal frame. |
| Method | Purpose |
|---|---|
|
void setFrameIcon(Icon) Icon getFrameIcon() |
Set or get the icon displayed in the title bar of the internal frame (usually in the top-left corner). |
|
void setClosable(boolean) boolean isClosable() |
Set or get whether the user can close the internal frame. |
|
void setIconifiable(boolean) boolean isIconifiable() |
Set or get whether the internal frame can be iconified. |
|
void setMaximizable(boolean) boolean isMaximizable() |
Set or get whether the user can maximize this internal frame. |
|
void setResizable(boolean) boolean isResizable() |
Set or get whether the internal frame can be resized. |
|
void setTitle(String) String getTitle() |
Set or get the window title. |
| Constructor or Method | Purpose |
|---|---|
| JDesktopPane() | Creates a new instance of JDesktopPane.
|
| JInternalFrame[] getAllFrames() | Returns all JInternalFrame objects
that the desktop contains.
|
| JInternalFrame[] getAllFramesInLayer(int) | Returns all JInternalFrame objects
that the desktop contains that are in the specified layer.
See How to Use Layered Panes
for information about layers.
|
|
void setDragMode(int) int getDragMode() |
Set or get the drag mode used for internal frames in this desktop.
The integer can be either
JDesktopPane.LIVE_DRAG_MODE or
JDesktopPane.OUTLINE_DRAG_MODE.
The default for the Java look and feel is live-drag mode.
|
The following examples use internal frames. Because internal frames are similar to regular frames, you should also look at Examples that Use Frames.
Example Where Described Notes MyInternalFrameThis page. Implements an internal frame that appears at an offset to the previously created internal frame. InternalFrameDemoThis page. Lets you create internal frames (instances of MyInternalFrame) that go into the application'sJDesktopPane.InternalFrameEventDemoHow to Write an Internal Frame Listener Demonstrates listening for internal frame events. Also demonstrates positioning internal frames within a desktop pane.
Alden Hosting offers private JVM (Java Virtual Machine), Java Server Pages (JSP), Servlets, and Servlets Manager with our Web Hosting Plans WEB 4 PLAN and WEB 5 PLAN , WEB 6 PLAN .
At Alden Hosting we eat and breathe Java! We are the industry leader in providing affordable, quality and efficient Java web hosting in the shared hosting marketplace. All our sites run on our Java hosing platform configured for optimum performance using Java 1.6, Tomcat 6.0.X, MySQL 5.0.x, Apache 2.2.xx and web application frameworks such as Struts, Hibernate, Cocoon, Ant, etc.
We offer only one type of Java hosting - Private Tomcat. Hosting accounts on the Private Tomcat environment get their very own Tomcat server. You can start and re-start your entire Tomcat server yourself.
![]() |
|
http://alden-servlet-Hosting.com
JSP at alden-servlet-Hosting.com
Servlets at alden-servlet-Hosting.com
Servlet at alden-servlet-Hosting.com
Tomcat at alden-servlet-Hosting.com
MySQL at alden-servlet-Hosting.com
Java at alden-servlet-Hosting.com
sFTP at alden-servlet-Hosting.com
http://alden-tomcat-Hosting.com
JSP at alden-tomcat-Hosting.com
Servlets at alden-tomcat-Hosting.com
Servlet at alden-tomcat-Hosting.com
Tomcat at alden-tomcat-Hosting.com
MySQL at alden-tomcat-Hosting.com
Java at alden-tomcat-Hosting.com
sFTP at alden-tomcat-Hosting.com
http://alden-sftp-Hosting.com
JSP at alden-sftp-Hosting.com
Servlets at alden-sftp-Hosting.com
Servlet at alden-sftp-Hosting.com
Tomcat at alden-sftp-Hosting.com
MySQL at alden-sftp-Hosting.com
Java at alden-sftp-Hosting.com
sFTP at alden-sftp-Hosting.com
http://alden-jsp-Hosting.com
JSP at alden-jsp-Hosting.com
Servlets at alden-jsp-Hosting.com
Servlet at alden-jsp-Hosting.com
Tomcat at alden-jsp-Hosting.com
MySQL at alden-jsp-Hosting.com
Java at alden-jsp-Hosting.com
sFTP at alden-jsp-Hosting.com
http://alden-java-Hosting.com
JSp at alden-java-Hosting.com
Servlets at alden-java-Hosting.com
Servlet at alden-java-Hosting.com
Tomcat at alden-java-Hosting.com
MySQL at alden-java-Hosting.com
Java at alden-java-Hosting.com
sFTP at alden-java-Hosting.com
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP
Servlets
Tomcat
mysql
Java
JSP at JSP.aldenWEBhosting.com
Servlets at servlets.aldenWEBhosting.com
Tomcat at Tomcat.aldenWEBhosting.com
mysql at mysql.aldenWEBhosting.com
Java at Java.aldenWEBhosting.com
Web Hosts Portal
Web Links
Web Links
Web Hosting
JSP Solutions Web Links
JSP Solutions Web Hosting
Servlets Solutions Web Links
Servlets Solutions Web Hosting
Web Links
Web Links
.
.
.
.
.
.
.
.
.
.
jsp hosting
servlets hosting
web hosting
web sites designed
cheap web hosting
web site hosting
myspace web hosting