Java TIP (1)

zhaozj2021-02-16  65

Tips for Java

2004/7/11

Today, I Approve The Java First.

(1) How to layout java gui.

a) Using Panel for Layout The Java GUI.

b) set panel's layout to none.

No layout, or null, is a good choice when prototyping your design. Because null does not use a layout manager, you can place components exactly where you want them. However, because null uses absolute positioning of components instead of relative positioning, the UI will not resize properly when the user resizes the application window Therefore, it's recommended that you never leave a container in null for deployment Later in the tutorial, you'll switch to an appropriate portable layout for your design before deploying it Note...: .

(2) Importation for Install JBuilder X

JBuilder X and Other Program Have A Error Cursor Problem and Error Code for Chinese, i Try to this to Solve The Problem.

a) JBuilder X Error Cursor Problem

Go to D: /JBuilderx/jdk1.4/jre/lib, Bak this Files and Remove IT:

FONT.PROPERTIES.ZH, FONT.PROPERTIES.ZH_CN_GB18030

Copy font.properties.zh_tw to font.properties.zh.

b) jbuilder can't show Chinese

Delete All Files in this Direction: C: / Documents and Settings / USER / .PRIMETIMEX

转载请注明原文地址:https://www.9cbs.com/read-17133.html

New Post(0)