Creating black mattes for letterbox

I am trying to create black mattes to "letterbox" 4X3 framing. The original footage was framed for 16X9, but the film was transferred to tape "full aperture". I know I can do this in iMovieHD (ver.6.0.3) but was wondering if it possible in i Movie '08 (ver.7.1.4). Anyone have any suggestions?
thanks

Hi thomasa,
I do not see an option for conversion to B/W in Acrobat.
I looked under Edit > Preferences, Convert to PDF.
In the "Converting to PDF" list, I selected "Autodesk AutoCAD" and then clicked the "Edit Settings" button.
My recommendation is to convert to PDF and then use Adobe Acrobat XI Professional's Preflight tool to do the color conversion to B/W.
For instance, there is a built-in profile  under "Digital printing and online publishing" that might work:
Digital printing (B/W).
I think there may be some trial and error involved.
You may want to post this question in the Acrobat "Printing & Prepress" forum.
Hope this helps,
Charlene

Similar Messages

  • How to create a matt for art simple objects on white.

    I would like to edit with a bunch of photos of objects from a book. They were all shot against white. can I get rid of the white background? I'm running FCP5
    mac pro   Mac OS X (10.4.8)  

    You could try luma key. And be sure you have permission from the publishers to reproduce the images.

  • I'm looking for alternatives to black mattes when pillarboxing (4:3 footage shown on a 16:9 screen)

    I have some 4:3 footage I want to put in 16:9 video I'm working on, and some 16:9 footage that I want to do something similar too because the far sides of the images is distracting and unnecessary.  I don't just want to black it out because that seems distracting to me.  I don't want distort the footage to fit 16:9 aspect ratio, either.
    When they're showing 4:3 footage on my local HD news, they often replace the vertical black mattes that you'd usually see with some sort of reflection effect.  It's kind of a stretched-out, blurry reflection of the sides of the 4:3 footage being shown.  It's about the best thing I've seen in terms of not being too distracting.  How would you best achieve that?  Is there a plug-in out there that does this?  Or an effect?
    I'd appreciate any advice (including if you have better suggestions).
    Thanks!

    You can *build* the effect *underneath* the storyline with generators, images, other video, and text (like the commonly seen "HD" in large gothic letters, rotated -90 degrees and set with a low opacity in the "margins".) Where there is transparency in your storyline (pillar- or letterbox), the background elements will show through. Just make sure you have your items that you place underneath the storyline  "stacked" by layer order.
    I think you can find some nice free HD background animations around, if you don't mind signing up for accounts (google "free HD looping backgrounds"). And, you could use the Reveal Title over the Blobs or Underwater Generator in a pinch, just delete the text and stretch them both out so they span the length of your project.

  • Problem creating a swatch for rich black (c50 m50 y0 k100)

    When I manually create a swatch for rich black (c50 m50 y0 k100) in Illustrator CC (17.1.0) and assign as a fill or stroke, it is getting changed back to ordinary black (c0 m0 y0 k100). That is, I create the swatch as above, select an object and click to assign the rich black swatch. The swatch appears to be assigned to objects stroke or fill as expected. However, if I then reselect that object, the rich black has been reset to the standard black – c0 m0 y0 k100. I'm sure I've done this before without a problem, but not since I upgraded to Illustrator CC. As a workaround, for the piece I'm working rigth now, I created a swatch for c50 m50 y0 k99 – as this holds. Any ideas?
    Kind regards
    Tim

    At the time I was getting the decribed behaviour, I was working on a project destined for an online print service called PrintCarrier, for which I had a particular profile based on the FOGRA39 profile: Eurostd (Coaed) 15% GCR Medium. The latter was causing Illustrator to not retain rich blacks. When I reverted to my usual profile (ISO Coated v2 300% (ECI)) rich blacks were retained – that is Illustrator behaved normally with regards honouring the rich black assignments.
    Not sure why the different profile was causing that to happen in Illustrator. I know that under the same profile in InDesign, rich blacks assigned within that application behave correctly, and don't reset as in Illustrator.
    Is this a bug getting triggered or am I missing something in the way profiles handle black/rich black?
    Kind regards
    Tim

  • Creating a texture for a rounded window

    Hi.
    I'm creating a simple gui on a game framework based on lwjgl and I have a problem.
    Almost every window has a solid black texture as a background. I came up with a idea to make corners rounded. At the beginning I created gif picture of a rounded square and used it as a background texture. But it wasn't a good idea, because the corners had different sizes depends on windows sizes (and how much texture was stretched). I've decided that I have to create a texture dynamically every time a window is created.
    public void makeBackground() {
            // the texture size must be multiply of 2
            int tWidth = 2;
            while (tWidth < getWidth()) {
                tWidth *= 2;
            int tHeight = 2;
            while (tHeight < getHeight()) {
                tHeight *= 2;
            Texture t = new Texture(getWidth(), getHeight()); // new texture is created with width and height same as the window size
            int px, py, ox, oy; // some variables
            final int pw = getWidth(),  ph = getHeight(),  hww = tWidth; // as above
            ByteBuffer bb = t.getData(); // blank texture is converted to a byte buffer
            Utils.startStoper(); // start timer (for a benchmark)
            try {
                for (int p = 0;; p++) {
                    px = p % hww; // get the X of the pixel
                    py = p / hww; // get the Y of the pixel
                    ox = ROUND_ANGLE - Math.min(px + 1, pw - px + 1); //  ox = <0, 32> if near corners
                    oy = ROUND_ANGLE - Math.min(py + 1, ph - py + 1); //  as above
                    bb.put((byte) 0); // r = 0
                    bb.put((byte) 0); // g = 0
                    bb.put((byte) 0); // b = 0
                    if (ox > 0 && oy > 0) {  // if near corners
                        double hypot = Math.hypot(ox, oy);
                        if (hypot > ROUND_ANGLE) { // if outside the corner
                            bb.put((byte) 0); // apha = 0
                        } else if (hypot > ROUND_ANGLE - 1) { // if on the corner edge
                            bb.put((byte) Math.round(
                                    (ROUND_ANGLE - hypot) * 200));
                        } else {
                            bb.put((byte) 200);  // if inside the corner (200 is a max value cause the whole window is a bit transparent)
                    } else {
                        bb.put((byte) 200); // inside the window
            } catch (BufferOverflowException ex) {
            Utils.stopStoper();  // stop timer
            t.setData(bb);   // set data for a texture
            super.setImage(t);  // set texture as a background
        }And here we have a problem. The whole method takes about 70ms for a window 200x200.
    I can do it in another way: create a pictures of a rounded corner and a black box. The box would be the window inside and the corner would loaded 4 times each time rotated. Only the box would be stretched then. But I would have to override all methods of a window (setX, setY, setXY, some more).
    Any ideas?
    Thanks.
    Edited by: tom_ex on 2009-02-17 16:58

    Hi Tom,
    I haven't used lwjgl, so hope the following helps:
    1- What does it matter if it takes 70ms. Your windows will be created once. At that point juste create the texture for that window and store it until you destroy the window. The penalty hit is 70ms but only at the initialization.
    2- You are drawing a pixel at a time for everything. Why don't you calculate the area of the corners and only draw the corners a pixel at a time. For the rest, draw some filled polygons.
    3- The java Graphics object has method fill methode that can take any Shape object. Why don't you use that?
    I would use a combination of 3 and 1.
    Hope that helps.
    Ekram
    Edited by: ekram_rashid on Feb 18, 2009 2:21 PM

  • How to create black and white pdfs from autocad drawing

    I am trying to create a pdf from autocad drawing with searchable text.  Using the default acad pdf driver, it will create searchable text for only TT fonts with width set to 1.0.  We use the monochrome plot settings so pdfs are all black, even if drawing was in color.
    Using 'create pdf' from Acrobat Pro, Acrobat pro will create a pdf from the autocad drawing easily with all text searchable, shape fonts, TT fonts, no matter what the width.  Fantastic.  However, there is no option that I can see to create the pdf in just black and white.  It creates the pdf in drawings original colors.  How do I create a black and white pdf using acrobat pro?  Thanks.

    @gordon15
    The only way to change the color of the printouts from your iPhone is through HP's free mobile app "HP ePrint Home&Biz". This is available in the App Store.
    Simply download and install the app, choose a file to print from within the app, then press the icon at the bottom right of the screen that is a wrench and printer. This should then give you the option to choose the color output. Make your selection, press "Done", then press "Print."
    If you are not seeing this option, you may need to setup ePrint for the printer and then register the app. This registration will also give you more functionality with the app.
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • Making a color solid black matte follow eyes

    I created a color solid black matte rectangle intended to cover a person's eyes.
    1.) How do I make it so it follows the person's eyes as they move during the video?
    2.) How do you rotate the black matte? The person's face is at an angle at one point.
    Thanks.

    Thanks for the greenie...
    BTW, you mentioned the person's face being at an angle...you may want to use one of the Video Filters if you need the 'z' axis.
    My systems exporting right now and I can't remember it's exact name...but you should be able to find it. If you use that, you might want to do all of your 'x', 'y' and 'z' axis in that filter...might keep rendering time down since you would also be using the Basic Motion Tab functions.
    K
    EDIT - just found it...Main Menu / Effects / Video Filters / Perspective / Basic 3D.
    Message was edited by: Kevan D. Holdsworth

  • [ADF Help] How to create a view for multiple tables

    Hi,
    I am using Jdeveloper 11G and ADF framework, and trying to create a view to update multiple tables.
    ex:
    Table A has these fields: ID, Name
    Table B has these fields: ID, Address
    A.ID and B.ID are primary keys.
    B.ID has FK relationship with A.ID
    (basically, these tables have one-to-one relation)
    I want to create a view object, which contains these fields: B.ID (or A.ID), A.Name, B.Address.
    So I can execute C,R,U,D for both tables.
    I create these tables in DB, and create entity objects for these tables.
    So there are 2 entity objects and 1 association.
    Then I create a view object based on B and add fields of A into the view:
    If the association is not a "Composition Association",
    when I run the model ("Oracle Business Component Browser") and try to insert new data, fields of A can't edit.
    If the association is a "Composition Association", and click the insert button, I will get
    "oracle.jbo.InvalidOwnerException: JBO-25030: Failed to find or invalidate owning entity"
    If I create a view object based on A and add filed of B into the view:
    When I run the model and try to insert new data, fields of B can't edit, no matter the association is or is not a composition association.
    So... how can I create a view for multiple tables correctly?
    Thanks for any advices!
    Here are some pictures about my problem, if there is any unclear point, please let me know.
    http://leonjava.blogspot.com/2009_10_01_archive.html
    (A is Prod, B is CpuSocket)
    Edited by: user8093176 on Oct 25, 2009 12:29 AM

    Hi Branislav,
    Thanks, but the result is same ....
    In the step 2 of creating view object, I can select entity objects to be added in to the view.
    If I select A first, and then select B (the "Source Usage" of B is A), then finishing the wizards.
    When I try to create a new record in the view, I can't edit any properties of B (those files are disabled).
    If I select B first, and then select A in crating view object, the result is similar ...
    Thanks for any further suggestion.
    Leon

  • Is there any way to create a reminder for "today"?

    Is there any way to create a reminder for "today" in the new Reminders app? I used to be able to pull up the "today" list and add things that would go to my default list but automatically show up for today but now it looks as though that option is gone.  Additionally, any way to get dates/times to show up with reminders in the Notification Center?

    Hey chewie314,
    Thanks for the question. From the information you provided, it sounds like you might be looking for the "Scheduled" view. This view will show all of your reminders that are scheduled in a list. To access the schedule view, click the icon:
    Reminders - iPhone User Guide
    http://help.apple.com/iphone/7/#/iph88463e18
    Thanks,
    Matt M.

  • How to create a channel for a PXI-6509

    I am working on a program to control the PXI-6509. The one area that I am having problems with is creating the channel by calling the function DAQmxCreateDOChan. I get no errors when first calling DAQmxCreateTask, but get an error when trying to create the channel. How exactly do you create the name for the channel? In MAX, I named the device "DIO", not sure if that matters. Any help would be greatly appreciated.
    Solved!
    Go to Solution.

    Hi schelgr,
    Have you had a look at the DAQmx examples in the example finder found in the help > find examples.  In the Hardware Input and Output > DAQmx there is many examples that should be able to help you with this query.
    Regards
    Matt Surridge
    National Instruments

  • WHERE clause creating a join for two or more tables

    The CS3 Dreamweaver book says that the WHERE clause can
    create a join for two or more tables. The join was created, but the
    data is repeating. I have searched the web and this forum and have
    not found the answer.
    My Master page filters the recordset by Style No and when a
    customer clicks on a particular style, it sends him to the Detail
    page. All the records are showing from all tables on the detail
    page from the Dynamic List, except they are showing multiple times
    (ex. Size table has 4 sizes and Color table has 2 colors - my Size
    Drop Down list is showing 8 options and my Color Drop Down List is
    showing 8 options) I have a Master Page with a recordset pointing
    to a Detail Page using the same recordset.
    Master page works perfectly.
    Master Recordset SQL:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, coloroption.color,
    sizeoption.size
    FROM products, coloroption, sizeoption
    WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    products.styleno=coloroption.styleno
    GROUP BY products.styleno
    ORDER BY styleno ASC
    The Detail Recordset:
    SELECT products.itemID, products.category, products.styleno,
    products.name, products.description, products.ourprice,
    products.imageTH, products.image, sizeoption.size,
    coloroption.color
    FROM products, sizeoption, coloroption
    WHERE itemID=colname AND products.styleno=sizeoption.styleno
    AND products.styleno=coloroption.styleno
    I tried using the GROUP BY on the detail page, but then it
    only showed one size and color from the dynamic drop down list. I
    tried changing the field name "styleno" in the other tables to be
    unique, however, I was using the table identifer. I tried using the
    JOIN command instead of the WHERE clause and that didn't help
    either.
    On the detail page, the customer is supposed to click on the
    Size box and see sizes XSM - 6XL ONLY ONE TIME. and then be able to
    click on the Color option and see White, Black, Red ONE TIME.
    Is this possible?
    Thank you for giving your time to read this.!
    Evie

    Do you have a link we can look at to see what you are trying
    to do?
    Dave
    "EviePhillips" <[email protected]> wrote in
    message
    news:[email protected]...
    > The CS3 Dreamweaver book says that the WHERE clause can
    create a join for
    two
    > or more tables. The join was created, but the data is
    repeating. I have
    > searched the web and this forum and have not found the
    answer.
    >
    > My Master page filters the recordset by Style No and
    when a customer
    clicks on
    > a particular style, it sends him to the Detail page. All
    the records are
    > showing from all tables on the detail page from the
    Dynamic List, except
    they
    > are showing multiple times (ex. Size table has 4 sizes
    and Color table has
    2
    > colors - my Size Drop Down list is showing 8 options and
    my Color Drop
    Down
    > List is showing 8 options) I have a Master Page with a
    recordset pointing
    to a
    > Detail Page using the same recordset.
    >
    > Master page works perfectly.
    > Master Recordset SQL:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > coloroption.color, sizeoption.size
    > FROM products, coloroption, sizeoption
    > WHERE category = 'chefcoats' AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    > GROUP BY products.styleno
    > ORDER BY styleno ASC
    >
    > The Detail Recordset:
    > SELECT products.itemID, products.category,
    products.styleno,
    products.name,
    > products.description, products.ourprice,
    products.imageTH, products.image,
    > sizeoption.size, coloroption.color
    > FROM products, sizeoption, coloroption
    > WHERE itemID=colname AND
    products.styleno=sizeoption.styleno AND
    > products.styleno=coloroption.styleno
    >
    > I tried using the GROUP BY on the detail page, but then
    it only showed
    one
    > size and color from the dynamic drop down list. I tried
    changing the
    field
    > name "styleno" in the other tables to be unique,
    however, I was using the
    table
    > identifer. I tried using the JOIN command instead of the
    WHERE clause and
    that
    > didn't help either.
    >
    > On the detail page, the customer is supposed to click on
    the Size box and
    see
    > sizes XSM - 6XL ONLY ONE TIME. and then be able to click
    on the Color
    option
    > and see White, Black, Red ONE TIME.
    >
    > Is this possible?
    >
    > Thank you for giving your time to read this.!
    > Evie
    >
    >

  • DD 5.1 Surround Workflow to create TS file for Digital Cinema

    I need a little help.
    My objective is to create a test file for digital cinema. The client requires at the end a TS DD 5.1 mpeg HD file....
    I have tried creating the project in Premiere CS4, which is straight forward. The issue I have is in the export. I have been using the surcode plugin. The first question I have is in the routing of the channels. I can only seem to create a Premiere project with the layout of L,R,Ls,Rs,C,LSE where as the surcode only gives you the layout option of L,R,C,LSE,Ls,Rs, which I believe is the industry standard...so I have no idea if the plugin will read the channel allocation correctly.
    However, my bigger issue is that I'm not able to export a TS file from Premiere. There is an option to do so, but when I try that with the surcode plugin, the media encoder just crahses...
    I have been able to create a single 5.1 surround mpeg file from Premiere with the surcode plugin, but its of no use to the client..and I can't think of a way that would turn it into a TS file that would keep the 5.1 DD.
    I have many questions, and there are many things I don't understand...so if anybody is able help at all that would be wonderful.
    Many thanks

    What will be the playback medium of this file? How will you deliver the file? Will the client be playing the file on a computer, or on a Home Theater system? Does the client want, or need, a visual signal, as well, or it just the Audio signal that is important?
     The best delivery system that I can think of is to create your material in PrPro in a 5.1 SS Project. Unless the client is looking for just the Audio with no Video, handle the two as separate, in that once your mixing is done, you will Export the Audio as an MPEG file, in the AC3 format, with the DD 5.1 SS encoding from the Minnetonka Audio SurCode DD 5.1 SS plug-in. Export the visual material (Video) as a DV-AVI Type II elemental stream. Go to Encore, and Import the DV-AVI as a Timeline, then the AC3 as an Asset. From the Project Panel, drag the AC3 to the respective Timeline, and author a DVD. You can have menus for navigation, if needed, or just make the single Timeline your First Play, with no Menus. If you want it to Loop, set its End Action back to itself and it'll loop until the user hits Stop. Once the layout is as you wish, you have two choices: 
    Burn to a DVD disc for delivery, or Burn to Folder. The former will get your 5.1 Audio (and Video) onto a common DVD for play on the computer or in a Home Theater system. The latter will yield the VIDEO_TS folder with the necessary files contained within this folder. The Audio & Video will be in a .VOB format, but will be in MPEG-2 form. Note: this will be a DVD-Video disc, and playable in any DVD player. Whether one hears the Audio in stereo, or in SS, will depend on the capabilities of their playback system. Because it IS a DVD-Video it MUST contain Video. Now, this could be anything you choose, from Titles with instruction, to Black Video (I'd create this for real, rather than rely of purely the systhetic Black Video from Premiere - more on this, if you need it), to abstract patterns of your design, or choosing.
    Now, if one needed just the pure MPEG-2 file, outside of the VIDEO-TS structure for playback on a computer only, you could take the .VOB and rename its extension .MPEG, instead of .VOB. Still, the playback channels would be solely dependent on the equipment the file was played on. The software player might figure into this, as well, because it must have the capability to process DD 5.1 SS signals. Check out any software player that your client will be using. If you deliver the DVD-Video disc, mentioned above, a DVD software player will be required. Most computers today come with one, and most of these are DD capable, but again, it depends on the hardware on the computer, and how it's configured, that will determine if one hears the Audio in stereo, or in DD 5.1 SS.
    Before I launched off doing anything, other than editing and mixing, I would ask some very specific questions. As Harm points out, there is no TS "file," but a TS "folder." This would be a red flag for me, indicating that the client might be confused, or know just a little and not quite get the full picture. This would dictate to me, that I need to ask some other questions and phrase them in a way that yielded useful info and instructions to me.
    1.) Exactly what equipment will you wish to play this material (don't start talking files yet)?
    2.) Is this equipment capable of playing Dolby Digital 5.1 Surround Sound?
    From the answers to those two questions, you can then start filling in the blanks.
    If the client wants something to drop into a DVD player, hooked up to a DD 5.1 SS capable system, then you’re home free. If they want something that will play on a computer, Ask these questions:
    1.) What computer software will you use to play this material (still no mention of file)?
    2.) Is the computer equipped for DD 5.1 SS decoding and playback?
    These answers will direct you even more. If you get proper answers of, say CyberLink PowerDVD of #1 and "yes," for #2, go on to the next set of questions:
    1.) Can I deliver this material on a DVD-Video (the format and medium of commercial DVD’s)? Note: this will be a DVD that will play on a computer with proper software, or a Home Theater system, and will contain both Video and Audio. The client can turn the TV, or .computer’s monitor off, if they do not wish to view any Video signal, or you can create Black Video so there is nothing to see. With this delivery format, there has to be a Video stream, but it can be black.
    2.) Can I deliver this material on a Data DVD? Point out that a Data DVD will only play on a computer and not on a set-top player through the TV and a Home Theater’s Audio system. Some people do not know the difference, and you cannot trust your client to, unless you specifically ask them.
    If the answer to #1 is "no," and the answer to #2 is "yes," go on to the next question:
    If I deliver this material to you on a Datat DVD, will an MPEG-2 file with DD 5.1 SS be acceptable? If so, I'd still do the Burn to folder to get the .VOB and rename it to .MPEG. Test this file on your system. A .VOB can contain a lot of things, but yours was created with no Menu or other material, so it should be just the pure .MPEG-2 file. Still, test, before you deliver.
    Now, on the off chance that your client needs something like an SACD, or DVD-Audio, you will be shopping for software. Before you do, I’d post to the Adobe Encore forum and ask Neil Wilkes for his suggestions for the creation of DVD-Audio discs. Believe every word he types and follow his recommendations to the letter.
    Good luck, and if you need more detail, or other suggestions after you query your client, please ask,
    Hunt
    [Edit] I see that you also mention "HD." This will mean either a BD (Blu-ray Disc) for delivery, or a BD folder, Burned to a DVD-Video. If you will have HD Video material, your best going the full BD route. If you only will have Audio, the "HD" will not come into play. What exactly do you mean with the term "HD?" This can make a world of difference.
    [Edit 2] Sorry about the formatting in the second paragraph. I cannot seem to get it to display properly, though it looks perfect in the editing screen.

  • Creating a JButton for each line in a txt file

    I need to know how to creating a JButton for each line in a txt file then add an actionListener to the number of buttons (note they are in a JTable). Here is a clipet of code thanx for the help (note that this is one part of a program i am making there are 2 more classes. If u need them just ask) Thanx:
    class Diary extends JFrame implements ActionListener {
         private JTextArea note;
         private JTextField name;
         private JMenuBar menu = new JMenuBar();
         private JMenu file, edit, font, background, tcolor, settings, help;
         private JMenuItem nu, copy, paste, save, exit, b8, b10, b12, b14, b16, b18, b20, b24, b30, bblue, bred, bgreen, bpink, cblue, cred, cgreen, cpink, eset, nver, using, about;
         private String[] columnNames = {
              "File"
         private Vector dat = new Vector();
         private JTable filetable;
         public Diary() {
              setSize(new Dimension(500, 500));
              setTitle("Diary 2.00");
              file = new JMenu("File");
              menu.add(file);
              nu = new JMenuItem("new");
              nu.addActionListener(this);
              file.add(nu);
              file.add(new JSeparator());
              copy = new JMenuItem("copy");
              copy.addActionListener(this);
              file.add(copy);
              paste = new JMenuItem("paste");
              paste.addActionListener(this);
              file.add(paste);
              file.add(new JSeparator());
              save = new JMenuItem("Save");
              save.addActionListener(this);
              file.add(save);
              file.add(new JSeparator());
              exit = new JMenuItem("exit");
              exit.addActionListener(this);
              file.add(exit);
              edit = new JMenu("Edit");
              menu.add(edit);
              font = new JMenu("font");
              edit.add(font);
              b8 = new JMenuItem("8");
              b8.addActionListener(this);
              font.add(b8);
              b10 = new JMenuItem("10");
              b10.addActionListener(this);
              font.add(b10);
              b12 = new JMenuItem("12");
              b12.addActionListener(this);
              font.add(b12);
              b14 = new JMenuItem("14");
              b14.addActionListener(this);
              font.add(b14);
              b16 = new JMenuItem("16");
              b16.addActionListener(this);
              font.add(b16);
              b18 = new JMenuItem("18");
              b18.addActionListener(this);
              font.add(b18);
              b20 = new JMenuItem("20");
              b20.addActionListener(this);
              font.add(b20);
              b24 = new JMenuItem("24");
              b24.addActionListener(this);
              font.add(b24);
              b30 = new JMenuItem("30");
              b30.addActionListener(this);
              font.add(b30);
              background = new JMenu("background");
              edit.add(background);
              bblue = new JMenuItem("blue");
              bblue.addActionListener(this);
              background.add(bblue);
              bred = new JMenuItem("red");
              bred.addActionListener(this);
              background.add(bred);
              bgreen = new JMenuItem("green");
              bgreen.addActionListener(this);
              background.add(bgreen);
              bpink = new JMenuItem("pink");
              bpink.addActionListener(this);
              background.add(bpink);
              tcolor = new JMenu("text color");
              edit.add(tcolor);
              cblue = new JMenuItem("blue");
              cblue.addActionListener(this);
              tcolor.add(cblue);
              cred = new JMenuItem("red");
              cred.addActionListener(this);
              tcolor.add(cred);
              cgreen = new JMenuItem("green");
              cgreen.addActionListener(this);
              tcolor.add(cgreen);
              cpink = new JMenuItem("pink");
              cpink.addActionListener(this);
              tcolor.add(cpink);
              settings = new JMenu("Settings");
              menu.add(settings);
              eset = new JMenuItem("Edit Settings");
              eset.addActionListener(this);
              settings.add(eset);
              help = new JMenu("Help");
              menu.add(help);
              using = new JMenuItem("Using");
              using.addActionListener(this);
              help.add(using);
              about = new JMenuItem("About");
              about.addActionListener(this);
              help.add(about);
              help.add(new JSeparator());
              nver = new JMenuItem("new Versions");
              nver.addActionListener(this);
              help.add(nver);
              note = new JTextArea("");
              try {
                   BufferedReader filein = new BufferedReader(new FileReader("files.txt"));
                   String sfile;
                   while ((sfile = filein.readLine()) != null) {
                        //add buttons per each line of the txt file and show em
              catch (FileNotFoundException ioe) {
                   JOptionPane.showMessageDialog(null, "Iternal Error, contact [email protected] if the error persists", "", JOptionPane.WARNING_MESSAGE);
              catch (IOException ioe) {
                   JOptionPane.showMessageDialog(null, "Iternal Error, contact [email protected] if the error persists", "", JOptionPane.WARNING_MESSAGE);JOptionPane.showMessageDialog(null, "Iternal Error, contact [email protected] if the error persists", "", JOptionPane.WARNING_MESSAGE);
              String[][] data = new String[dat.size()][];
              for (int x = 0; x < dat.size(); x++) {
                   data[x] = (String[])dat.get(x);
              filetable = new JTable(data, columnNames);
              filetable.setPreferredScrollableViewportSize(new Dimension(100, 500));
              JScrollPane scrollpane = new JScrollPane(filetable);
              name = new JTextField("diary");
              JPanel main = new JPanel(new GridLayout(0, 1));
              getContentPane().add(note);
              getContentPane().add(name, BorderLayout.SOUTH);
              getContentPane().add(scrollpane, BorderLayout.WEST);
              setJMenuBar(menu);
         public void actionPerformed(ActionEvent e) {
              if (e.getSource() == nu) {
                   int nuask = JOptionPane.showConfirmDialog(Diary.this, "Are you sure you want to make a new entry?\nThis will erease any unsaved entry's!!");
                   if (nuask == JOptionPane.YES_OPTION) {
                        note.setText("");
                        note.setBackground(Color.WHITE);
                        note.setForeground(Color.BLACK);
              if (e.getSource() == copy) {
                   note.copy();
              if (e.getSource() == paste) {
                   note.paste();
              if (e.getSource() == save) {
                   try {
                        String sn = name.getText();
                    FileWriter outputStream = new FileWriter("saved/" + sn + ".txt");                            
                    setTitle("Diary 1.00 : " + sn);
                    outputStream.write(note.getText());
                    outputStream.close();
                catch(IOException ioe) {
                     System.out.println("IOException");
              if (e.getSource() == exit) {
                   int exitask = JOptionPane.showConfirmDialog(Diary.this, "Are you sure you want to exit? Any unsaved entries will be deleted");
                   if (exitask == JOptionPane.YES_OPTION) {
                        System.exit(0);
              if (e.getSource() == b8) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),8));
              if (e.getSource() == b10) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),10));
              if (e.getSource() == b12) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),12));
              if (e.getSource() == b14) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),14));
              if (e.getSource() == b18) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),18));
              if (e.getSource() == b20) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),20));
              if (e.getSource() == b24) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),24));
              if (e.getSource() == b30) {
                   note.setFont(new Font(note.getFont().getName(),note.getFont().getStyle(),30));
              if (e.getSource() == bblue) {
                   note.setBackground(Color.BLUE);
              if (e.getSource() == bred) {
                   note.setBackground(Color.RED);
              if (e.getSource() == bgreen) {
                   note.setBackground(Color.GREEN);
              if (e.getSource() == bpink) {
                   note.setBackground(Color.PINK);
              if (e.getSource() == cblue) {
                   note.setForeground(Color.BLUE);
              if (e.getSource() == cred) {
                   note.setForeground(Color.RED);
              if (e.getSource() == cgreen) {
                   note.setForeground(Color.GREEN);
              if (e.getSource() == cpink) {
                   note.setForeground(Color.PINK);
              if (e.getSource() == eset) {
                   new UserSettings().setVisible(true);
              if (e.getSource() == about) {
                   JOptionPane.showMessageDialog(null, "Created by Collin Doering 2005 in Gr.9\n\nErrors:\n------------------------------------------------------------------\n1. No File Encryption\n2. No user and password Encryption", "", JOptionPane.INFORMATION_MESSAGE );
              if (e.getSource() == nver) {
                   JOptionPane.showMessageDialog(null, "New Version |3.00| expected July, 2005\n\nNew Features\n----------------------------------------------\n1. File Encryption\n2. User File Encryption\n3. Full help dialog\n4. More Text changing features", "", JOptionPane.INFORMATION_MESSAGE);
              if (e.getSource() == using) {
                   JOptionPane.showMessageDialog(null, "Go ask Collin Doering\[email protected]", "", JOptionPane.INFORMATION_MESSAGE );
    THANK YOU

    so i still do not understand how i would create one
    button per each line in a txt flle then read in the
    file that the txt file specified.This assumes you know how many lines there are in the file.
    If not, modify as per my prior post
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    class Testing extends JFrame
      String[] linesInFile = {"Hello","World","Goodbye","Now"};
      JButton[] btn = new JButton[linesInFile.length];
      public Testing()
        setLocation(200,200);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        JPanel jp = new JPanel(new GridLayout(0,1));
        for(int x = 0; x < btn.length; x++)
          btn[x] = new JButton(linesInFile[x]);//<---this would be where file.readLine() goes
          jp.add(btn[x]);
          btn[x].addActionListener(new ActionListener(){
            public void actionPerformed(ActionEvent ae){
              JOptionPane.showMessageDialog(getContentPane(),ae.getActionCommand());}});
        getContentPane().add(jp);
        pack();
      public static void main(String[] args){new Testing().setVisible(true);}
    }

  • Create playback controls for Timeline in sync with audio?

    Hi All,
    Technically, I've combined two questions into one. Firstly, can someone offer some insight on how to create playback controls for an Edge animation so the user can essentially "scrub" the timeline or navigate to a specific point on the timeline. I know you can create buttons to "sym.play()" different areas but I was wondering if there was a more streamlined solution (something similar to video playback controls.) Next, I'd like the user to be able to skip to different locations while the music remains in sync with the animations. I've created a few buttons to attempt to achieve this but the music plays independently regardless of where I jump to on the timeline.
    Any help would be most appreciated.
    Thanks in advance!

    I had some ideas why that may be so, but then, when I thought about it, properly, i have no idea why it is that way. Maybe it is because audio has a higher priority than graphics, in OS X, but if I remember correctly, it was like this before OS X. Maybe there is an offset for latency compensation, but they made it too large. (it seems to be the same amount, no matter what the buffer size is)
    just to make sure we are seeing the same thing. on my (somehat old) G4 I'm seeing about 60ms difference.

  • Stop it from using photo black ink for black text printing and where has the color ink gone?

    My HP Photosmart Prem C310 series all in one is using the Black Photo ink cartridge for text printing instead of the XL Black that I put in it for text printing. How can I get it to use the right cartridge for printing? Also, even though I have NOT printed ANY photo's and very few pages of text the new set of color cartridges I put in it a few months ago are almost empty. Why? How could they be almost empty when I have NOT printed anything in color? This is getting ridiculous replacing ink cartridges every few months WHEN I HAVE NOT BEEN PRINTING ANYTHING!!!
    The set of ink cartridges that came with it lasted for several months. Since then I've gone through two sets in less than a year. That's 3 sets of ink cartridges when I have only printed 3 photo's when I first set it up. And have only used les than a 1/4 of one package of printing paper. I've only put paper in it twice. Each time it was about a 1/4 inch or 3/8 of an inch thick stack of paper in the tray. I've even tried shutting the printer down when its not being used for a long period of time but the ink is still disapearing. Where is it going? Why is it going there? How do I stop it? This is rediculous. I may as well junk the thing even though it still works because I cant aford to keep feeding it ink when its just sitting there doing nothing most of the time.
    Thank you
    This question was solved.
    View Solution.

    I just got another email from HP about this problem wanting to know what I found for a solution to this problem. From all of the suggestions from the HP tec support all of them pretty much kept saying the same thing. That it is my fault that it's using so much ink because I have it on the wrong settings. One tec did slip and say that it doesn't matter what settings you have it on it will always use the Photo Black cartridge for printing plain black text and it doesn't matter if you have a X-Large Black cartridge in it for text printing because it was made to always use the Photo Black for text and even use some of the colors to blend with the black to make it stand out. Why anybody would need this when just printing shipping labels and things like that I don't know.
    Any who, The only solution for this problem is,,,, junk the printer and get a different brand & model of printer. Research it before buying to find out how much ink it wants to waste and if it will still print black text if it only has a black cartridge in it. I was going to get rid of mine by giving it to a friend since they don't have a printer. But since I want to keep him as a friend I decided not to give it to him. Since it cant be traded in for a different one even though it still works, Its going to the target shooting range the next time I go out shooting. Maybe I'll take a few video's clips of it getting blasted to pieces with a Ruger 10-22 .22 cal. rifle with 25 shot clips, a Ruger Mini-14 Ranch Rifle shooting .223 cal with a 30 shot clip, a Chinese SKS 7.62 with a 30 shot clip. And maybe use my Ruger P89 9mm pistol and put a couple 15 round clips of 9mm in it. If there's anything left I'll finish it off with a few 3" magnum loads of #2 steel shot with my 20 gauge shotgun.  Then I think I'll do the same thing to my Westinghouse 46" flat screen HDTV that just died.
       Then maybe I'll come back and post the video's of my "solution to this printers problem". It may not fix the problem, but it will be an entertaining way of getting rid of the problem.

Maybe you are looking for

  • ITunes 6 wont open Need Help!!

    I recently installed the newest version of iTunes (6.0.4.2). Every time i try to launch it i get an error message that reads "iTunes has encountered a problem and needs to close" in the error report it says AppName: itunes.exe AppVer:6.0.4.2 ModName:

  • In Hyperion Planning, smart view does not work

    In Hyperion Planning, when viewing the form , the link icon to Smart View (to view the data in Smart View) at the top of the screen does not work. When I clicked on smart view icon on the top of the screen, Excel opened but there were no connection s

  • User Exit not getting triggered

    Dear all, we are creating a workflow for PR Release which needed release strategy customization. so we are trying to set the release stratagy by changing the communciation structure CEBAN-USRC1 field. for this, i had done the following things: 1. SMO

  • FInd Feature with scanned documents

    Hope someone can help. I have some documents that I am trying to scan so I can find specific numbers on the documents. I am scanning using a CanoSacan Lide 100 and it is capable of scanning in OCR and PDF files. Once the documents are scanned and I o

  • Xpress Music Series & FLAC Support?

    I would like to know if Nokia has considered making the Xpress Music Series support FLAC? I personally own a 5310 and would love to see FLAC support for these phones as well as the other Xpress Music Series. What are the possibilites here with this?