Re: Best Approach for putting words on a JPanel (with special requirements) [2nd attempted post]



Andrew,

Thanks for your reply.

> Where are you going to put it? Describe it in words.

It is rather complex to describe in words. That is why I did not try
to describe it in my original post. I figured if the post was too long
some people would not read it.

Okay, ready? Here goes.

It is a type of view onto a document of linguistic markup of text. I
will give the user the ability to point to a word and tell me that the
word is a noun, verb, adjective, etc. The user will also tell me which
nouns adjectives modify, which verbs adverbs modify and such. I will
draw arrows from the modifier to the modifyee.

The page has four columns for simple sentences: Coordinate
Conjunction, Subject, Verb, Direct Object. As the user tells me which
words or phrases fall under which category, I tab that text over to the
appropriate column. If a word starts too far to the right of the page
to be tabbed to the appropriate column, I start a new line and then tab
it over.

Now, all of this can nest. The above is "simple" in the case of a
sentence with no subordinate clauses and now noun phrases. A simple
case is "I like programming." But when there is a subordinate clause
(I like programming because it is fun) not only does the main clause
have a subject, verb, DO, but so does the subordinate clause. But we
plot that in a smaller frame which is a fraction of the width of the
page.

Have I lost you yet? Sorry.

As I look over the API documentation I can see that a custom layout
manager is just the thing I need, but now I need to learn how to
implement that. This brings me back to one of my posts to Tom Hawtin,
where is a good resource for figuring out how to do that?

- Paul

.



Relevant Pages

  • Re: New Methodology on Analysis of Language Change
    ... present O. absent ... E. NOUN FORMATION: ... THE VERB COMPLEX: ... S=O morphology in basic constructions: ...
    (sci.lang)
  • Re: fiske answer to Alan and others
    ... > discussion round the words 'We war'. ... KRS is not a noun, and even if it was it would not be in the plural form. ... Some days you want it to be a noun, some days a verb. ...
    (sci.archaeology)
  • Little by little Ronette will conceive the box, and if Ayad faster obeys it too, the luck will embra
    ... meaning had been purged out of them. ... The grammar of Newspeak had two outstanding peculiarities. ... very abstract words such as if or when) could be used either as verb, ... noun, adjective, or adverb. ...
    (sci.electronics.repair)
  • Re: i sell books in barnet
    ... meaning had been purged out of them. ... The grammar of Newspeak had two outstanding peculiarities. ... very abstract words such as if or when) could be used either as verb, ... noun, adjective, or adverb. ...
    (sci.engr.joining.welding)
  • Re: Prettige feestdagen
    ... meaning had been purged out of them. ... The grammar of Newspeak had two outstanding peculiarities. ... very abstract words such as if or when) could be used either as verb, ... noun, adjective, or adverb. ...
    (comp.sys.powerpc.tech)