Dynamic Window or Frame ??

Hi all, i want to make an application with a dynamic window. For example in powerpoint there are some effects.
what i want to do, window will open slowly from zero to full pozition at the right side of screen.
i looked into lots swings, but i couldnt find anything
is there a way to do something like that???
thanks.

import java.awt.Dimension;
import javax.swing.JFrame;
* To change this template, choose Tools | Templates
* and open the template in the editor.
public class NewClass extends JFrame{
    public NewClass() {
    setPreferredSize(new Dimension(100, 100));
    pack();
    show();
public static void main(String args[]){
    new NewClass();
}for example this code is a simple jframei how can a this frame start at right side of screen slowly.
but not move whole frame. it will open from zero size to max.
i want to use jframe or window not jdialog.

Similar Messages

  • Dynamic drawing on frames

    Hi,
    I would like to draw dynamically on displayed frames of a video. The program stops the video and lets the user draw. A previous "Draw on video" topic used an Effect to do this. Because the video is stopped, this won't work.
    Best would be using the setGlassPane() method. However, the heavyweight nature of JMF viewer prevents this from working (on Windows with performance pack). After much experimentation, I have abandoned this approach.
    Is there a way to get the current frame's contents and interact with the video frame just as you would with anything drawn in awt? Does the video frame have a Graphics object that is accessible? Can it be replaced with one that does?
    In the extreme case, I imagine the video going to an invisible buffer. This buffer is converted to an Image that displays. You can draw all over it. Then, the next frame is processed in a similar fashion. I can use standard methods to make the drawing dynamic.
    I will appreciate any insights and suggestions.
    Harry

    You can actually try using a lightweight component for your video by adding a line like this to your code:
    Manager.setHint(Manager.LIGHTWEIGHT_RENDERER, new Boolean(true));
    See http://java.sun.com/products/java-media/jmf/2.1.1/solutions/SwingJMF.html for all the cool details.
    Daniel Roth

  • Managing Multiple Dynamic Windows (AJAX/HTML)

    Looking for a little direction on managing multiple dynamic windows. Creating windows that can be identified, and altered potentially, from the main window. Also, testing to see if a window already exists.
    Any help in idenitifying windows would be great. Just looking for a little insight to get me going.
    Thanks

    I figured out a way around the dynamic window references. Not truly the ideal solution however it works. I essentially created an array just for window instances. On window creation, I add a reference to it within my window array. Then reference the array to see if the window reference exists. If so, then do nothing. If not, then I can create the new window. On close of the dynamically generated windows, I remove the reference to it from my window array.
    It works, but I feel this is not the most ideal way to do it. If there is another solution or approach that may be easier please feel free to add it.

  • How to create Dynamic Window in Smartforms

    Hi all,
    Could you please help me out on how to create Dynamic Window in smartforms excluding Main Window.
    Thanks in Advance.
    Vinay.

    hi,
    Hi,
    1.If you are creating the Different windows for the Countries,then In conditions tab of window specify the Condition i.e.
    company -code = '2201'.
    2.Then that window can trigger ofr that condition.
    3.Other wise, if you are using the different layouts ,then write the condition in Print program and call that form .
    reward me if helpful.

  • Acrobat XI full screen mode: how to hide the window control frame

    i mainly use Acrobat to prepare full screen presentations and training, and it is annoying not being able to hide the window control
    i previous versions the window control frame was always hidden / please bring this option back

    Thanks, but my ID CS6 is already set to open as a "normal window".  What I'm trying to resolve is the sizing and positioning of that "normal window".
    I found one older post (http://forums.adobe.com/message/4609791) from someone who has the same problem, and it looks as if their question was never resolved, either.  I haven't tried the script mentioned in the other message that has a link from that one.  Btw, I've never seen a Window > Application Frame option within InDesign CSx for Microsoft Windows.

  • Final Cut Pro -- Preview window drops frames

    this is quite annoying, basically the preview window drops frames and is quite slow? It seems the program window is unaffected. I have my local drive as the source drive and an external firewire drive as the scratch disk... Any further thoughts?
    IMAC 20" 2.16 Core 2 Duo
    1GB Ram

    If you are talking about the Canvas and Viewer windows... make sure that their size is set at FIT TO WINDOW Top left button in the viewer and canvas window.
    If you are talking about something else, please give us some more details.
    rh

  • How to create dynamic window in smartform

    <i>HI Floks</i>
    my requirement is invoice smartform having few line items .i can print this line items with different categories with dynamically placed in smartfom. there how many items with in particular category print its self . how is it possible to printing .is it possible to print dynamic fields and window without changing driver program and structure .How to create dynamic window.
    any body knows reply me fast
    thanks in advance ,
    suresh

    Hi suresh,
        You can create all the windows, but if you go to specific window you will see different tabs like general attributes, output options and conditions. In that conditions tab, you can give condition. so based on that condition, that window will be printed.
    Dont forget to reward points if helpful.
    regards,
    Chandra.

  • Submit Multiple Job Definitions/Job Chains with same Time window/Submit frame in mass

    Hi,
    We have a requirement to submit multiple Job Definition/Job Chains which are part of common Time Window/Submit frame/Queue....
    Ex. We have over 50+ different jobs/job chains which will runs Monday to Friday for every 2 hours on same Queue "XXX_Queue".  Instead of submitting each job/job chain manually, we would like to know if we could use any script that can achieve our requirement? since we have couple of other jobs which fall under same scenarios...
    We are on M33.104 version. Please let me know if any one has any scripts or alternate way of submitting multiple jobs/job chains in mass.
    Thanks in advance!
    Nidhi.

    Hi Nidhish,
    Here is some code to set some stuff on a job:
    //Get the partition, for global this is not necessary as global is default
    Partition part = jcsSession.getPartitionByName("GLOBAL");
    //Get the job definition
    JobDefinition jobdef=jcsSession.getJobDefinitionByName(part, "System_Info");
    //Get the submit frame
    SubmitFrame sf = jcsSession.getSubmitFrameByName(part, "SF_Every_Year");
    //Get the time window
    TimeWindow tw = jcsSession.getTimeWindowByName(part, "System_Week_WorkingHours");
    //Set the start time
    DateTimeZone dtz = new DateTimeZone(2015, 10, 18, 15, 0, 0, 0);
    //Get the Queue
    Queue SystemQ=jcsSession.getQueueByName(part, "System");
    //Create the Job
    Job infoJob=jobdef.prepare();
    //Attach queue to job
    infoJob.setQueue(SystemQ);
    //Attach submit frame, time window, start time
    infoJob.setSubmitFrame(sf);
    infoJob.setTimeWindow(tw);
    infoJob.setRequestedStartTime(dtz);
    //Print out the jobid of the job
    jcsOut.println(infoJob.getJobId());
    //Submit the job
    jcsSession.persist();
    Regards,
    HP

  • How to Create Always on Top Window OR Frame

    hi i m hasan, i m using windows 98, and i want to know that how to create a Window OR Frame, which should remain always on top. In windows 98 by pressing windows+D key hides all windows and dailog boxes. But I want it should remain always on top even if some one press windows+D key it should not be minimized.

    Try this code. It should be work on all windows which are inherited from java.awt.Window
    * Call this from class consructor
    public void initialize() {
    TopThread top = new TopThread();
    top.start();
    * Keep JWindow on top (inner class)
    class TopThread extends Thread {
    public void run() {
    while(true) {
    toFront();
    * Let 10 milliseconds for other code to execute
    try {
    Thread.sleep(10);
    catch(Exception e) {
    // Nothing to do

  • SMARTFORM DYNAMIC WINDOW

    HI ALL,
    >>> Is it possible to create Dynamic window in SMARTFORM?
    >>> How it is possible? ( Window may be set as per TEXT size )
    Thanks With Regards

    22

  • Multiple window's/frames

    Hello,
    I am trying to create a quiz for my web site. I have only been able to do this so far by using swing. Only trouble is, I can't get swing to work on my web page, even after using the converters.
    Therefore, I thought i would try to use multiple windows/frames, connected by a series of buttons, but i don't know how to do it. Please help
    Berry

    Try using labels/uneditable textfields to display the question, and a textfield to recieve an answer. You can use the setText() method to change the label, and use some sort of an index number to keep track of which question they're on. You can store their answers in an array, or just dynamically edit a score value. Here's a quick example:
    public class Quiz extends Applet implements KeyListener
    {    int score = 0;
         int curQuestion = 1;
         Label theQuestion = new Label("");
         TextField answerBox = new TextField(20);
         String[] questionString = new String[##];
         public void loadQuestions()
         {    ...   //Load the questions from a file or something
         public void init()
         {    loadQuestions();
              add(theQuestion);
              add(answerBox);
         public void keyPressed(KeyEvent evt)
         public void keyReleased(KeyEvent evt)
         public void keyTyped(KeyEvent evt)
         {    if (evt.getKeyChar() == '\n' | evt.getKeyChar() == '\r')
              {   //Check to see if answer is right
                   //Update score
                   answerBox.setText(""); //Clear the answer boc
                   theQuestion.setText(questionString[curQuestion]);
                   curQuestion++;
                   repaint();
          }

  • HTML Document: How to open in IE window without frame?

    Dear SDN members,
    We have created some HTML help documents for our ESS users. We added an icon to the different ESS WD iViews and when clicked, these icons link to the HTML file with the help text in it.
    Please see what I mean in the next screenshot:
    http://tweakers.net/ext/f/pq1y8uVy7mICDwDLU0LS4Foz/full.jpg
    My question is: How can I make sure that when the icon is clicked, the HTML document is opened in a new IE window, but without frame? So no toolbars, address, etc.
    Does anyone have an idea? Any help will be highly appraciated an points will be awarded.
    Thanks in advance and best regards,
    Jan Laros

    BUMP. Any suggestions?
    Ihave managed to fix this using JavaScript in a KM text document. This Script links to an HTML document with the correct texts. In the script I can give the properties of the popup, but this is not working on our QAS systems with Reverse Proxy and SSL configured. Any help is highly appreciated.
    Best regards,
    Jan
    Edited by: Jan Laros on Mar 4, 2008 2:24 PM

  • Custom Windows and Frames in Java - Help

    Hello, I'm begining a Java class in school and Ive been wondering how to get rid of these boring windows. For example I want to turn something like this:
    to something like this:
    I realize theyre 2 different programs. Im simply asking how I may draw and implement my own frames on windows along with background images/colors.
    Thanks in advance~

    Have a look at http://www-128.ibm.com/developerworks/java/library/j-iframe/ which allows you to override all of the decorations associated with frames.

  • How to use 2 windows in frame

    Hello
    im new to java or java GUI , im trying to build simple app
    that contains splitpane in the left there is JTreee and in the
    right i need to be able to open 2(or more in the further) frames/window
    some thing like this...
    say i pressed "new" in the menubar(o yes.. i have menu bar)
    it will open me new frame in the right side of the split pane
    but when i press on one of the left side tree branches it will open me
    the second window in the right side of the splitpane ...
    the data from the branches will always loud in the same frame and not
    open/create new one.
    the same is with the "new" function.
    im only asking what is the best way or method to accomplish this task
    thanks allot

    Use a JPanel with BorderLayout... in WEST, put your JTree. In CENTER, put a JDesktopPane. That will give you the ability of adding frames as you like. The frames will be instances of JInternalFrame. You can set them unresizeable, see online doc for details.
    Hope this helped,
    Regards.

  • How to create dynamic windows in smartforms

    Hi All,
    i am creating a smartform wherein i have to print different layout for different company codes,
    like if the company code belongs to an Indian company then i need to display cost center window. so can you please guide me through the procedure to create windows dynamically.
    thanks in advance
    pooja.

    U can create different layouts for different company codes.
    Declare a variable p_bukrs i.e. company code form interface.
    Made u r window as condition like in the condition tab.
    p_bukrs = '1000'.
    Then it will call corresponding to the company code.
    or
    u can create different forms for different company code and u can differentiate in the driver program.
    if p_bukrs = '1000'.
    call function ssf .
    if p_bukrs = '1500'.
    call
    endif.
    with regards,
    Kiran.G

Maybe you are looking for

  • Airplay causing MacBook Pro to overheat

    When I AirPlay video from the MacBook Pro to the tv, it overheats (fan goes like mad and won't turn off) but if I watch the exact same video on the monitor, it is fine. Do I have a setting wrong here, or is there something that I can do to help with

  • My broser is redirected to another site

    After I do a Google search on a topic and click on a website from the search list my browser says; submit : Query and then I'm redirected to http://aconymfinder.com, which is not the site address I clicked on. I'm using windows XP professional with s

  • Error making recording offline

    I have tried doing "make offline" on multiple recording, on multiple computers and keep having the same error: About 1 minutes into the recording, the video becomes very narrow, messing up the aspect ratio and making it unwatchable. I'm not able to t

  • Sybase System 11 Migration to Oracle 8i

    We are trying to migrate a Sybase system 11 database to Oracle 8.1.5 using the Migration Workbench tool. Some tables contain more than 20 million records. Is it possible to break the data migration so that we can exclude som e tables from the migrati

  • Yosemite Mail freezes when importing mailboxes

    Dear all, I just updated my Mac to Yosemite. I did a fresh install (erased disk and then restore documents and data with Time Machine) and installed all updates. Everything is working flawlessly except Mail. I can't make it run. Every time I opened i