• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

TextArea

 
Ranch Hand
Posts: 216
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Given a TextArea using a proportional pitch font and constructed like this:

TextField t = new TextArea("12345", 5, 5);

Which statement is true?
A)- The displayed width shows exactly five characters on each line unless otherwise constrained ???
B)The displayed height is five lines unless otherwise constrained. ???
C) The maximum number of characters in a line will be five. //FALSE DEPENDS ON THE TYPE OF CHARACTER U KEY IN
IF U TYPE CHARACTERS LIKE " I " U CAN HAVE MORE THAN 5 DISPLAYED
D) The user will be able to edit the character string. //TRUE
E) The displayed string can use multiple fonts. //FALSE
 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Given a TextArea using a proportional pitch font and constructed like this:
TextField t = new TextArea("12345", 5, 5);

Which statement is true?
A)- The displayed width shows exactly five characters on each line unless otherwise constrained ???
B)The displayed height is five lines unless otherwise constrained. ???
C) The maximum number of characters in a line will be five. //FALSE DEPENDS ON THE TYPE OF CHARACTER U KEY IN
IF U TYPE CHARACTERS LIKE " I " U CAN HAVE MORE THAN 5 DISPLAYED
D) The user will be able to edit the character string. //TRUE
E) The displayed string can use multiple fonts. //FALSE
The Question should be as:
TextField t = new TextField("12345", 5, 5);
The answers are B) and D).

 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please see
TextArea
and
TextField
 
What a show! What atmosphere! What fun! What a tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic