Making Multiple Panels invisible and visible

So I have this problem, Im trying to make different panels visible and invisible by the means of a button. I believe my code is sound, but its not working. I would really appreciate it if someone were to look at my code and solve this problem. Basically my button isnt working.
import java.awt.image.*;
import java.awt.geom.*;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import java.util.Scanner;
public class panels extends JFrame
private JPanel panel1, panel2, panel3, panel4;
private JLabel title;
private JButton test;
public panels ()
setSize (400,800);
JButton test = new JButton ("test");
title = new JLabel ("");
JPanel panel1 = new JPanel();
panel1.setPreferredSize(new Dimension(200,200));
panel1.setLayout (new GridLayout(5,2));
panel1.setBackground(Color.black);
JPanel panel2 = new JPanel();
panel2.setPreferredSize(new Dimension (200,200));
panel2.setBackground(Color.red);
JPanel panel3 = new JPanel();
panel3.setPreferredSize (new Dimension (200,200));
panel3.setBackground(Color.orange);
JPanel panel4 = new JPanel();
panel4.setPreferredSize(new Dimension (200,200));
panel4.setBackground(Color.green);
Container container = getContentPane ();
container.setLayout (new GridLayout(4,1));
container.setBackground (Color.white);
container.add(panel1);
panel1.add(test);
container.add(panel2);
container.add(panel3);
container.add(panel4);
ButtonHandler handler = new ButtonHandler ();
test.addActionListener (handler);
setVisible (true);
public static void main (String args[])
panels application = new panels ();
private class ButtonHandler implements ActionListener
public void actionPerformed (ActionEvent event)
if (event.getSource () == test)
panel1.setVisible(true);
panel2.setVisible(false);
panel3.setVisible(false);
panel4.setVisible(false);
}

Take a look at this example and you will see that your code is missing a few things.
http://www.javaprogrammingforums.com/java-swing-tutorials/278-how-add-actionlistener-jbutton-java-swing.html
There are plenty of examles on the web of how to do that
http://www.youtube.com/watch?v=GvTZ2Huo0T4

