Text ..... Help

hi,
I have very simple problem, i have to write a Text in applet( or canvas ),Text will contain multiply-line And Paragraph .Text must be not be editable.
Thank you....

Simpler ways are to put it into one or more labels or an uneditable text area.
If you want to do it yourself you can use the LineBreakMeasurer and TextLayout
classes in a Canvas or Panel (AWT) or a JLabel or JPanel (Swing).
See LineBreakMeasurer api comments for examples.

Similar Messages

  • I want to email some photos, after i click send, a warning window opens with no text. help?

    i want to email some photos, after i click send, a warning window opens with no text. help?

    No way to help without you actually sharing details
    does it involve iPhoto for the Mac in any way? If so how? What version of iPhoto and of the OS? What is the exact error message? What email client do you use with iPhoto?
    LN

  • {code} in Plain Text Help

    A lot of the answers are reminding people to use the {noformat}{noformat} tag. The use of that tag could be encouraged by adding {noformat}{noformat} to the "Plain Text Help" section that appears on the right during posting. Has that been tried?

    It was mentioned early on when the forum update was done a couple of years back, but for some reason it either wasn't done or couldn't be done. Not sure why.
    Of course there is always the FAQ page which I think details such things (it's a wiki I believe, so it can be updated by anyone as required).

  • Oracle Text Help

    Hello Gurus,
    I am new to Oracle Text so i need your valuable inputs in resolving an issue i am facing.
    Here is the table definition and sample data:
    create table test ( a varchar2(100));
    insert into test values('Hello How are you');
    insert into test values('Just to say you Hello');
    insert into test values('I know you');
    insert into test values('you know');
    insert into test values('you may not know me');
    insert into test values('do i know you');
    SQL> SELECT * FROM test;
    A
    Hello How are you
    Just to say you Hello
    I know you
    you know
    you may not know me
    do i know you
    6 rows selected.
    If user enters search criteria ('you know', for example); i need to return all the records having 'you' AND 'know' anywhere. Hence for search criteria 'you know', i should get following records:
    I know you
    you know
    you may not know me
    do i know you
    Similarly, i need to return below records for criteria 'hello you':
    Hello How are you
    Just to say you Hello
    Can Oracle Text help me here?
    Thanks in advance for your help.
    regards,

    SQL>  create table test ( a varchar2(100))
    Table created.
    SQL>  insert into test values('Hello How are you')
    1 row created.
    SQL>  insert into test values('Just to say you Hello')
    1 row created.
    SQL>  insert into test values('I know you')
    1 row created.
    SQL>  insert into test values('you know')
    1 row created.
    SQL>  insert into test values('you may not know me')
    1 row created.
    SQL>  insert into test values('do i know you')
    1 row created.
    SQL>  create index test_idx on test (a) indextype is ctxsys.context
    Index created.
    SQL>  var str varchar2(100)
    SQL>  exec :str := 'you know'
    PL/SQL procedure successfully completed.
    SQL>  select * from test where contains(a,:str) > 0
    A                                                                              
    I know you                                                                     
    you know                                                                       
    you may not know me                                                            
    do i know you                                                                  
    4 rows selected.
    SQL>  exec :str := 'hello you'
    PL/SQL procedure successfully completed.
    SQL>  select * from test where contains(a,:str) > 0
    A                                                                              
    Hello How are you                                                              
    Just to say you Hello                                                          
    2 rows selected.

  • TEXT Help in posting messages

    How can I get Heading 1, which can be used for posting messages, please help me in this regard

    Hi Vamsi,
    If I have understood your question correctly, then it means how you are going to use the Heading in the Plain Text Help in while posting a question, replying to a thread, etc.
    If this is correct, then you can take the following approach in order to use the Heading. Just write h1,h2,h3,etc accordingly in front of the text which you want to mark in the beginning of the paragraph. For example,
    <Heading1> use h1 like
    Heading
    Hope this solves your problem. You can also use the preview tab to have a preview of the text before posting.
    From next time, if you can provide more elaborate data then it will be easy for other to reply promptly and accurately.
    Hope this helps.
    Thanks,
    Samantak.

  • Scientific Notation conversion to text Help needed

    I have a column with datatype nvarchar. I need to remove this problem thats happenning often, This is how sometimes the values can be 13343E11466  in my column  but when I run a query it changes to " 1.40E+279".. Do i need to convert
    the data type into text? or
    Can someone help me out ??
    FM

    > 13343E11466 
    That is not a common number. How do you interpret the string?
    If you want to keep it in a specific display format, you have to keep it as a string. SSMS reformats to a standard scientific display format. The actually value does not change.
    DECLARE @Fl float = 13343E11;
    SELECT @Fl;
    -- 1.3343E+15
    Excel does the same thing. This behavior is similar to datetime with a single internal binary representation and many string formats.
    Kalman Toth Database & OLAP Architect
    SELECT Video Tutorials 4 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Pdf docs created in pages show only photos, graphics, NO text, Help

    I have tried exporting to pdf, best quality & also "Print" to pdf with same results. The resulting thumbnail on my desktop and the one in "get info". look fine but when the pdf doc is opened only the graphic elements including photos show up. NO words show up at all (on Mac or PC). I need to be able to create pdf so I can print on pc network. Any suggestions. It would appear that I am following the instructions correctly as a pdf is actually created but with the above results.

    Tried your suggestion to no avail. However found some new info that might help find the problem.
    1. When I open in preview rather than Adobe the document looks correct.
    2. When I click and drag across the missing text I can produce grayed blocks where the text should be..
    3. If I then "copy" and "past" into a blank word document the text appears in the word document.
    4. I was able to open the document with the problem with e-copy desk top a kind of reader/converter.
    5. My OS is up to date.
    5. Adobe reader is up to date as well (8.1 think).
    Thanks, for your help though. I really appreciate your trying.
    Don

  • Viewport Sized Text Help

    So I'm making my first responsive theme for a client through my school as a class project and I'm having some trouble. I have msot everything figured out except for the auto-resizing text and am kinda of stumped. I found this: http://css-tricks.com/viewport-sized-typography/ an all CSS way to resize text versus the javascript alternative.
    Here is the testing environment that I'm working on: http://wordpresstestingenviroment.mckennastudios.com/
    If you make the window smaller you'll notice the text in the header does scale in it's size, but the problem is as it scales down it starts to change it's position and I was wondering if anybody could help me fix that?
    The other problem I'm having is setting the vmax doesn't seem to be working.
    Here is my code for these header elements:
    .banner {
      width: 100%;
      max-width: 1600px;
      margin: 0 auto;
      position: relative;
    .banner-img {
      width: 100%;
      height: auto;
      max-width: 1600px;
    .banner-top {
      background-color: rgba(153,77,23,0.8);
      position: absolute;
      width: 100%;
      top: 0px;
      left: 0px;
      padding: 12px;
      color: #ffffff;
      font-size: 2.1vw;
      font-size: 2.1vmax;
      font-family: "Times New Roman";
      text-align: center;
      height: 10%;
    .banner-mid {
      position: absolute;
      width: 34%;
      max-width: 580px;
      color: #ffffff;
      left: 50%;
      margin-left: -265px;
      top: 25%;
      font-size: 3.4vw;
      font-size: 3.4vmax;
      text-shadow: 3px 5px 12px #000000;
    .banner-bot {
      background-color: rgba(138,80,15,0.9);
      position: absolute;
      width: 100%;
      bottom: 0px;
      left: 0px;
      height: 17%;

    Try this quick & dirty example by pasting code into a new, blank document.  Preview & resize in browsers.
    <!doctype html>
    <html lang="en">
    <head>
    <meta charset="utf-8">
    <title>Responsive Layout</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
    <style>
        margin: 0;
        padding: 0;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    img {
        max-width: 100%;
        vertical-align: baseline
    body {
        font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
        background: #C97417 url(http://wordpresstestingenviroment.mckennastudios.com/wp-content/uploads/2015/01/sunset-roa d-banner-imready4change.jpg) no-repeat center center fixed;
        -moz-background-size: cover;
        -webkit-background-size: cover;
        background-size: cover;
    header {
        text-align: center;
        color: #FFF
    h1 {
        background: rgba(140,83,15,0.5);
        font-size: 20px; /* Some fallback that doesn't look awful */
        font-size: 3.6vw;
    h2 {
        font-size: 52px;
        font-size: 9vw;
        margin-top: 5%;
        text-shadow: -1px 3px 2px #333;
    h3 {
        font-size: 22px;
        font-size: 4vw;
    p {
        font-size: 16px;
        font-size: 2.9vw;
    section {
        background: rgba(142,94,40,0.7);
        width: 80%;
        margin: 0 auto;
        padding: 2%;
        overflow: hidden; /*to contain floats*/
    section.bottom {
        background: #C97417;
        text-align: center;
    button {
        width: 60%;
        line-height: 9vw;
        font-size: 22px;
        font-size: 6vw;
    article {
        background: rgba(209,187,155,0.5);
        float: left;
        width: 50%;
        padding: 2%
    .right {
        background: none;
        color: #FFF;
    /* Special Rules for mobiles */
    @media only screen and (max-width: 599px) {
    /**keep text readable in smaller devices**/
    p { font-size: 16px }
    section { width: 100% }
    article {
        float: none;
        display: block;
        width: 100%
    </style>
    </head>
    <body>
    <header>
    <h1>Heading 1 text</h1>
    <h2>Heading 2 text</h2>
    </header>
    <section>
    <article class="left">
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    <article class="right">
    <img src="http://wordpresstestingenviroment.mckennastudios.com/wp-content/uploads/2015/01/img.fw_.pn g" alt="details">
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <h3>Heading 3</h3>
    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.  Mauris vitae libero lacus, vel hendrerit nisi!  Maecenas quis velit nisl, volutpat viverra felis. Vestibulum luctus mauris sed sem dapibus luctus.  Pellentesque aliquet aliquet ligula, et sagittis justo auctor varius. Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    </article>
    </section>
    <section class="bottom">
    <h3>Heading 3</h3>
    <p>Quisque varius scelerisque nunc eget rhoncus.  Aenean tristique enim ut ante dignissim. </p>
    <button>BUTTON TEXT</button>
    </section>
    </body>
    </html>
    Nancy O.

  • Dynamic Text Help

    I'm having a small problem in my dynamic text box. For some
    reason numbers are not being displayed correctly. I am working with
    the Render Text as HTML box checked and am trying to get this
    result :
    01/15/09: No Meeting
    01/15/09: Camping Trip
    simple enough, however this is what i am ending up with:
    1/1/: No Meeting
    1/1/: Camping Trip
    Here is the code i am using which returns the above result:
    main_info.htmlText ="<p>01/15/09: No
    Meeting</p>01/15/09: Camping Trip";
    For whatever reason its not liking my numbers, is there
    something that i am supposed to put in front of a set of numbers so
    it displays it without thinking it is html code ?
    Thanks for any help you can offer.

    I use this piece of code:
    //Load Text
    Stage.scaleMode = "noScale";
    articleData = new LoadVars();
    articleData.onLoad = function() {
    box.htmlText = this.job1;
    title.htmlText = this.title;
    And its works fine on my computer(local), but when i upload
    the files the text
    dont appear.
    I have tried to do another swf to test and the problem still
    and i try to use
    http://....same problem

  • When I click Buy Book this appears our book appears to have default text that has not been edited. Printed books will not include this text. Do you want to continue? will the text I have sellected still be ok or will the book have missing text help Pleas?

    I just spent 3 days creating a book [32 pages], with photos and text but when I click Buy Book In iPhoto this appears>
    Our book appears to have default text that has not been edited. Printed books will not include this text. Do you want to continue?
    My question is will the text I have sellected to use still be ok, am I safe to continue and buy or will the book have missing text ?
    The book is for special birtday in 2 weeks time  Please Help.G
    <Email Edited by Host>

    Yes, you're safe to continue.  That means that there are text boxes that you did not put any text into and they contain the holding text which will not be printed.  That text is shown in a light grayt and is in Latin.  Normally you can just put a space in the text box to replace the holding text so as not to get that warning message.
    Before ordering the book proof the book according to this Apple document: iPhoto, Aperture: Previewing an order in iPhoto or Aperture. Check the pdf file for any missing text or photos and any warning indicators in the text boxes indicating that some of the text has exceeded the space allotted in the text box.
    Keep the pdf file to compare with the printed copy when you reciive it.
    OT

  • Oracle Text  - Help needed

    Hi,
    I am using Oracle Text 9.2 on Oracle databas version 9.2. I want to search for two words, which should be next to each other. For ex.
    select col1, col2
    from tab1
    where contains (col2, 'personal computer') > 0;
    I don't want those rows, which have personal in one place and computer in another place. But above query giving all these rows. Please let me know.
    Thanks a lot for the help.

    I want to search for two words, which should be next to each otherhere we go:
    SQL> create table t as select 'my personal computer' col1 from dual union all
                      select 'personal' col1 from dual union all
                      select 'computer' col1 from dual union all
                      select 'personal pc computer' col1 from dual
    Table created.
    SQL> create index t_idx on t (col1) indextype is ctxsys.context
    Index created.
    SQL> select * from t where contains(col1, '{personal computer}') > 0
    COL1               
    my personal computer
    1 row selected.

  • Custom text - help needed

    Hi Guys, I've got to design a Family Tree for a client and they want a very particular style. An arc sits at the bottom centre of the page, and inside the arc there are two names/birthdays/deaths/marriages etc. At right angles outside the arc, more names/births/deaths/marriages are listed. For each new generation there will be a new arc, and each new name etc will be at right angles to the arc below, no matter where they sit on the arc. I've done a really rough example of what they want.
    So basically my question is this: can it be done easily? (typing on text paths, scripts etc etc..)  I really don't want to have to put each new name into an individual text box and rotate to the correct angle, if I can help it. There are up to 8 generations and several hundred names. Family tree goes back to early 1800's...
    Any help would be greatly appreciated!

    It looks like a great opportunity to write a script. After all, it's all just maths; the names 'above' the root can evenly be distributed by dividing the available arc (180°) by the number of names (3), resulting in a separation of 60°, and the initial angle should be half that of that separation. So the first name is at 30°, the second at 90°, the third at 150°, and then there is a remainder of 30° again for the right side.
    These same values should be used for the next layer of this onion (family trees can be smelly too), but this time I think the content should be centered on that angle, so the angle for each single line depends on the number of lines in that branch.
    It sounds perfectly doable with a script, apart for one thing: how are you going to point out what texts must go where?

  • Text help Needed!

    Hi there, I have an issue hopefully someone here can help me with- I'm working with a cousin on a Flash project, changing a few graphics. Now, I'm using Flash CS4 on a Mac, and a font used in the original file, ''Micra'' is not on my system. I used the Font Mapping function to change the font, but I still see no text when I scroll through the movie in Flash, or when it is now published. Is there anything I can do to make the text visible? What am I missing? Do I need my cousin to do anything for me? I've searched around but haven't found a solution otherwise. If it helps, I had an issue with another graphic that needed to be deleted; I couldn't see it at all and could only get rid of it by deleting it from the library. Maybe that was also due to this font issue. And to add, the movie looks somewhat different when I view it in Flash; there are other graphics that pnly show when the file is published, and I get compiler errors relating to syntax. I'm not too experienced with Flash, so I have no idea how to identify the issue.  Much thanks for any help.

    Post script- My cousin has no access to any resources I might need, and I tried installing ''Micra Normal'' on my computer. Nothing that's been made invisible so far has become visible. I can imagine a myriad of technical reasons why the text might not be showing up, still hoping someone here might have an answer. The way the text works in the Flash, there are buttons to click through the text. The text fades in with each frame. Within Flash itself I cannot see this action happening, I have no clue why. The font in the original Flash doesn't even seem to look like 'Micra', from what I can tell. My cousin sent me a packet that included a .txt file with all the text that's supposed to go into the Flash, with html code included. Dunno if there's a way I should utilize this in Flash.

  • Random Pink Question marks in text, help!

    Hey guys! I'm a student studying in indesign on one of my modules and am a little bit stuck with something and wondered if you could help! I've done my text in word, got rid of spacing etc but when i put it into indesign ive got these little pink question marks where i'm trying to quote a film or place like 'Harry Potter...'. How do i change it so that these little question marks disappear?
    Thanks so much in advance

    Use a different font, one that has those characters defined, or change the mark.
    It sounds like you've used some symbol that doesn't exist in the chosen font. Word will accomodate you by silently using a substitute font, which leads to this kind of probelm when you import the text into ID.
    Peter

  • InDesign "Find Font" deletes text - help!

    So I open a file, use 'find font' to find and replace a font. Sometimes when I hit "change all" it deletes entire paragraphs of text. I've tried it with different fonts and it's not consistent. Sometime it deletes, sometimes it doesn't.
    Just now, I did a "change font" from Garamond to Univers and lost a paragraph on page one - no text in the box whatsoever. So I did and Undo. Then, I did the exact same "change font" again. Paragraph on first page is fine, one on page 2 goes missing. Any help would be appreciated.
    Thanks.

    Sorry it took me some time to get back...
    #1  original file with the original fonts
    #2 I have done a "Find Font" and replaced with Univers. Notice much of the text on page one is missing... it just seems to disappear (delete). In this case, some text in the same box was left, I think because it was a different font that the rest in the original font.
    Sometimes it deletes everything in the text box, not just a portion.
    Also, I originally suspected my Univers font to be the issue, however, that's not the case. This happens with several different fonts, inconsistently.

  • PSE freezes when adding text - help

    I have a MAC and have installed PSE 11 successfully.  I'm working on a birthday project and everytime I try to add text, the whole thing freezes.  I force shut down as it's the only thing to get me out of it, and reboot, and it does it again, and again and again.  Please help.  Thanks.

    Actually, before doing all that, let's check PSE itself. Go to the editor preferences>general, click this button, and restart the editor:

Maybe you are looking for

  • Smart quotes in Word file convert to boxes in InDesign CC

    I recently upgraded to InDesign CC. Before that, I was using InDesign 2.0 (very old). I place my Word files (which are saved in Word 2003 version) in text boxes in InDesign. When my text file is placed in InDesign CC, my apostrophes, hyphens and quot

  • Windows Vista Ultimate and Oh Crap!

    Hello All, This post is a bit of a question and a bit of advice. I am a System's Analyst / Network Engineer. I have a lot of experience with computers, Windows, and Mac OS. Eight days ago I started working with a client on a brand new PC with ALL the

  • INGESTED DVCPRO HD FOOTAGE IN WRONG "EASY SETUP" - HELP!

    OK, this falls under the heading: Just plain stupid. Nevertheless, now I am looking for a fix. I'm new to HD. I shot a short film with a Panasonic HVX-200. I was not going to have to do the post-production and would periodically load the footage into

  • MDB not responding after Oracle AQ restart

    I’ve created a Message Driven Bean, which I’ve deployed to a OC4J container listening to a point to point Oracle AQ. The bean works as expected until I stop and then start the database AQ (i.e. disable enqueue and dequeue via the management console o

  • Help, I can't import my CD songs to itunes for Windows

    Help, I can't import my CD songs to itunes for Windows. My computer crashed. All my songs on CDs were titled by numbers "01", "02" etc. So I have many songs on various CDs titled "01" for example. When I've tried to import various CDs, it seems like