Dividing a Frame into regions

hi
I have created a java.awt.Frame and had added the swing components to it.I have not arranged the components on the Frame.How can i arrange it?(I have not used any Layout).Should i use Layouts?If so which Layout will be best suited?Is there any site which will say me about the Look and Feel of a Frame.
thanks

I have created a java.awt.Frame and had added the
he swing components to it.outch, don't mix awt and swing! create a javax.swing.JFrame and add swing components to it.
better start at reading the tutorials to get an idea what to do and how to do it...
thomas

Similar Messages

  • Need to divide my frame into panels

    hey all,
    I want to create two panels in the main frame i tried to do but, the two panels created with the same size, however i want one of them is norrow in in the buttom of the frame,
    how can i make the panels with different sizes??
    thanx

    Look up LayoutManager and other Layout classes in the API.

  • How to divide the iview into frames?

    Hi Experts,
                  Please tell me how to divide the iview into frames.Kindly provide the   steps.Its urgent.
    Regards,
    Nutan

    Hi Nutan,
    Now its clear!!
    If I understand right. You want an overview page full of links to go to your different pages?
    Or maybe you want a link form each page to go to another page?
    In Portal Navigation through hyperlinks is possible.
    You can either do that using EPCM.doNavigate("ROLES://...") {check for EPCM API of help.spa.com}
    Or you could do that by simple
    <a href="http://www.sdn.sap.com/irj/portal/myql">CLICK</a>
    {check for Quicklinks on help.sap.com}
    Either way you'll have to make a small JSP for that.
    Hope this helped
    If so kindly reward with points
    Prem

  • How to Convert frames into minutes and seconds

    Hi,
    does anyone know how to convert frames into time (minutes and
    seconds). I need the users to view the swf with current time being
    played and over time. I have 2152 frames in total and I want that
    to be converted to time. Can anyone help me on this. I would really
    appreciate it. It is very urgent!!!!
    Thanks

    Time Indicator,
    > does anyone know how to convert frames into time
    (minutes
    > and seconds).
    That depends entirely on the framerate of the movie. At the
    default
    12fps, 12 frames would be one second; 24 frames would be two.
    At 24fps, 24
    frames would be one second.
    > I need the users to view the swf with current time being
    played
    > and over time. I have 2152 frames in total and I want
    that to be
    > converted to time. Can anyone help me on this. I would
    really
    > appreciate it. It is very urgent!!!!
    Judging by your four exclamation points, I'd say it's
    definitely urgent!
    Well, again, if you're at 12fps, 2152 frames would take 179
    seconds, or 2
    minutes and 59 seconds. I arrived at that number by dividing
    2152 by 12.
    Keep in mind, though, framerate is actually more of a
    guideline than an
    exact figure. Framerate determines the rate at which Flash
    will *try* to
    display content. On an especially slow computer, the Flash
    Player may not
    be able to keep up, and the same number of frames might
    actually take more
    time.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Import sequence of frames into photoshop animation...ready to play.

    Hi guys, is there any way to get a sequence of frames into Photoshop and have the layer visibility set up to play straight away ?
    What I mean is, I'm using Bridge to import ....Tools > Photoshop > Load Files into Photoshop layers, and was wondering if the frame visibility could be automatically set to play the animation.
    Currently all the layers come in visible and I have to "Alt" click the layer visiblity in each frame....can be a pita with large anims.
    It would be cool if I imported frames 1 to 50 and PS set them up to play in order as imported.
    thanks

    It is....and one until now I wasn't aware of 
    Many thanks.

  • When I attempt to add a new key frame into the timeline it adds several frames to my animation

    I am trying to edit an FLV file with flash professiona.  Right now every frame is on long frame sequence, meaning that right now there is only one key fram in the entire 40 second animation.  I am trying to add put key frames at various points in my animation but when I attempt to add a new key frame into the timeline it copies ever frame up to the selected and adds it to the front of my timeline.  Any Idea how to fix this?  I want to break my video up so I can add some shape tweens in between some of the frames

    Extensions like IE View and IE Tab use IE and the IE rendering engine, so you are running IE.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How To Divide Source File Into Smaller Files Without Exporting?

    Hello Everyone,
    I'm a beginner with PPro CS4 and to video editing in general. I've done a lot of Googling and searching of these forums to get an answer to this question, but I haven't found a clear answer. Here's my problem:
    I have many hours of HDV footage shot over the past few years with a Canon HV30. This footage is on dozens of DV tape cassettes. I want to capture most of it to disk.
    When I capture a tape to disk, I get a single large mpeg4 file. (PPro captures all HDV footage to mpeg4.) "Scene select" doesn't work with the HV30, so my only other way to make smaller capture files would be to set In/Out points with batch capture. But this would mean hours of fast-forwarding and reversing with the VCR-like controls on the camera to review all the tapes and set the points. I thought it might be FASTER to simply capture an entire tape in one operation, THEN review the captured tape within PPro (it's much faster using the scrubber), and dividing that file into smaller files within PPro, thereby avoiding all the mechanical fast-forwarding and rewinding on the camera itself.
    But the only way I can find to do this seems to involve EXPORTING clips. Am I wrong to think that exporting a clip to a new file involves a degradation of the original mpeg4 source file? Or will there be no loss to the quality if I simply export to mpeg4 format?
    It seems there should be an easy way to simply divide the original capture into smaller source files for later editing, without putting the footage through another generation of processing (exporting), which might entail some loss of quality. Or am I wrong about this?
    (CS4 Master Suite, i7 3630k, 16GB RAM, C: 256GB SSD, D: 1T Setpoint F3, E: 1T Setpoint F3)

    HDV footage is mpeg2 (whats in a number ). CS4 does not do scene detect you need to use HDV split for that.
    http://strony.aster.pl/paviko/hdvsplit.htm.
    You can run your already captured files through hdv split and it will chop the file into clips and off you go.

  • I have old video clips in Photoshop Elements Organizer v12 for Mac.  I want to divide some of those clips in Organizer.  I can do that in Premiere Elements 12 and save them as "Projects" - but how do I get the divided clips back into Organizer?

    I have old video clips in Photoshop Elements Organizer v12 for Mac.  I want to divide some of those single clips into 2 or 3 separate clips, each shown separately in Organizer.  I can divide the clips in Premiere Elements Editor 12 and save them as "Projects" - but I can't find any way to get those divided clips back into Organizer.  Does anyone know whether that can be done?  Many thanks for your thoughts.

    What about Google Drive? And just share the folder with the family members.
    Erick

  • Dividing a project into two projects

    How do I divide my project into two projects so that I can burn it to a DVD? I have 2hrs 40 mins and this is too long. thanks!

    Go to the Project Library View and select your project.
    Then FILE/DUPLICATE PROJECT and give the duplicate a name like "your name - part 1".
    Then duplicate it again and give the duplicate a name like "your name - part 2"
    Now you can open "part 1" as a project and delete everything that is in part 2.
    Open "part 2" as a project and delete everything that is in part 1.

  • How do you get Premiere Pro CS4 frames into Photoshop

    Hi I am trying to modify a series of Premiere Pro Frames by coloring a small section of them in Photoshop 7. How do I pull those frames out of my timeline, get them into Photoshop, and then back into my timeline? I remember doing it with Premiere 6.5, but I can't figure out how to do it with CS4.

    Thanks guys, I'll take it from there.
    Terry Lee Martin
    Date: Wed, 2 Sep 2009 17:15:26 -0600
    From: [email protected]
    To: [email protected]
    Subject: How do you get Premiere Pro CS4 frames into Photoshop
    Yes, PS-Extended will make things a bit easier. While not perfect, it simplifies rotoscoping quite a bit.
    Good luck,
    Hunt
    >

  • How do I divide a page into 4, two rows and two columns?Dividing pages into 4?

    I am trying to create calling cards and need to divide a4 page into four.
    Any suggestions?

    Thanks for your help. I actually was able to divide into 4 sections in landscape layout by resizing 4 equal text boxes 4.25x5.50 with .25 " margins. I have not created a coupon yet. Will this format work or not. Also once I have created the coupon is there away to copy paste it with out losing the formatting. The last time I tried to do that it lost the formatting. Thanks again!

  • How do I divide a page into 4 equal sections?

    I am trying to make four coupons to a page. I need to know how to divide the page into four then create the coupon and hopefully there is a way to then copy paste it into the other 3 sections. Is there a template for this or do I start with a blank page in Pages? Thanks for your help!

    Thanks for your help. I actually was able to divide into 4 sections in landscape layout by resizing 4 equal text boxes 4.25x5.50 with .25 " margins. I have not created a coupon yet. Will this format work or not. Also once I have created the coupon is there away to copy paste it with out losing the formatting. The last time I tried to do that it lost the formatting. Thanks again!

  • Divide a number into random parts

    I need to divide a number into a collection of random parts. So that the sum of all parts is equal to the number.
    E.g.:
    public void divideRandomly ( int number, int parts)
    int[] returnArray = new int[parts];
    //do random division calculations
    return returnArray;
    Lets say the number = 20
    And parts = 4
    I would then like to return an array of ints containing e.g. 3, 11, 5, 1
    OR e.g. 4,8,2,6
    Does anyone have a clue as to how I could do this?
    Cheers

    Be aware that given the wrong parameters this solution
    can take a long time to find a list. This seems misleading, as the termination condition is based
    on randomness. Although, it is possible to predict an average
    termination time.
    Basically your algorithm starts by generating initial random values
    in the range [0, maxValue]. You limit the size of the maximum
    generated value, although I'm not sure why. Obviously maxValue
    has to be greater than sum / length, otherwise it would be
    impossible to generate any combination values that add up to sum.
    Then your algorithm asks if the sum of those initial random values
    is equal to the target sum. If not, you cycle through the list replacing
    the the current position with a new random value and updating the
    current sum.
    As an example, let's suppose that maxValue is equal to sum, and
    that sum = 1000, and length (numParts) is 4.
    Assuming the minValue is 1, not 0, then the total number of
    permutations of 4 numbers that add up to 1000 is:
    165,668,499
    However, the total number of permutations is:
    1000^4 = 1,000,000,000,000
    In terms of probability, the chance of finding a solution on each try is:
    165,668,499 / 1,000,000,000,000 = 0.000165668499
    Thus, you'll need approximately 6036 loops on average to find a solution for 1,000 split 4 ways.
    For 2,000 split 4 ways, number of perms is:
    2000^4 = 16,000,000,000,000
    The perms of 4 numbers that add up to 2000 is:
    1,329,336,999
    Probability of finding a solution on each try is:
    0.0000830835624375
    Average number of tries is: 12036
    I'm impressed that the random approach is that fast.

  • Need to Divide the string into multiple integers

    i have the String like below,that passed by user though one parameter.
    200 300 400 500 600(This come from one parameter as a String with space between each value).
    i need to use each above value in different column calculations.
    anybody help me how can i divide whole string into multiple integer values and use it in other calculations.
    Thanks in advance.

    You will need to use substr and instr functions to get each value. The instr function returns the location of a space in your parameter value..
    To get the first value, use this: <?xdofx:substr(AMOUNT,1,(Instr(AMOUNT,' ',1,1)-1))?>
    To get second value: <?xdofx:substr(AMOUNT,Instr(AMOUNT,' ',1,1)+1, (Instr(AMOUNT,' ',1,2)-1)- Instr(AMOUNT,' ',1,1)+1)?>
    To get third value: <?xdofx:substr(AMOUNT, Instr(AMOUNT,' ',1,2)+1, (Instr(AMOUNT,' ',1,3)- 1) -Instr(AMOUNT,' ',1,2)+1)?>
    and so on..
    Thanks,
    Bipuser

  • How  to divide an bytearray into chunks in java using streams

    how to divide an bytearray into chunks in java using streams

    i'm trying to read an image using fileinputstream then converting to bytearray after conversion i have to read that image chunk by chunk and write to a outputstream

Maybe you are looking for

  • No updating of local currency in F-90

    Hi I am booking one fixed assets vendor in F-90. I entered USD in header detail and entered 44.60 rate in header details. I entered 100$ in vendor line item and in asset line item and pressed enter. Rs.4460 was populated in "Amount in local currency"

  • I cant get it to turn off!

    Mu iphone 5 is burning battery like crazy.  I can't get it to stop -- I put it in lock, screen is dark, but it still runs warm and runs down the battery.  Auto lock is set to 5 min, and it locks.  I ran through an entire charge in 3 hours.  What am I

  • OModel Data and List BindItems message

    I have an sap.m.List that I aggregate with data from an oModel.  But I am coming back with this message that I see from SMP 2.3 logs because my List is empty; I've validated that the query is correct and does return data when I run this same query fr

  • How to attach douments in ABAP

    Hello, I would to attach a document to a BOR object and can not find one simple way to do that. We are trying to ATTACH SOME DOCUMENTS with the customer contact information as reference. can some one help me? thanks.

  • Adding frames in a slow-motion scène

    Hi I slowed my video down to a speed of 5% using the speed option & then I used the motion blur option to soften the transitions between the frames a bit. Its still kind of messy I think, is there a filter or anoption that adds new frames so the slow