Similar Messages

  • Invisible and Visible

    I want my user to select one of three radio buttons and have a drop down list appear as a result. For each selection there is a separate drop down list.
    Each drop down is invisible; selection of radio button determines which drop down becomes visible.
    I cannot make the drop down list visible when I click on a radio button.
    My code (in the on click event at the radio butoon)is
    --> form1.page1.DropDownListX.presence == "visible" <-- end code, where "DropDownListX" is the drop down list I want visible.
    Can some kind and helpful person here aid me please?
    Thanks,
    Chris

    Let's say you create a new radio button group by dragging three radio buttons onto a form. Then you place a drop down list next to each button, name these drop down lists "DropDownListX" where "X" is 1-3 and make them invisible by setting the Presence property on the Object palette's Field tab to
    invisible. You can achieve the effect you're looking for by placing the following code on each radio button's Click event (in FormCalc):
    DropDownList1.presence = "visible"
    DropDownList2.presence = "invisible"
    DropDownList3.presence = "invisible"
    Of course, this is the code for the first radio button which, when clicked, will show DropDownList1. I chose FormCalc here because it was a simple script but you could just as easily do the same in JavaScript:
    DropDownList1.presence = "visible";
    DropDownList2.presence = "invisible";
    DropDownList3.presence = "invisible";
    The only difference, in this case, is the mandatory semicolon at the end of each line.
    Stefan
    Adobe Systems

  • Make a Panel disappear and appear again

    Hi Team
    I have a frame with Grid Layout where I have 3 Panels - P1, P2 and P3. I want that on the click on a button "+" P2 should disappear and P1 and P2 should align together. Again when the user click "-" button, P2 panel should appear again in its place between P1 and P3.
    The problem with the visible(false) method is that it makes P2 Panel disappear but the space between P1 and P3 panels is still there.
    Could anybody help me with this trivial issue
    Thanks,
    Mo

    user13019661 wrote:
    Hi Team
    I have a frame with Grid Layout where I have 3 Panels - P1, P2 and P3. I want that on the click on a button "+" P2 should disappear and P1 and P2 should align together. Again when the user click "-" button, P2 panel should appear again in its place between P1 and P3.
    The problem with the visible(false) method is that it makes P2 Panel disappear but the space between P1 and P3 panels is still there.
    Could anybody help me with this trivial issue
    Thanks,
    MoIn stead of making the panel invisible, remove it from the frame and trigger the frame to layout again (for example by calling pack() or revalidate()).

  • Components going awry once made invisible and then back to visible....:(

    Hi everybody out here...........this is my 1st post here n am looking forward to getting my queries answered perfectly through your expertise..........:)
    actually i was trying my hand at making JToolBar s invisible n then back to visible again through clicking a particular JMenuItem in the window. It was working great till I made them to be visible again after making them invisible first. The moment i clicked onm the JMenuItem to make it visible again, it seemeed like nothing happened. but once I brought the cursor to the toolbar region, the buttond on it started appearing as I hovered the mouse over them.
    My query is, why are the buttons not being visible when I make the toolbar to appear again?
    I searched the forum regarding this particular problem and found a few posts but thanks to my 'overwhelming knowledge' in java, i failed to understand what I need to do..........do i need to validate? what about the drawComponents() method?
    plsss help me out of this problem...........awaiting your response....:)
    regards.

    this is my 1st post here n am looking forward to getting my queries answered perfectly through your expertiseWell, then now is a good time to learn the better way to ask a question is you want the best possible answer.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • Making invisible folders visible

    How do i make invisible folders visible?

    Open the AppleScript Editor in the /Applications/Utilities/ folder and run the following exactly as written below:
    tell application "Finder" to quit
    do shell script "chflags nohidden " & quoted form of POSIX path of (choose folder with invisibles)
    delay 2
    tell application "Finder" to run
    To change the global setting instead of making single items visible, replace the second line with:
    do shell script "defaults write com.apple.finder AppleShowAllFiles 1"
    (89379)

  • I am making a multiple page document and need some pages to be landscape and others to be portrait.  How can I do this?

    I am making a multiple page document and need some pages to be landscape and others to be portrait.  How can I do this?

    In pages you can only have one orientation of the Page. You have to rotate the content on the pages that you want horizontal. Save the document in Pages format so you'll have a original version to work on. Then Export to or Print to PDF and open the document in Preview. Here you can rotate the pages to horizontal viewing.

  • Getting multiple panels in one extension

    Hi,
    I'm having trouble setting up multiple panels in my extension. I've seen similar posts on here but what fixed it for them doesn't seem to solve it for me!
    My first panel appears fine, but clicking the menu option for the second one does nothing.
    I have a WidgetBoss for each:
              Class
                        kPanelAWidgetBoss,
                        kPalettePanelWidgetBoss,
                      IID_IPANELMENUDATA, kCPanelMenuDataImpl,
              Class
                        kPanelBWidgetBoss,
                        kPalettePanelWidgetBoss,
                      IID_IPANELMENUDATA, kCPanelMenuDataImpl,
    ALocaleIndex for each:
    resource LocaleIndex (kPanelAResourceID)
              kViewRsrcType,
                        kWildFS, k_Wild,           kPanelAResourceID + index_enUS
    resource LocaleIndex (kPanelBResourceID)
              kViewRsrcType,
                        kWildFS, k_Wild,           kPanelBResourceID + index_enUS
    A separate PanelList for each:
    resource PanelList (kPanelAResourceID)
                        // 1st panel in the list
                        kPanelAResourceID,
                        kPluginID,
                        kNotResizable,
                        kPanelAWidgetActionID,
                        kPanelAMenuPath,
                        kPanelAMenuItemPosition,
                        0,0,
                        c_Panel,
    resource PanelList (kPanelBResourceID)
                        // 2nd panel in the list
                        kPanelBResourceID,
                        kPluginID,
                        kNotResizable,
                        kPanelBWidgetActionID,
                        kPanelBMenuPath,
                        kPanelBMenuItemPosition,
                        0,0,
                        c_Panel
    A type definition:
    type PanelAWidget(kViewRsrcType) : PalettePanelWidget(ClassID = kPanelAWidgetBoss)
              CPanelMenuData;
    type PanelBWidget(kViewRsrcType) : PalettePanelWidget(ClassID = kPanelBWidgetBoss)
              CPanelMenuData;
    And a definition for the resource itself:
    resource PanelAWidget(kPanelAResourceID + index_enUS)
              __FILE__, __LINE__,                                                  // Localization macro
              kPanelAWidgetID,                                        // WidgetID
              kPMRsrcID_None,                                                            // RsrcID
              kBindNone,                                                                      // Binding (0=none)
              0, 0, 207, 95,                                                            // Frame: left, top, right, bottom.
              kTrue, kTrue,                                                            // Visible, Enabled
              kFalse,                                                                                // Erase background
              kInterfacePaletteFill,                                        // Erase to color
              kFalse,                                                                                // Draw dropshadow
              kPanelATitleKey,                                        // Panel name
              kInternalPopupMenuNameKey                    // Popup menu name (internal)
    resource PanelBWidget(kPanelBResourceID + index_enUS)
              __FILE__, __LINE__,                                                  // Localization macro
              kPanelBWidgetID,                                        // WidgetID
              kPMRsrcID_None,                                                            // RsrcID
              kBindNone,                                                                      // Binding (0=none)
              0, 0, 207, 95,                                                            // Frame: left, top, right, bottom.
              kTrue, kTrue,                                                            // Visible, Enabled
              kFalse,                                                                                // Erase background
              kInterfacePaletteFill,                                        // Erase to color
              kFalse,                                                                                // Draw dropshadow
              kPanelBTitleKey,                                        // Panel name
              kInternalPopupMenuNameKey                    // Popup menu name (internal)
    PanelB is nowhere to be seen.
    I guess I'm missing something obvious. Can anyone help?
    Thanks
    Liz

    Hi
    I just copied that into my plugin and it seems to be correct.
    Bellow you can find change log from my plugins.
    Regards
    Bartek
    1. Claas definitions
        Class { kPanelAWidgetBoss, kPalettePanelWidgetBoss,
            {   IID_IPANELMENUDATA,             kCPanelMenuDataImpl,                       }},
        Class { kPanelBWidgetBoss, kPalettePanelWidgetBoss,
            {   IID_IPANELMENUDATA,             kCPanelMenuDataImpl,                       }},
    2. PanelList definitions:
    resource PanelList (kPanelAResourceID)
            // 1st panel in the list
            kPanelAResourceID,
            kMYUIPluginID,
            kNotResizable,
            kPanelAWidgetActionID,
            "AAA",
            kPanelAMenuPath,
            kPanelAMenuItemPosition,
            0,0,
            c_Panel,
    resource PanelList (kPanelBResourceID)
            // 2nd panel in the list
            kPanelBResourceID,
            kMYUIPluginID,
            kNotResizable,
            kPanelBWidgetActionID,
            "BBB",
            kPanelBMenuPath,
            kPanelBMenuItemPosition,
            0,0,
            c_Panel
    3. Layout definitions
    resource PanelAWidget(kPanelAResourceID + index_enUS)
        __FILE__, __LINE__,                                                  // Localization macro
        kPanelAWidgetID,                                        // WidgetID
        kPMRsrcID_None,                                                            // RsrcID
        kBindNone,                                                                      // Binding (0=none)
        0, 0, 207, 95,                                                            // Frame: left, top, right, bottom.
        kTrue, kTrue,                                                            // Visible, Enabled
        kFalse,                                                                                // Erase background
        kInterfacePaletteFill,                                        // Erase to color
        kFalse,                                                                                // Draw dropshadow
        kPanelATitleKey,                                        // Panel name
        kMYUIInternalPopupMenuNameKey                    // Popup menu name (internal)
    resource PanelBWidget(kPanelBResourceID + index_enUS)
        __FILE__, __LINE__,                                                  // Localization macro
        kPanelBWidgetID,                                        // WidgetID
        kPMRsrcID_None,                                                            // RsrcID
        kBindNone,                                                                      // Binding (0=none)
        0, 0, 207, 95,                                                            // Frame: left, top, right, bottom.
        kTrue, kTrue,                                                            // Visible, Enabled
        kFalse,                                                                                // Erase background
        kInterfacePaletteFill,                                        // Erase to color
        kFalse,                                                                                // Draw dropshadow
        kPanelBTitleKey,                                        // Panel name
        kMYUIInternalPopupMenuNameKey                    // Popup menu name (internal)
    4. Locale definitions
    resource StringTable (350 + index_enUS)          // No-Translate strings go here:
    {   k_enUS,  kEuropeanMacToWinEncodingConverter, // Locale Id, Character encoding converter
              {          kMYUIInternalPopupMenuNameKey,          kMYUIInternalPopupMenuNameKey,
    resource LocaleIndex (kPanelAResourceID)
    {   kViewRsrcType,
        {   kWildFS, k_Wild,           kPanelAResourceID + index_enUS
    resource LocaleIndex (kPanelBResourceID)
    {   kViewRsrcType,
        {   kWildFS, k_Wild,           kPanelBResourceID + index_enUS
    5. Type definitions:
    type PanelAWidget(kViewRsrcType) : PalettePanelWidget(ClassID = kPanelAWidgetBoss)
        CPanelMenuData;
    type PanelBWidget(kViewRsrcType) : PalettePanelWidget(ClassID = kPanelBWidgetBoss)
        CPanelMenuData;
    6. Other definitions:
    // Boss classes:
    DECLARE_PMID(kClassIDSpace,             kPanelAWidgetBoss,                  kMYUIPrefix + 7 )
    DECLARE_PMID(kClassIDSpace,             kPanelBWidgetBoss,                  kMYUIPrefix + 8 )
    // Action IDs:
    DECLARE_PMID(kActionIDSpace,            kPanelAWidgetActionID,              kMYUIPrefix + 12)
    DECLARE_PMID(kActionIDSpace,            kPanelBWidgetActionID,              kMYUIPrefix + 13)
    // Widget IDs:
    DECLARE_PMID(kWidgetIDSpace,             kPanelAWidgetID,                    kMYUIPrefix + 10)
    DECLARE_PMID(kWidgetIDSpace,             kPanelBWidgetID,                    kMYUIPrefix + 11)
    #define kPanelAMenuPath            ""
    #define kPanelBMenuPath            ""
    #define kPanelAMenuItemPosition   0.0
    #define kPanelBMenuItemPosition   0.0
    #define kPanelATitleKey         "AAA"
    #define kPanelBTitleKey         "BBB"
    const RsrcID kPanelAResourceID            =    700  + 50;
    const RsrcID kPanelBResourceID            =    700  + 51;

  • Content OF  Panel Is Not Visible. Need Help

    Hi Guys,
    Can someone tell me why the contents of the "VisPanel" (JPanel) class is not showing up in the main window. I just don't understand why it is not visible after i add it to the main window.
    Here is the code. You can test it. Only the button shows up. The contents of "VisPanel" class is not visible.
    Replace the images in the "VisPanel" class with any image of your choice. I made them 130 X 130. I would have like to add the images in the post but i don't think it is possible to add images to post in this forum.
    public class TilesImage extends JFrame{
         private static final long serialVersionUID = 1L;
         public TilesImage(){
                this.setLayout(new GridLayout(2,1));
                this.setSize(600,600);
                this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                VisPanel vis = new VisPanel();
                JPanel pana = new JPanel();
                pana.add(vis);
                BufferedImage sub = vis.getImg().getSubimage(261, 260, 129, 129);
               JButton but = new JButton(new ImageIcon(sub));
               pana.add(but);
               this.add(pana);
               this.setContentPane(pana);
               this.setVisible(true);
               repaint();
           public static void main( String[] args ) {
                 new TilesImage();
                 //new VisPanel();
    class VisPanel extends JPanel{
          private static final int IMAGE_TYPE = BufferedImage.TYPE_INT_ARGB;
           private BufferedImage img;
          public VisPanel() {
                 // here you should create a compatible BufferedImage
                 //img = new BufferedImage( 450, 350, IMAGE_TYPE ); 
                 img = new BufferedImage( 525, 500, IMAGE_TYPE );
                     this.setSize(img.getWidth(), img.getHeight());    
                 final int NB_TILES = 4;
                 BufferedImage[] tiles = new BufferedImage[NB_TILES];
                 tiles[0] = createHorizontalRail( new Color( 255, 255, 255 ) );
                 tiles[1] = createVerticalRail( new Color( 255, 255, 255 ) );
                 tiles[2] = createCrossing( new Color( 255,   0, 255 ) );
                 final int[][] map = new int[][] {
                             {4, 4, 1},    
                               {4, 4, 1},
                               {0, 0, 2},
                               {4, 4, 4}, 
                 for (int i = 0; i < map[0].length; i++) {
                       BufferedImage tile = null;
                     for (int j = 0; j < map.length; j++) {
                          if(map[j] == 0){
                   tile = tiles[0];
                   for (int x = 0; x < tile.getWidth(); x++) {
              for (int y = 0; y < tile.getHeight(); y++) {
              img.setRGB( x + i * 130, y + j * 130, tile.getRGB(x,y) );
                   //img.setRGB( x + i * 45, y + j * 32, tile.getRGB(x,y) );
              } if(map[j][i] == 1){
                   tile = tiles[1];
                   for (int x = 0; x < tile.getWidth(); x++) {
              for (int y = 0; y < tile.getHeight(); y++) {
              img.setRGB( x + i * 130, y + j * 130, tile.getRGB(x,y) );
              if(map[j][i] == 2){
                   tile = tiles[2];
                   for (int x = 0; x < tile.getWidth(); x++) {
              for (int y = 0; y < tile.getHeight(); y++) {
              img.setRGB( x + i * 130, y + j * 130, tile.getRGB(x,y) );
         this.setVisible( true );
         private BufferedImage createHorizontalRail( final Color c ) {
         final Random r = new Random();
         BufferedImage img = null;
         try {
         img = ImageIO.read(new File("images/crossingsHorizontal.JPG"));
         } catch (IOException e) {
         return img;
         private BufferedImage createVerticalRail( final Color c ) {
         final Random r = new Random();
         BufferedImage img = null;
         try {
         img = ImageIO.read(new File("images/crossingsVertical2.JPG"));
         } catch (IOException e) {
         return img;
         private BufferedImage createCrossing( final Color c ) {
         final Random r = new Random();
         BufferedImage img = null;
         try {
         img = ImageIO.read(new File("images/railCrossing2.JPG"));
         } catch (IOException e) {
         return img;
         public void paintComponent(Graphics g) {
         g.drawImage(img, 0, 0, null);
              public BufferedImage getImg() {
                   return img;
              public void setImg(BufferedImage img) {
                   this.img = img;
    Thanks for your help.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    kap wrote:
    The "pana" panel must contain both the contents of the "VisPanel" panel and the button i created. So it is correct to set the contenPane to the "pana" panel. I tried to set the content pane to the "VisPanel" panel. It is visible but the button i added to the "pana" panel cannot be visible.
    I hope you understand what i mean here.He understands exactly what you mean and has pointed out your mistake and offered a decent solution. I suggest you take his advice and set the layout of pana not the JFrame.

  • JavaScript to make button invisible button visible again

    Hi
    I have been trying to create a form in LiveCycle Designer (part of Acrobat Pro ) that keeps a button (call it #1)invisible until another button (call it #2) is clicked, at which click event the invisible button(#1) becomes visible. I've been using JavaScript and either setting the #1's presence as "invisible" in the object editor or scripting it as a formready event presence = "invisible". I've scripted in the click event for #2: #1.presence = "visible". This doesn't work to get #1 to show on #2's click. I've tried a few more similar script with no success.
    I'm relatively new to Designer, though have some experience with JS.
    Is there another way to script to initially make an object "invisible" and get it to become visible by a runtime event?
    I would appreciate any help.
    Kind Regards,
    Stephen

    Template needs to be saved as Dynamic in order to see those dynamic features working. You have that saved as Dynamic and still have no luck try the following....
    #1.presence = "visible";
    xfa.layout.relayout();
    Note: 1. A button name can not start with "#" hope you are using some meaningful names.

  • Making a button invisible with ActionSctript 3?

    I have one button instance that stretches across many frames, and I would like to make it invisible in some of the frames and visible in others. How do I do this with ActionScript 3?
    thanks

    Couldn't wait, eh!... kidding... btnName.visible = true;  btnName.visible = false;

  • Why am I getting the flag Invalid URL for web content overlay when making scrolling panel in Indesig

    Why am I getting the flag 'Invalid URL for web content overlay" when making scrolling panel in Indesign? Iam making additions to existing articles but the problem is new. The articles were originally made using CS and now I am on CC, which I have just uninstalled and re installed, no difference, can anyone help please? Steve

    Hi Bob, thankyou very much for coming back on this. The flag is coming up towards the end of the preview process on desk top. I have made dozens if not hundreds on my two published apps on the app store, but have not done an update for nearly a year, in which time I have needed a refresher, and as usual went to Lynda. In this case I have followed to the letter your DPS course, which is great, and I found the process of making the scrolling panels somewhat easier than when I started 2-3years ago. Initially I was mystified that the flag talked about url and web content, but just put it down to something I had missed in recent improvements in CC.
    I tried over and over, but always got the same result. I thought at one point it might be because the content of my slide was copy and photo, so for a test I deleted the photo. Same result, and many of my existing slides are copy and picture.
    I also uninstalled Indesign CC and reinstalled in case of corrupted content, I also copied to IDML and relaunch, same problem. I am sure I have made the scrolling content as instructed, The one thing I havn't done is trash my preferences, if you think that would be a good Idea could you please direct me to some content at Lynda on how to do it in CC. Many thanks, Steve

  • I am making multiple DVD's of roughly 50 hours of footage on DVD Studio pro with 4 separate menus for 4 different 'parts' or series if you will. 50 hours - 20 episodes - 4 parts of 5 episodes each. What are my options in terms of burning these parts on to

    I am making multiple DVD's of roughly 50 hours of footage on DVD Studio pro with 4 separate menus for 4 different 'parts' or series if you will. 50 hours - 20 episodes - 4 parts of 5 episodes each. What are my options in terms of burning these parts on to separate DVD's, what is the process, what size DVD RW should I buy, what bitrate should I use, and what quality I should expect for the burn. Any advice or insight is welcome.

    >>What are my options in terms of burning these parts on to separate DVD's<<
    20 episodes totaling 50 hours equals about 2.5 hours per episode assuming all episodes have the same duration.  Fitting 2.5 hours onto one single layer DVD would require a low bit rate which means quality wouldn't be anywhere near best, but that's a judgement call you'll have to make based on several factors.  For example; if there is not much motion in the video (talking heads, etc), you can get by with a lower bit rate and may not notice any quality difference.
    >>what is the process>>
    The process is essentially the same as it is when authoring a regular DVD with 2 hours or less of content.  However, with as many discs as you'd need to complete this "set," you'll need to create a separate DVD Studio Project for each disc.  Basically, you'd use one of Compressor's DVD Presets (or customize a preset) to create an MPEG--2 video file (.m2v) and a Dolby Digital audio file (.AC3).  Import both of those assets into your DVD Studio Pro project for authoring and burning.
    If you want to keep one episode per disc, DVD Studio Pro does have a 150 minute preset or you could use dual-layer discs with a higher bit rate for better quality.  Again; your call.
    >>what size DVD RW should I buy<<
    Size?  12cm.  Capacity?  Single layer, single sided DVD discs (DVD-5) have a rated capacity of 4.7Gb (4.37Gb actual), including menus.  If you use single layer discs and want to keep the quality reasonably good, you'd need at least 50 discs to complete this "set" with each disc holding roughly 2 hours of footage if you keep the menu on each disc simple.  Or, you could use dual-layer discs (DVD-9) which have a capacity of about 7.95Gb - almost doubling the recordable capacity.  There are also dual-sided, dual-layer discs available (DVD-18) but they are relatively expensive and have to be manually turned over to continue playback ... but they do have roughly 15.9Gb capacity.
    >>what bitrate should I use, and what quality I should expect for the burn<<
    Exactly; the quality is dependent on the bit rate chosen, as well as the quality of the compression.  Using compression markers where needed can greatly increase the quality of playback but will most likely increase the file size of the compressed video.  For the best quality, keeping the bit rate  as high as possible allowed under the DVD specification will yield the best quality but some DVD players may choke if the bit rate is too high.  For best quality I typically aim for a bit rate around 7.6 to 8.0Mbps but that will only allow about one hour of footage.
    Naturally, if you decrease the bit rate, you can fit more footage onto the disc but quality will be sacraficed.   Here's a chart approximating DVD bit rates and durations for single layer discs (does not include space for menus):
    3.5Mbps - 120 minutes
    5.0Mbps -   95 minutes
    6.0Mbps -   82 minutes
    7.6Mbps -   65 minutes
    8.0Mbps -   60 minutes
    -DH

  • Slide Multiple Panels at a time

    I am working on a site where I have the actual panels for the sliding panel widget generated from a database, but I would like the previous and next buttons to move multiple panels at a time. Can anybody help me out? The test site is at http://www.XJ45.com

    Sorry for the delayed reply.
    Thank you for the suggestion. I'm afraid that it is not quite what I'm after. I only have one sliding panel area. It is the panels themselves that are generated through a server-side script. So I have a series of divs with ids being generated inside the sliding panel region, for example,  <div id="slidingPanel1" class="SlidingPanelsContent">, <div id="slidingPanel2" class="SlidingPanelsContent">, etc. I am currently using "onclick="sp2.showPreviousPanel(); return false"" for the previous button and "onclick="sp2.showNextPanel(); return false"" for the next button. What I need is a script to shift 7 panels at a time since that is how many fit in the display area. I will include a sample of the code below. All help is appreciated.
    <div id="feedBar" class="feedBar">
                 <div id="feedNavL"><a href="#" class="feedNav fnL" onclick="sp2.showPreviousPanel(); return false"><span>Previous</span></a></div>
                 <div id="feedNavR"><a href="#" class="feedNav fnR" onclick="sp2.showNextPanel(); return false"><span>Next</span></a></div>
            <div id="feedPanelRegion" class="SlidingPanels">
            <div id="feedPanelinnerWrapper" class="SlidingPanelsContentGroup">
                  <div id="feedPanel1" class="SlidingPanelsContent">
                  <div id="feedItem" class="feedItem">
                      <a href="/film/2009/apr/30/interview-james-roland-spaceshipone/">
                          <span>
                              <span class="feedThumb">
                                  <img name="fPrime" src="http://media.xj45.com/photos/thumbnails/video/BTS_large2_______jpg_144x81_crop_q85.jpg" width="124" height="80" alt="" class="fThumb" />
                              </span>
                              <span class="feedInfoOverlay">
                              <p class="fHeadline">Interview: James Roland on SpaceShipOne</p>
                              </span>
                          </span>
                      </a>
                  <div class="feedCategoryOverlay"><p class="fCategory"><a href="/film/channels/behind-scenes/">Behind the Scenes</a></p></div>          
              </div>
            </div>
                  <div id="feedPanel2" class="SlidingPanelsContent">
                  <div id="feedItem" class="feedItem">
                      <a href="/film/2009/apr/30/interview-titus-gee-spaceshipone/">
                          <span>
                              <span class="feedThumb">
                                  <img name="fPrime" src="http://media.xj45.com/photos/thumbnails/video/BTS_large2________jpg_144x81_crop_q85.jpg" width="124" height="80" alt="" class="fThumb" />
                              </span>
                              <span class="feedInfoOverlay">
                              <p class="fHeadline">Interview: Titus Gee on SpaceShipOne</p>
                              </span>
                          </span>
                      </a>
                  <div class="feedCategoryOverlay"><p class="fCategory"><a href="/film/channels/behind-scenes/">Behind the Scenes</a></p></div>          
              </div>

  • Making Properties Panel reappear

    Hello,
    I cannot see the Properties Panel on my laptop anymore.  I was using the dual monitor mode with my laptop at work.  However when I try to use Xcelsius using only my laptop screen, the properties panel is not visible anymore.  Any help you can provide will be much appreciated.
    Thanks.

    Various methods at your rescue:-
    Delete the folder from HKEY_CURRENT_USER\Software\Business Objects\Xcelsius\Settings\en and restart xcelsius
    Resize your laptop screen size
    Check if the reinstallation work
    Best Luck!!!

  • How can I programically make a top level VI panel invisible?

    How can I programically make a top level VI panel invisible?

    You can use VI Server's 'Close FP' method to close the front-panel. You will need a reference to that VI to invoke the method. One easy way is to launch the VI with the VI Server and hold on to its reference.
    See the attached diagram -- the top-level.vi is launched and run, we wait for 5 seconds, and then close its front-panel.
    Hope this gives you some ideas.
    Khalid
    Attachments:
    close_fp.png ‏38 KB

Maybe you are looking for

  • Data security for multiple data sources

    Dear BO guru's, I am struggling with a brainbraker on authorizations on Universes since quite some time. I am not a BO guru so hopefully someone can help me with this. I (more or less) know the concept of data security in BO: users can be restricted

  • Formatting a fault-ridden mini install.

    mac mini has 10.5.8 installed. I used bootcamp to install xp. after the xp main files were copied over to the install partition and following a reboot...this appeared on-screem,'' unmountable_boot_volume''. now, I can not get passed this issue. I can

  • What are the Great Features of the JTable?

    Hi frienz, I am working on JTable so i just want to know that what are the great feature that we can achieve using JTable for the information?

  • Automating meta data changes

    Hi. This is my first time trying to automate something like this, so any help is greatly appreciated. I have about 1000 jpeg files and a text file that lists each file name followed by a title, date, etc... I am looking for a way to automatically wri

  • Error -208 after purchasing CD on iTunes

    Hey guys, this is not the first time this has happened. After purchasing a new album on iTunes with a music card, the cd was imported to my library. When trying to play the album, iTunes asks me to authorize it, by confirming my password and what not