Java 应用与开发 - Java GUI 编程
java.awt.Color; 3 import java.awt.Graphics; 5 public class HelloApplet extends Applet { 6 String text; 7 public void init() { 8 text = "Hello␣Applet,␣goodbye!"; 9 this.setBackground(new Color(120, 180 组件及布局 GUI 事件处理 Applet Swing Swing 典型组件(课后自学) JFrame 示例 CODE ± TestJFrame.java 1 import java.awt.Color; 2 import java.awt.Container; 3 import java.awt.FlowLayout; 4 import javax.swing.JFrame; 5 import new JLabel("Bye,␣World!"); 14 bye.setBackground(Color.BLUE); 15 bye.setOpaque(true); // 设置为不透明 16 c.add(greet); 17 c.add(bye); 18 c.setBackground(Color.GREEN); 19 jf.setSize(400, 300); 20 jf.setLocation(4000 码力 | 73 页 | 876.31 KB | 1 年前3Apache Wicket 8.x Reference Guide
AttributeModifier which creates the tag attribute style with value color:red;font-weight:bold: 27 label.add(new AttributeModifier("style", "color:red;font-weight:bold")); If attribute style already exists AttributeAppender which will append its value to the existing one: label.add(new AttributeAppender("style", "color:red;font-weight:bold")); We can also create attribute modifiers using factory methods provided by add(AttributeModifier.replace("style", "color:red;font-weight:bold")); //appends the given value to the existing one label.add(AttributeModifier.append("style", "color:red;font-weight:bold")); //prepends0 码力 | 350 页 | 9.95 MB | 1 年前3Apache Wicket 7.x Reference Guide
AttributeModifier which creates the tag attribute style with value _ :[color:red;font- weight:bold] 28 label.add(new AttributeModifier("style", "color:red;font-weight:bold")); If attribute style already exists AttributeAppender which will append its value to the existing one: label.add(new AttributeAppender("style", "color:red;font-weight:bold")); We can also create attribute modifiers using factory methods provided by add(AttributeModifier.replace("style", "color:red;font-weight:bold")); //appends the given value to the existing one label.add(AttributeModifier.append("style", "color:red;font-weight:bold")); //prepends0 码力 | 346 页 | 10.00 MB | 1 年前3Apache Wicket 10.x Reference Guide
AttributeModifier which creates the tag attribute style with value color:red;font-weight:bold: label.add(new AttributeModifier("style", "color:red;font-weight:bold")); If attribute style already exists in AttributeAppender which will append its value to the existing one: label.add(new AttributeAppender("style", "color:red;font-weight:bold")); We can also create attribute modifiers using factory methods provided by add(AttributeModifier.replace("style", "color:red;font-weight:bold")); //appends the given value to the existing one label.add(AttributeModifier.append("style", "color:red;font-weight:bold")); //prepends0 码力 | 336 页 | 7.16 MB | 1 年前3Apache Wicket 9.x Reference Guide
AttributeModifier which creates the tag attribute style with value color:red;font-weight:bold: label.add(new AttributeModifier("style", "color:red;font-weight:bold")); If attribute style already exists in AttributeAppender which will append its value to the existing one: label.add(new AttributeAppender("style", "color:red;font-weight:bold")); We can also create attribute modifiers using factory methods provided by add(AttributeModifier.replace("style", "color:red;font-weight:bold")); //appends the given value to the existing one label.add(AttributeModifier.append("style", "color:red;font-weight:bold")); //prepends0 码力 | 335 页 | 7.15 MB | 1 年前3Spring Boot 1.3.7.RELEASE Reference Documentation
Programmatically setting profiles Profile-specific configuration files 26. Logging Log format Console output Color-coded output File output Log Levels Custom log configuration Logback extensions Profile-specific does not configure your application log all messages with DEBUG level. Color-coded output If your terminal supports ANSI, color output will be used to aid readability. You can set spring.output.ansi.enabled supported value to override the auto detection. Color coding is configured using the %clr conversion word. In its simplest form the converter will color the output according to the log level, for example:0 码力 | 502 页 | 455.82 KB | 1 年前3Spring Boot 1.3.9.BUILD-SNAPSHOT Reference Documentation
Programmatically setting profiles Profile-specific configuration files 26. Logging Log format Console output Color-coded output File output Log Levels Custom log configuration Logback extensions Profile-specific does not configure your application log all messages with DEBUG level. Color-coded output If your terminal supports ANSI, color output will be used to aid readability. You can set spring.output.ansi.enabled supported value to override the auto detection. Color coding is configured using the %clr conversion word. In its simplest form the converter will color the output according to the log level, for example:0 码力 | 504 页 | 456.47 KB | 1 年前3Spring Boot 1.3.8.RELEASE Reference Documentation
Programmatically setting profiles Profile-specific configuration files 26. Logging Log format Console output Color-coded output File output Log Levels Custom log configuration Logback extensions Profile-specific does not configure your application log all messages with DEBUG level. Color-coded output If your terminal supports ANSI, color output will be used to aid readability. You can set spring.output.ansi.enabled supported value to override the auto detection. Color coding is configured using the %clr conversion word. In its simplest form the converter will color the output according to the log level, for example:0 码力 | 503 页 | 456.03 KB | 1 年前3Spring Boot 1.3.3.RELEASE Reference Guide
Programmatically setting profiles Profile-specific configuration files 26. Logging Log format Console output Color-coded output File output Log Levels Custom log configuration Logback extensions Profile-specific does not configure your application log all messages with DEBUG level. Color-coded output If your terminal supports ANSI, color output will be used to aid readability. You can set spring.output.ansi.enabled supported value to override the auto detection. Color coding is configured using the %clr conversion word. In its simplest form the converter will color the output according to the log level, for example:0 码力 | 500 页 | 454.94 KB | 1 年前3Spring Boot 1.3.4.RELEASE Reference Guide
Programmatically setting profiles Profile-specific configuration files 26. Logging Log format Console output Color-coded output File output Log Levels Custom log configuration Logback extensions Profile-specific does not configure your application log all messages with DEBUG level. Color-coded output If your terminal supports ANSI, color output will be used to aid readability. You can set spring.output.ansi.enabled supported value to override the auto detection. Color coding is configured using the %clr conversion word. In its simplest form the converter will color the output according to the log level, for example:0 码力 | 501 页 | 455.13 KB | 1 年前3
共 298 条
- 1
- 2
- 3
- 4
- 5
- 6
- 30