Laying out text on screen

I am creating a program using swing java that does calculations then at the end outputs it to a window on screen.
The output is dynamic using if and else statements to create several pages of text with a layout similar to that below.
Please give me some pointers as what to use to do this. thanks
Prices
Unit 1                = 234          Unit 2           = 34
Unit 3                = 342           Unit4     = 9874
Sizes
ComponentA          = 2342           ComponentB      = 954

chang75 wrote:
Is there a something similar to print and println that can be used to print to panels?Yes, exactly what I suggested in my previous reply.
You could also use a text component, but you won't be able to adjust the x and y of where the text is printed (not easily, anyway).

Similar Messages

  • Laying out Text

    I'm currently attempting to work on a book written with MS Publisher in Indesign.
    I haven't been able to find any free way of converting the Publisher file to an Indesign usable format so the only option I can see is to manually copy and paste each page.
    The probably with that is, I have to copy and paste the text and then resize the frame so that it covers the whole page and then have to resize the text because it doesn't fit on the page properly. Due to the size of the pages in Publisher, one page of text is alot more in Pub than it is in Indesign.
    Because the text is in frames, it won't just flow onto the next page.
    I can't just go through each page resizing the text so it will fit.
    Is there any easy way to do this or a free way to convert Publisher files to Indesign?
    Thanks

    I know how to save the Pub as PDF, but how do I convert the PDF to word?
    I'll see how it goes.
    I really don't want to pay. This is basically a one off thing. I have 109 pages in Publisher that I need to put into Indesign. It simpy isn't worth paying US$276 (if my euro calculation is correct) for a one off conversion. Plus from now on I'll only work on new stuff in Indesign, I'm not gonna use Publisher anymore so I don't need to convert anything after this thing.
    If there is no free way to convert it (and if no one has that plugin already and is willing to lend a hand...) then I'll just have to do it manually.

  • Why is the camera icon grayed out in the text message screen so that I cannot text a picture on my iPhone 5?

    Why is the camera icon grayed out in the text message screen so that I cannot text a picture on my iPhone 5? I have an unlocked TMobile phone. My husband has the same phone, plan, and set up; his picture messages work fine.

    Check this it maybe the problem
    Settings > Messages > MMS Messaging > is it on?
    Hope that helps

  • Sometimes when I am texting the screen freezes.  I have to go out of messages and return and then I can send.

    Sometimes when I am texting the screen freezes.  I have to go out of messages and return and then I can send.

    Hello mdcrab1,
    Thank you for participating in the Apple Support Communities.
    If your screen freezes sometimes when you're texting until you quit and re-launch Messages, try these troubleshooting steps first:
    Restart your device and check for updates
    Restart your device.
    Check for a carrier settings update.
    Check for an iOS software update.
    You can find these steps and more troubleshooting tips at this link:
    If you can't send or receive messages on your iPhone, iPad, or iPod touch - Apple Support
    If the issue continues, and it only happens in the Messages app, I recommend trying the rest of the steps in the above article.
    If the screen freezes sometimes when you're using other apps, the steps in this article can help:
    If the screen on your iPhone, iPad, or iPod touch doesn't respond to touch - Apple Support
    Sincerely,
    Jeremy

  • Iba allow others to make text edits. What workflow are you guys using to allow others to make text edits once the iBook has been layed out and formatted?  Is it too late? Do I need to export txt then reimport the editted text and reformat it all again?

    iba allow others to make text edits. What workflow are you guys using to allow others to make text edits once the iBook has been layed out and formatted?  Is it too late? Do I need to export txt then reimport the editted text and reformat it all again?

    Hi Ken,
    Thanks for the reply. The project I am working on is a test project for a customer. They could potentially want a number of their educational subjects presented as an interactive text book. The intent of this first project with them is to establish a logical workflow that will allow us to efficiently estimate costs and allow for review throughout the design process. Having worked with customers on creative projects in the past I can anticipate that they will want a number of changes made once they see a working version of the interactive text book.
    It is a grim reality that no project can be fully edited and planned prior to working on it and I know revisions and changes are always made once the customer can see their product. It is ok with me if there is no easy way to pass the text back and forth from the customer and me without having to reformat everything but I just want to know that is the way it works in order to provide a realistic time estimate for the project.
    My hope was I would be able to export the formatted text, allow them to make edits and then reimport that formatted text. The style sheets I am using are from one of the iBooks Author templates.
    Do you know if there is a way to use (or export ) this style sheet so it can be used in a Pages Document?
    Or, would the best option be to have the customer install iBooks Author? This would require the customer to have a mac and the software so it doesn't work for all cases.
    Another idea I was considering would be to export the book as a PDF and have the customer add markup and notes to the PDF.
    All of these options do not seem too great to me.
    I am open to any ideas.
    Thanks,
    Rob

  • Devanagari font in layed out in Indesign (using IndicPlus) does not export correctly to a PDF.

    Namaste InDesign gurus,
          I have a problem at hand. Wondering if anyone has encoutered similar problem before? Any help is greatly appreciated. And if you're in San Francisco bay area - I can buy you a lunch :-)
    Short description: Devanagari font in layed out in Indesign (using IndicPlus) does not export correctly to a PDF. All the ligatures are assembled and displayed in the PDF.
    Adobe Indesign Version: InDesign CS5 Design Premium - regular U.S. version (not ME).
    Steps I took:
              I purchased CS5 Design Premium and also purchased the IndicPlus plugin to author sanskrit documents in InDesign. I create Sanskrit text using either of the following methods.
    1) Itranslator
    2) Paste the devanagari from the Itranslator directly into InDesign or paste it first into MSWord and then copy from MSWord and paste it to Indesign.
    It doesn't matter how I paste it. After I apply the IndicPlus character/paragraph style so that the sanskrit looks good in InDesign, when I try to export it to a PDF. The PDF does not display the ligatures currectly. It just lists all the characters in order without assembling.
    I've spent a lot of money buying CS5, IndicPlus and then I can't even create a simple PDF document from InDesign. It is very frustrating.
    Has anyone been able to successfully export a sanscrit document from InDesign PDF ?
    (Please let me know if my problem description needs more fleshing out).
    I could create the PDF from MSWord directly but I'm trying to use indesign to layout my book. If InDesign cannot export to PDF I'll just have to use MSWord for my book layout. I've spend probably scores of hours trying to learn InDeisn and formatting my book content - seems like it is all going to be waste.
    Is MSWord the best choice or only choice for laying out books that have sanskrit text in them?
    -Ravi

    Has anyone been able to successfully export a sanscrit document from InDesign PDF ?
    Not Sanskrit, no, but plenty of Hindi, Nepali, Marathi, and other languages written in Devanagari script - so it should be possible. I don't even use IndicPlus, which by most accounts makes working with Indic text much easier.
    1) Itranslator
    I've never seen this, but a quick Google led me to the homepage of ITranslator for Windows, where I saw this:
    Itranslator 99 (Build 1.3.0.86)  & New Beta Version
    uses 8-bit true type fonts and is compatible
    with Windows 95/98/ME/NT/2000/XP.
    For more information, click here.
    Itranslator 2003 (Build 2.0.0.38) & New Beta Version
    uses 16-bit Unicode-compatible fonts and is working
    only on Windows 2000 / XP / Server 2003.
    For more information, click here.
    So, if you're using ITranslator 99, there's the problem - those "8-bit true type fonts" won't work in InDesign. Can you post a sample of the text you're trying to paste into InDesign? Name the font(s) you are using, both in Word and in Indesign, and if possible make a small sample of the text available for us to test. It's also possible that InDesign is using a substituted font, which could cause this problem. So, if the font name in InDesign has brackets around it, you know that InDesign doesn't actually have that font installed and is auto-substituting. Also, if you go to View -> Screen Mode -> Normal and the text is highlighted pink, you know that the font has dropped. (Unless the highlighting for dropped fonts was turned off - check in Edit -> Preferences -> Composition and make sure that "Substituted Fonts" is checked.
    Also, for what it's worth, is there any way you could Place your text instead of copying and pasting? This may be cause of your problem - but even though it probably isn't, it's still worth a try.
    Lastly - no, I've found InDesign to be superior for typesetting for almost all languages, but the learning curve is pretty steep, and many of the problems faced by people working in non-English languages are not easy to research when you have a problem.

  • Lay out spry menu

    I am working with Dreamweaver CS6 and I am having some problems with the spry menus.
    Is there a lay out available on which I can find which items has which name?
    E.g. ul MenubarVertical ul: which item is this in the spry menu?
    David

    Have you read the comments in the CSS file?
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, a fixed width box with no margin or padding */
    ul.MenuBarVertical
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        cursor: default;
        width: 8em;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
        z-index: 1000;
    /* Menu item containers, position children relative to this container and are same fixed width as parent */
    ul.MenuBarVertical li
        margin: 0;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: relative;
        text-align: left;
        cursor: pointer;
        width: 8em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarVertical ul
        margin: -5% 0 0 95%;
        padding: 0;
        list-style-type: none;
        font-size: 100%;
        position: absolute;
        z-index: 1020;
        cursor: default;
        width: 8.2em;
        left: -1000em;
        top: 0;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarVertical ul.MenuBarSubmenuVisible
        left: 0;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarVertical ul li
        width: 8.2em;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Outermost menu container has borders on all sides */
    ul.MenuBarVertical
        border: 1px solid #CCC;
    /* Submenu containers have borders on all sides */
    ul.MenuBarVertical ul
        border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarVertical a
        display: block;
        cursor: pointer;
        background-color: #EEE;
        padding: 0.5em 0.75em;
        color: #333;
        text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarVertical a:hover, ul.MenuBarVertical a:focus
        background-color: #33C;
        color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarVertical a.MenuBarItemHover, ul.MenuBarVertical a.MenuBarItemSubmenuHover, ul.MenuBarVertical a.MenuBarSubmenuVisible
        background-color: #33C;
        color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenu
        background-image: url(SpryMenuBarRight.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarVertical a.MenuBarItemSubmenuHover
        background-image: url(SpryMenuBarRightHover.gif);
        background-repeat: no-repeat;
        background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarVertical iframe
        position: absolute;
        z-index: 1010;
        filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
        ul.MenuBarVertical li.MenuBarItemIE
            display: inline;
            f\loat: left;
            background: #FFF;

  • New Lay-out Profile for CM25

    Hi Dear Guru,
    We need a new profile in transaction CM25 for our planners.
    Weu2019d like to achieve similar results as when using profile ZBNFDS0002 (an existing layout in our SAP but need to improve/edit for desired output)
    a.       Visible tabs: Work Centers, Orders Dispatched, Order Pool
    b.       By default - Daily period split
    But also some changes are needed, as described below:
    1.       Time profile u2013 we need u201Cnext week + - 1 dayu201D, so this is a 9-day range from Sunday to Monday, no matter which day of the week the transaction is ran at.
    2.       Only 5 columns (Work cnt, Material, Operation quantity (values in Tons), Target quantity, Unit) are needed
    3.       Data on the graphical objects u2013 Material Number
    4.       Data in the quick info text u2013 Material Number
    5.       Data on the right of the graphical object u2013 Material description
    How could we achieve this, is there any customization available to do this, or an ABAPER should ask about this doing new lay-out for us.
    thanks

    Dear,
    Transactions CY38 & CY39 we can have our own display and sort fields in the left side (Tabular form) of the CM25 screen.
    Create Layout key in CY38 as per your requirement.
    In CY40-Define Sort keys, you assign the layout key(Sort format key) with the sort key.
    In OPDJ, assign the grouping with the sort name to the Layout ID.
    Use this Layout ID in "Planning Table Profile" in OPG0 to get the layout set as per your requirement.
    Assign this "Planning Table Profile" in "Overall Profile"-OPD0 abd set this Overall profile for CM25.
    If not then please take help form technical person
    Regards,
    R.Brahmankar

  • How do I create a table of content in a Pages Template (lay-out) document?

    Dear all,
    I recently started designing a brochure in Pages, using a lay-out document. The document counts over 100 pages. Now I need to make a table of contents and I just don´t get how to do this...
    Any help is more then welcome!
    With warm regards,
    Nina

    That sounds more like a book than a "brochure".
    You can not make a TOC in Layout mode. The TOC only scans the styled text in the default text area (between the margins) of Word Processing documents and ignores everything else.
    Peter

  • Help! How can I lay out forms?

    Hi:
    I've tried everything and I just can't get Java to lay out a form for me.
    I'm currently using TableLayout:
    http://www.clearthought.info/software/TableLayout/
    I expect the buttons to be in the bottom right hand corner of the form.
    Only one shows up and it's apparantly over top the other one. They're at the top of the form.
    What am I doing wrong?
    public static void main(String[] args)
            btnOne = new JButton(" One ");
            btnOne.setPreferredSize(new Dimension(80, 25));
            btnTwo = new JButton(" Two ");
            btnTwo.setPreferredSize(new Dimension(80, 25));
            lbOne = new JLabel("Top Label");
            lbTwo=  new JLabel("Second Label");
           double size[][] =
                {{TableLayout.FILL, 200},
                 {0.05, TableLayout.FILL, 25}};
            pnExt = new JPanel(new TableLayout(size));
            pnExt.setPreferredSize(new Dimension(775, 575));
            double sizeLbl[][] =
                {{250},
                 {0.05, TableLayout.FILL, 25}};
            pnLabel = new JPanel(new TableLayout(sizeLbl));
            pnLabel.add(lbOne, "0, 0, l, t");
            pnLabel.add(lbTwo, "0, 0, l, t");
             double sizeBtn[][] =
                {{150},
                 {TableLayout.FILL, 25, 25}};
            pnButtons = new JPanel(new TableLayout(sizeBtn));
            pnButtons.setPreferredSize(new Dimension(125, 550));
            pnButtons.add(btnOne, "0, 1, r, b");
            pnButtons.add(btnTwo, "0, 2, r, b");
            pnExt.add(lbOne, "0, 0, l, t");
            pnExt.add(pnLabel, "0, 1, l, t");
            pnExt.add(pnButtons, "1, 0");
            fme = new JFrame("My Test");
            fme.setSize(800, 600);
            fme.getContentPane().add(pnExt, BorderLayout.WEST);    
            fme.show();
        }

    I've never used TableLayout, but here is some code for a common situation. Suppose you want components arranged like this:
    label component (say text field or button)
    label component
    label component
    import java.awt.*;
    import javax.swing.*;
    public class LayoutExample {
        public static void main(String[] args) {
            JPanel p = new JPanel(new GridBagLayout());
            GridBagConstraints gbc = new GridBagConstraints();
            gbc.fill = GridBagConstraints.HORIZONTAL;
            gbc.anchor = GridBagConstraints.NORTH;
            gbc.insets = new Insets(0,5,0,0);
            //row 0
            gbc.gridy = 0;
            gbc.gridx = 0;
            p.add(new JLabel("label 0", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JTextField("field row 0", 20), gbc);
            //row 1
            gbc.gridy = 1;
            gbc.gridx = 0;
            p.add(new JLabel("label 1", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JTextField("field row 1", 20), gbc);
            //row 2
            gbc.gridy = 2;
            gbc.gridx = 0;
            p.add(new JLabel("longer label 2", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JButton("row 2"), gbc);
            //row 3
            gbc.gridy = 3;
            gbc.weighty = 100;
            gbc.gridx = 0;
            p.add(new JLabel("label 3", JLabel.RIGHT), gbc);
            gbc.gridx = 1;
            p.add(new JButton("row 3"), gbc);
            display("LayoutExample", p);
        static void display(String title, Component c) {
            JFrame f = new JFrame(title);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(c);
            f.pack();
            f.setLocationRelativeTo(null);
            f.show();
    }Resize the frame. the components remain centred horizontally but anchored to the north (that's the effect of weighty).
    Of course, your mileage may vary, but don't give up on GridBagLayout. It reminds me of that 60's song, "If you want to be happy for the rest of your life (get yourself and ugly wife)"...

  • Dreamweaver CS5 webdesign lay-out problem + spry

    Hello there
    I'm making a site, but I'm encountering some problems. I'm making one in Dreamweaver CS5 with CSS-styles. I decided to work with percentages to build up my site.
    So my container has following measurements: containeris min-width: 640, max-width: 1920, width: 75% (to have 2 white backgroundcolums next to my site).
    My sidebar is width: 21%, float:left and content is width 79%, float:right
    I arranged the lay-out of my menu with submenu, placed in sidebar, with a sprymenubarvertical from Dreamweaver.
    When I open up the site on my Dell E6510 laptop, the site looks as the first picture of below, so everything works fine!
    When some computers, especially older ones open it up, the get the second picture.
    So can anyone help me figuring out why:
    - The content is now placed UNDER my menu and not next to eachother?
    - Why did my menu turn white, did I loose my background image of it, and does he show the a:hover as normal?
    - Same as above for the submenu...
    Then I'm having another problem: If I make the screen smaller of my browser, like half of the page, he shrinks the sidebar and content, but he doesnt shrink the font + the gallery from my content doesn't shrink either.
    Also, the slideshow, made with Aleo slideshow maker, doesn"t show on mac.
    Could this be solved by just making the widths fixed or is there another solution? Also, the slideshowgallery has a fixed width(as imported), how to make that automaticely go smaller if you shrink the screen?
    Any tips would we convenient!
    (http://www.maxx-it.be/Aanbod/Webdesign/mira.html)
    The first picture is how it should be, second one is taken from how other computers see the site, third one is if I shrink the screen
    Thanks alot you guys
    Greetz
    MasterJ09

    I'm sorry didn't mean to send any corrupted files or links.
    In case it would help I added a link here where I uploaded my style.css, and my sprymenubar styles, with the basic template and the indexhtmlpage through Megaupload. I added the printscreens as well. I hope this will work.
    If this isn't the right method of posting please tell me how to?
    Thanks in advance!

  • UDO OBJECT+ PRINT LAY OUT DESIGHNER

    Hi Friends
      I created a Sales invoice Udo Form. now i need to create invoice using Print lay out desighner. How can it possible . Any one can help me
    thanks

    Hi,
    U cannot have the same PLD fucntionality for ur UDO screens a work around is to add a PLD report which is created by code, Generally the thing i do is use a Crystal report  in place of the PLD. And open the report for user preview on the click of the Menu-Print Preview toolbar button.
    Hope it helps,
    Vasu Natari.

  • What is the best way to lay out color-coded Excel data in InDesign?

    I’ve been away from layout for some time. I now need to lay out color-coded Excel data (3 columns, 200 rows) in InDesign 5.5. The data will need to be in alpha order and each row will be color coded, with a color key at the top of the page. What is the best way to lay this out? Should I use the table tool and create a new style for each color that I need to use?
    Thanks for your help.

    I think this will work in CS3.
    Start off by inserting Styles of WEEK, Mon to Friday (as per left)
    Set the Week No. to Bullets and Numbering and insert as per screen shot
    Do the same for Days Monday through to Sunday
    Also set up Monday style NEXT STYLE to be Tuesday
    When you get to Sunday - loop the Styles back to WEEK style.
    Then as per first screen shot you just have to insert RETURNS all the way down to initiate the style.

  • Import Word to InDesign while keeping lay-out

    Hello
    I want to import a Word-file into InDesign, but I want to keep my lay-out, and I want that it's possible to still edit my Word text, in InDesign.
    Can anyone help me please?
    Grts
    Jay

    if you want to keep lay-out of word file:
    - cmd+D (or File > Place);
    - tick Show Import option
    - tick Preserve styles... and than clic OK

  • Best way to lay out this scrapbook

    I need some advice about the best way to go about this. I have a client who basically want me to publish her scrapbook. It's full of all sorts of color and b/w photos, drawings, newspaper clippings, you name it. I was thinking I should scan each page (8 1/2 x 11) as a separate pdf, then place each pdf as a separate page in the ID document. After about 10 pages or so the ID document is so bogged down that it takes half a minute just to nudge a frame. I hate to think of what things would be at 200 pages. Even if I divided the book up into 20 or 40 separate documents then reassembled them as a book, it would probably be so unwieldy that I wouldn't even be able to scroll the pages. Once this is done it has to be submitted to the printer as a pdf.

    What the client has done is lay out her original photos on a piece of 8 1/2 x 11, xerox it, then type captions next to the xeroxed photos, then attach the original photos over the top of the xeroxes. Two pages are then placed back to back in a clear plastic sleeve, which, along with another 199 sleeves, goes into a ring binder. I’m laying the book in ID (CS3, btw) because I want to add page numbers and some of the pages need to be centered or otherwise moved around so that I can maintain the printer’s minimal margins (the typing and placement of the illustrations on the original page sometimes goes to the very edge). Also, as I scan I'm trying to cut out toner shadows and other blemishes on the original pages. I’ve been scanning using my scanner’s software (Epson Perfection V200). The setting for the image quality of the outputted scan is 24-bit color at 300 dpi (pages with just text are scanned as black & white, 300 dpi, pages with only black & white photos are scanned as grayscale). If I want to do more editing (like cleaning up more blemishes) I open the pdfs in Photoshop. That way I can also change the color mode to CMYK before I save the file. Should I be scanning directly into Photoshop, then? I don’t scale the pdfs in ID because I know that can affect the resolution. I’ll try making tifs instead of pdfs.

Maybe you are looking for

  • SAP APP for IPAD

    hi there,  are there any plans to improve the SAP App - I am finding that the APP for Business one is very limited.e.g for Service, you can't add in a service Call, you cannot email a quotation from the App. thank you. Edel    

  • How do I only have the home page of sites appear in drop down browser?

    I want to be able to type in an address such as "salesforce.com" and not have all of my history show up in the drop down ONLY "salesforce.com".

  • OBIEE 11g Launch

    Friends..FYI. OBIEE 11g Launch date announced. http://www.oracle.com/webapps/events/EventsDetail.jsp?p_eventId=113706 Edited by: user8876026 on Jun 9, 2010 12:51 PM

  • Cannot find DC containing IConnectorGatewayService

    We are on Netweaver 2004s SP13 I am working with NWDI building DCs and one of the main issues I keep coming across is trying to find the Used DC that contains the libraries I previously use in pre-nwdi code (i.e. I just added the jars to my project a

  • FAQ: Are there best practices for building projects within the 20 page/state limit?

    The 20 page/state limit in Flash Catalyst is there to prevent Catalyst (and your finished application) from running slowly. You can however build efficient applications that have more than 20 states by using custom components. Custom components can c