单选题Given the following expression about TextField which use a proportional pitch font.  TextField t = new TextField("they are good",40);     Which statement is true?()A The displayed string can use multiple fonts.B The maximum number of characters in a line will be 40.C The displayed width is exactly 40 characters.D The user can edit the characters.

单选题
Given the following expression about TextField which use a proportional pitch font.  TextField t = new TextField("they are good",40);     Which statement is true?()
A

 The displayed string can use multiple fonts.

B

 The maximum number of characters in a line will be 40.

C

 The displayed width is exactly 40 characters.

D

 The user can edit the characters.


参考解析

解析: 对于TextField的该种形式的构造函数来说,前一个参数是文本域中初始的字符串的显示值,而后一个是推荐的显示宽度,以列数表示,在构造文本域的时候会将这个大小设置为最佳大小,如果容器的限制使得文本域不能显示这么多也没有办法,一般来说是比这个大小大的,而且即使宽度很小,你也可以在文本域的一行中输入很长的字符串,只有你不使用回车,在超过显示宽度后文本域会自动出现水平滚动条(没有被设置为关闭,缺省是不关闭的),而文本域的缺省编辑方式是可编辑的,一个文本域只能使用一种字体,这个字体可以在运行的过程中动态的改变,但是文本域中的所有字符串都将使用这个字体显示。

相关考题:

Which of the following statements about the situational-behavioral interview are true?A.The interviewees need use STAR model or structure to specify their past behaviors in a given situation.B.The interviewees should consider the three steps or elements of STAR as a whole.C.The interviewees are required to predict how they would perform. in a work-related task.D.The interviewees are asked to describe how the job needs to be accomplished in real situations.

30. Which of the following is TRUE about Hip-hop dancing?A.It's not a good way to exercise.B.It shows that young people feel bad about life.C. Young people use this dance to show their love for life.D. It shows that young people are afraid of problems.

You use the segment advisor to help determine objects for which space may be reclaimed.Which three statements are true about the advisor given by the segment advisor?() A. It may advise the use of online table redefinition for tables in dictionary managed tablespace.B. It may advise the use of segment shrink for tables in dictionary managed tablespaces it the no chained rows.C. It may advise the use of online table redefinition for tables in locally managed tablespacesD. It will detect and advise about chained rows.E. It may advise the use of segment shrink for free list managed tables.

Given the regular expression: 64900 . (65400-65410) Which AS Path matches the given regularexpression?() A. 64900 65000 65500B. 64900 65402 65409C. 64900 65000 65300 65410D. 64900 65402 65405 65409

Given the following router output,which configuration file will the router use at its next reload?() A.configB.clientqos.cnfC.startup-configD.running-configuration

An administrator is concerned about users utilizing the company's wireless signal with their personal laptops. Which of the following is the BEST method to use to prevent unauthorized devices from using the company's wireless network?()A、Secure VPNB、MAC filteringC、IP filteringD、Static IP addresses

The /systest filesystem is associated with the /dev/testlv logical volume on the ’testvg’ volume group. Given this information, which of the following commands can the system administrator use to determine if the /systest filesystem is mirrored?()A、dfB、lsvgC、lsfsD、lsdev

Given the following expression about TextField which use a proportional pitch font.  TextField t = new TextField("they are good",40);     Which statement is true?() A、 The displayed string can use multiple fonts.B、 The maximum number of characters in a line will be 40.C、 The displayed width is exactly 40 characters.D、 The user can edit the characters.

Given a web application in which the cookie userName is expected to contain the name of the user. Which EL expression evaluates to that user name?()A、${userName}B、${cookie.userName}C、${cookie.user.name}D、${cookies.userName[0]}

A user states that their web browser was recently updated and continuously crashes. Which of the following could the technician use to gather more information about the issue?()A、NTBACKUP logB、Advanced tab in the System applet in Control PanelC、Event LogD、Internet Options applet in Control Panel

Which of the following is a correct statement about Workload Partitions (WPARs)?()A、WPARs use dedicated cores and shared memory.B、WPARs are restricted to using dedicated resources.C、WPARs share the resources of a single AIX instance.D、WPARs use shared cores, memory, and dedicated network adapters.

Which of the following commands can be used to obtain information about filesets on the system that are later than the current maintenance level?()A、 lslpp -IB、 uname -rC、 oslevel -gD、 rpcinfo -p

Which of the following commands can be used to obtain information about the installed software?()A、 lslpp -LB、 uname -sC、 oslevel -qD、 installp -p

Given the regular expression: 64900 . (65400-65410) Which AS Path matches the given regularexpression?()A、64900 65000 65500B、64900 65402 65409C、64900 65000 65300 65410D、64900 65402 65405 65409

You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()A、The tx.Matches(Bill)B、The tx.Equals(Bill)C、The tx.Match(Bill)D、The tx.IsMatch(Bill)

单选题Which of the following statements about task-based language teaching is NOT true?AStudents should be given tasks to perform or problems to solve in the classroom.BStudents are task-driven.CTask-based language teaching is student-centered.DTask-based language teaching follows the PPP model.

单选题Given the following router output,which configuration file will the router use at its next reload?()A configB clientqos.cnfC startup-configD running-configuration

单选题Given the regular expression: 64900 . (65400-65410) Which AS Path matches the given regularexpression?()A64900 65000 65500B64900 65402 65409C64900 65000 65300 65410D64900 65402 65405 65409

单选题You are about to create your Oracle data dictionary for use with the database. Which of the following users would you connect to the database as for this purpose in Oracle9i and later releases?()ASYSTEM BOUTLN CINTERNAL DSYS

多选题You use the segment advisor to help determine objects for which space may be reclaimed. Which three statements are true about the advisor given by the segment advisor?()AIt may advise the use of online table redefinition for tables in dictionary managed tablespace.BIt may advise the use of segment shrink for tables in dictionary managed tablespaces it the no chained rows.CIt may advise the use of online table redefinition for tables in locally managed tablespacesDIt will detect and advise about chained rows.EIt may advise the use of segment shrink for free list managed tables.

单选题You define the following regular expression of currency values: regex tx = new regex("^-?/d+(/./d{2})?$") You are required to write code that will be used to find whether a string in the variable named Bill matches the regular expression or not. You are also required to use this code as the expression in a conditional statement and need to know which code segment to use. What should you do?()AThe tx.Matches(Bill)BThe tx.Equals(Bill)CThe tx.Match(Bill)DThe tx.IsMatch(Bill)

单选题A system administrator periodically receives calls from users who complain about poor performance with their application. Use the following sar command output to answer the question: Which of the following system resources need more investigation?()A CPUsB DiskC MemoryD NetworkX

单选题Which of the following statements is TRUE, according to the author?AEveryone has a right to hold his own opinion.BFree expression of opinions often leads to confusion.CMost people tend to be careless in forming their opinions.DCasual use of the word “opinion” often brings about quarrels.

单选题According to the passage, which of the following is TRUE?ACell phone use is dangerous.BCell phone use causes cancer.CThe human brain is an electromagnetic field.DThere are about 5 billion cell phone users in the world right now.

单选题Which of the following commands can be used to obtain information about the installed software?()A lslpp -LB uname -sC oslevel -qD installp -p

单选题According to paragraph 2, which of the following was true of the Fore people of New Guinea?AThey did not want to be shown photographs.BThey were famous for their story-telling skills.CThey knew very little about Western culture.DThey did not encourage the expression of emotions.

单选题Which of the following commands can be used to obtain information about filesets on the system that are later than the current maintenance level?()A lslpp -IB uname -rC oslevel -gD rpcinfo -p