Who can help - several problems with HDV editing in Premier Elem. 8

For several years I have edited DV video with Ad. Prem. Elem. 3.0 without serious problems. Now I'm also shooting HDV video and have bought and installed Ad. Prem. Elem. 8 (PE8). To try out PE8 I have started up two projects, but only to be met with several very serious problems. Before buying PE8 I tried a 30 days version of Ad. Prem. Pro on the same PC without problems.
My PC (from march 2010) is as follows:
Operating system                   Windows 7 Ultimate 64 bit  (PE8 update is also installed)
Processor                              Intel(R) Core(TM) i7-930  4x2.8GHz 4.8 GT/s (Gigabyte GA-EX58A-UD3R)
Ram                                      DDR-3-1333 12GB (Kingston)
Graphic card                         ATI HD 5870 1GB DDR5 PCI-5 (AMD)
Harddisc for opr. system  C:   Intel X25-M SSDSA2M080G2GN  80GB
Harddisc for photo 1.5TB D:  HDS 1500GB SATAII ST31500341 AS (Seragate)
Harddisc for video 1.5TB E:   HDS 1500GB SATAII ST31500341 AS (Seragate)
Disc drive                             Plextor BD-R PX-B940SA SATA
Disc drive                             Samsung DVDWBD SH-B083L
Software installed                  C:  Office pro/Ad. reader/RegistryBooster/Syst.Tweaker/Canon camera and
                                             printer software/Q.TimePlayer/AVG free (anti virus)
                                             D:  ACDSee Pro3/Photosh.Lightroom 2.7/Photosh.Elem. 8.0
                                             E:  PE8
Video cameras                       Sony HVR-Z5P (HDV 1080i) / Sony DCR-TVR 10E Pal (DV)
PROB. 1:  When capturing HDV there is no picture in the Capt. Window and no sound. The window is plain black surrounded with a thin red line, which together with a red dot in the windows upper left corner indicates, that the capture should be taking place. But to the right after the text "Capture:", "Video" and "Audio" with there checkmarks, are only half lighted (not active). Only on the camera screen can I follow, what should be captured. With the mentioned indications, capture sometimes takes place, and sometimes not. This is first to see, when capturing is stopped.Very irritating and time wasting, as many of my clips has a length up to one hour (live music scenes). The Device Control in the Capt. Window is working o.k.. When capturing DV, everything is working all right from both the HDV and the DV camera.
PROB. 2:  When capturing, "drop-outs", not existing on the tape, but generated in the capt. process, can occur - probably because some other small process takes place on the PC. F.ex. if one is looking around in PE8's Preferences Menu.
PROB. 3:  The worst thing concerning these "drop-outs" + those eventual existing ones from the tape, is, that after a drop-out the picture/sound no longer are synchronized. From the drop-out and to the end of the clip, the sound is 11-12 frames behind the picture.
PROB. 4:   When editing/looking at a film in the Monitor Panel, the picture is not very fluent. It is hacking a bit, which makes it very difficult to adjust the lost synchronization (see prob. 3), which I did by moving just the Sound Bar 11 frames in the Timeline, precise from the spot the drop-out had been before it was cut out.
PROB. 5:  When HDV is played back in the Monitor Panel, the sound is not to be heard the last 10-11 sec. of the last captured clip, although the sound signals are easily seen in the Timeline. After a restart of PE8, it is o.k.
PROB. 6:  When HDV is played back in the Monitor Panel, it happens, that it suddenly stops unprovoked (none else activity has been done, just looking at the Monitor Panel).
PROB. 7:  After having just done a few cuts + adding a bit of text + working with the synchronization (see prob. 4) in the two mentioned HDV projects, I burned a Blue-ray disc (BD-RE) of project I, and after adjusting a bit more on the synchronization, I burned one more, both without problems. Then I tried to burn HDV project II, but now the burning window showed several empty little windows (only Rescan/Copies/Status/Quality had text) - the text in "Status" was: "Invalid disc name". That happens both with and without a disc in the drive. Whit a disc in the drive, I tried to Rescan, but each time only to get a warning window saying:"[..\Src\DVD\MPEGEncoder.cpp-121]". By doing anything with "Quality", the same warning turns up. When "Continue" in the warning window is activated, PE8 goes down. I then tried to burn project I again, but although I succeeded burning 2 disces of that earlier, no success - same problem. And again the same with a new third little HDV project, I had made. If I choose to burn a DVD instead of a Blue-ray disc, everything works well.
PROB. 8:  I'm now so frustrated, that I nearly see no other possibility than to give up, and feel depressed over wasted good money + not getting my projects done. But I still have a little hope, that someone out there are able to help me out - and if you try, please don't write in an all too complicated way, as English is not my language (Danish it is). Just to illustrate my difficulties, it took me nearly 8 hours to put this rapport together.
Ulf Olsen, Denmark  -  mail. [email protected]  -  tlf. +45 4678 8807 / +45 40 555 888

It's very difficult to answer several questions at once on a forum, Ulf. Is there any chance you could ask just one at a time?
As for your installation -- from your notes, it looks like you may have installed Premiere Elements on your E drive. If this is the case, it will not work. You must install the program on your C drive.
Also, if you can not see video of your capture, it is likely related to an out-of-date video driver. Have you gone to the ATI web site and downloaded the latest driver for your card?
If that doesn't work, you can always capture your HDV footage with HDVSplit, which is available here:
http://strony.aster.pl/paviko/hdvsplit.htm
Also, be sure to go to the Premiere Elements Help menu and select Check for Updates. This will ensure you have the latest patch for the program, which resolves many of the challenges you're experiencing.
Finally, have you ensured that your video project is using the HDV project preset? One of the most important steps you can take in working with this program is to ensure that your project preset matches your source footage.

Similar Messages

  • Who can help by problems with picking?

    Hallo all.
    Last time I asked "How to get the textures name".
    ---- >> I created a box and gave it six various textures. With a mouse event I try to get information about the pick.
    It is possible to get the x,y,z values and other more, but I need the information witch side of the cube is picked.
    The name of the texture (I set it by the creation) is the best for me. But I can't get this data.
    There is a sample program in the java 3d pack. Here you can pick one of several cubes or spheres. Then the pickpoint and the closest vertex is marked. Is it possible to identify the side of a cube?
    Today I want to extend my question.
    I want to get the identity of a picked object from a scene with two or mor objects. (by excample two cubes are shown, one will be picked, the message should by like " cube xxx is picked" cube yyy is not picked..."

    It's very difficult to answer several questions at once on a forum, Ulf. Is there any chance you could ask just one at a time?
    As for your installation -- from your notes, it looks like you may have installed Premiere Elements on your E drive. If this is the case, it will not work. You must install the program on your C drive.
    Also, if you can not see video of your capture, it is likely related to an out-of-date video driver. Have you gone to the ATI web site and downloaded the latest driver for your card?
    If that doesn't work, you can always capture your HDV footage with HDVSplit, which is available here:
    http://strony.aster.pl/paviko/hdvsplit.htm
    Also, be sure to go to the Premiere Elements Help menu and select Check for Updates. This will ensure you have the latest patch for the program, which resolves many of the challenges you're experiencing.
    Finally, have you ensured that your video project is using the HDV project preset? One of the most important steps you can take in working with this program is to ensure that your project preset matches your source footage.

  • Who can help me deal with the question?

    My JSP platform is JDK1.3+RESIN1.1.5,whern i write these code ,i found something wrong!
    <%@ page contentType="text/html;charset=gb2312"%>
    <%@ page info="database handler"%>
    <%@ page import="java.lang.*"%>
    <%@ page import="java.awt.*"%>
    <%@ page import="com.caucho.sql.*"%>
    <%@ page import="java.io.*"%>
    <%@ page import="java.util.*"%>
    <%@ page import="java.sql.*"%>
    <%@ page import="javax.servlet.*"%>
    <%@ page import="javax.servlet.http.*"%>
    <%! String username;%>
    <%! String password;%>
    <%! String sql;%>
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String url="jdbc:odbc:jsptest";
    Connection conn=DriverManager.getConnection(url,"sa","hulachen");
    Statement stmt=conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
    String username=request.getParameter("username");
    String password=request.getParameter("password");
    sql="select * from tbl_accounts where username='"+username+"' and password='"+password+"'";
    ResultSet rs=stmt.executeQuery(sql);
    while (rs.next())
    String name=rs.getString("username");
    out.print(name);
    if (name==null)
    out.print("error");
    else
    out.print("welcome");
    %>
    whether the name is null or not ,it will print error,i don't know why,who can help me?Thanks!

    I did the same as you said,but the same thing happened!
    the code is:
    while (rs.next())
    String name=rs.getString("username");
    out.print(name);
    if (name==null)
    out.print("True");
    else
    out.print("False");
    If the name is null,it printed False,but if the name is nothing,it didn't print True,but nothing!

  • Who can help me out with my built-in iSight issue?

    Okay, so I have a question regarding my built-in iSight.
    Now, I know... This question may have been asked before but I just can't find it, I guess it got lost in the mass.
    If you would be friendly enough to forward me the message or instruct me on what I need to do to solve this, that would be a great help.
    Also, I'd like to know if I have to reset anything will I lose everything on my Mac? Should I make an external backup?
    So basically the issue is that whenever I turn on Photo Booth the only thing I get is a black screen.
    The program will let me take a picture, but when I want to see a preview of the image, it's not there.
    I then tried to use my iSight with iChat, which worked perfectly fine. After that I did the same with Skype,
    but Skype didn't let me see anything but black as well.
    Can anyone help me please?? Is this an issue that can be fixed myself or should I bring it to the Apple Store?
    As this is a very important matter to me, because my parents are moving out of the country soon and I would like
    to keep in touch through Skype, I would really appreciate all the help!!!
    Thank you in advance guys!

    abegail.gielen wrote: ... this is a very important matter to me, because my parents are moving out of the country soon and I would like to keep in touch through Skype...
    You have a software problem that will require troubleshooting.  With your parents moving soon, I understand your concern.
    Because you have been unable to correct the problem using the suggestions that are already posted in iSight discussions, I suggest you make an external backup and then take your Mac to the Apple Store for service.
    If you like, the Apple Store may even be able to suggest training that will allow you to troubleshoot and fix future occurrences on your own.
    Message was edited by: EZ Jim
    Mac OSX 10.8.2

  • Who can solve iSync problem with Nokia N95? (I use the Nokia plug already)

    Hello
    Since I bought my new cool Mac:, I sync my N95 with iSync and the Nokia N95 plug-in. Thinking at first that is works flawlessly (as other members here seem to think as well) I later found out, that if I make changes to any calendar or "to do" description! on either the N95 or the Mac it syncs, but only up until a certain number of characters. If I exceed this number, the description on the phone will simply be cut off - in the iCal it still fully appears though.
    Rather surprising, since when syncing with a PC via the Nokia PC suite there is no such an issue. All my often lengthy descriptions are fully put on the phone. And if I sync back there are no problems either. So I guess it has to do with the iSync protocol or this Nokia N95 iSync plug-in? Any ideas, solutions...? Any help greatly appreciated!
    A bit in despair
    Zuckermann

    The flex cable is damaged. Some years back when I had a Nokia N95 8GB the flex cable was damaged and for a few days the screen was showing strange colours at the display and eventually the screen became black. I went to a local repair shop and I replaced the flex cable and what I noticed was that the flex cable that it had no proximity sensor on it so I told the technician to remove the proximity sensor on the original one and replace it with the new flex cable. Another thing I discovered was that after fitting the flex cable and returning the cover the front camera was not in its usual position so the technician had to do some modifications to get it back to its normal position and after a few months it was damaged and this time I went to Nokia Care Centre and replaced the flex cable for a small fee and what I noticed was that the flex cable that I previously bought was a fake cable. The one bought from Nokia Care Centre had its proximity sensor and when the cover was returned the camera was in its exact position the same as it was with the original flex cable. What I wanted to say is that please beware of fake flex cables on the market and I suggest that you buy it from an authorised Nokia Dealer.
    Ngwangwa - Six Million Ways To Die Choose One

  • Has somebody who can help me please  with JavaMail and JSP ?

    I am new in JSP
    And I would wish to create a JSP to send an email with attachment.
    For the compilation of my JavaBeans I use JBuilder 9 Personnel version
    Then I have j2sdk1.4.0
    In C:\j2sdk1.4.0\
    For the installation of the API javamail
    it is necessary to download two jar files Mail.jar and activation .jar
    http://java.sun.com/products/javamail/javadocs/index.html
    it is done!
    then, I copied my two files mail.jar and activation.jar in the directory
    C:\j2sdk1.4.0\lib
    And in
    C:\jBuilder 9 \jdk1.4\lib
    I have family Windows XP
    Then from DOS in the the directory c:\ Documents and Settings\MEBARKIA
    I have to add this line:
    SET CLASSPATH=c:\j2sdk1.4.0\lib\mail.jar;c:\j2sdk1.4.0\lib\activation.jar;
    Finally,
    for a test, I downloaded an example of Javabean from : http://java.sun.com/developer/qow/archive/74/
    the source code is:
    import java.beans.*;
    import java.util.*;
    import java.io.*;
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    public class XYZMail extends Object
    implements java.io.Serializable {
    private ArrayList mailTo
    = new ArrayList();
    private String mailFrom ;
    private String mailSubject ;
    private String mailMessage ;
    private String mailHost;
    private ArrayList mailAttachments = new ArrayList();
    private Properties props;
    private javax.mail.Session sess;
    private InternetAddress[] address
    = { new InternetAddress() };
    public XYZMail() {
    props = new Properties( ) ;
    props = System.getProperties();
    public long sendMail () throws MessagingException {
    props.put("mail.smtp.host", getMailHost() );
    sess = javax.mail.Session.getDefaultInstance(props, null);
    sess.setDebug( Boolean.valueOf( "false" ).booleanValue() );
    int i = 0;
    MimeMessage msg = new MimeMessage(sess);
    msg.setFrom(new InternetAddress( getMailFrom() ));
    for ( Iterator itr = mailTo.iterator( ); itr.hasNext(); ) {
    address[i] = new InternetAddress((String) itr.next()) ;
    msg.setRecipients(Message.RecipientType.TO, address);
    msg.setSubject( getMailSubject() );
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText( getMailMessage() );
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    if ( ! mailAttachments.isEmpty() ) {
    MimeBodyPart mbp2 = new MimeBodyPart();
    FileDataSource fds=new FileDataSource( (String)
    mailAttachments.get(0) );
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName( (String) mailAttachments.get(0) );
    mp.addBodyPart(mbp2);
    msg.setContent(mp);
    msg.setSentDate(new Date());
    Transport.send(msg);
    return 1;
    public ArrayList getMailTo ( ) {
    return mailTo;
    public String getMailFrom ( ) {
    return mailFrom;
    public String getMailSubject ( ) {
    return mailSubject;
    public String getMailMessage ( ) {
    return mailMessage;
    public ArrayList getMailAttachments ( ) {
    return mailAttachments;
    public String getMailHost ( ) {
    return mailHost;
    public void setMailHost ( String host ) {
    mailHost = host;
    public void setMailAttachments ( ArrayList attachments ) {
    mailAttachments = attachments ;
    public void setMailMessage ( String msg ) {
    mailMessage = msg ;
    public void setMailSubject ( String subject ) {
    mailSubject = subject ;
    public void setMailFrom ( String from ) {
    mailFrom = from;
    public void setMailTo ( ArrayList to ) {
    mailTo = to;
    I have all these error messages:
    "XYZMail.java" : Erreur No. 704 : acc?s impossible au r?pertoire javax\mail en ligne 6, colonne 1
    "XYZMail.java" : Erreur No. 704 : acc?s impossible au r?pertoire javax\mail\internet en ligne 8, colonne 1
    "XYZMail.java" : Erreur No. 704 : acc?s impossible au r?pertoire javax\activation en ligne 9, colonne 1
    "XYZMail.java" : Erreur No. 302 : classe javax.mail.Session non accessible ; aucune classe ni source trouv? pour javax.mail.Session en ligne 22, colonne 20
    "XYZMail.java" : Erreur No. 300 : classe InternetAddress introuvable dans classe gestionbadges.XYZMail en ligne 23, colonne 9
    "XYZMail.java" : Erreur No. 300 : classe MessagingException introuvable dans classe gestionbadges.XYZMail en ligne 31, colonne 32
    "XYZMail.java" : Erreur No. 300 : classe InternetAddress introuvable dans classe gestionbadges.XYZMail en ligne 24, colonne 9
    "XYZMail.java" : Erreur No. 302 : classe javax.mail.Session non accessible ; aucune classe ni source trouv? pour javax.mail.Session en ligne 34, colonne 19
    "XYZMail.java" : Erreur No. 300 : classe MimeMessage introuvable dans classe gestionbadges.XYZMail en ligne 38, colonne 1
    "XYZMail.java" : Erreur No. 300 : classe MimeMessage introuvable dans classe gestionbadges.XYZMail en ligne 38, colonne 23
    "XYZMail.java" : Erreur No. 300 : classe InternetAddress introuvable dans classe gestionbadges.XYZMail en ligne 40, colonne 17
    "XYZMail.java" : Erreur No. 300 : classe InternetAddress introuvable dans classe gestionbadges.XYZMail en ligne 42, colonne 18
    "XYZMail.java" : Erreur No. 302 : classe Message.RecipientType non accessible ; aucune classe ni source trouv? pour Message.RecipientType en ligne 46, colonne 27
    "XYZMail.java" : Erreur No. 300 : classe MimeBodyPart introuvable dans classe gestionbadges.XYZMail en ligne 50, colonne 1
    "XYZMail.java" : Erreur No. 300 : classe MimeBodyPart introuvable dans classe gestionbadges.XYZMail en ligne 50, colonne 25
    "XYZMail.java" : Erreur No. 300 : classe Multipart introuvable dans classe gestionbadges.XYZMail en ligne 53, colonne 1
    "XYZMail.java" : Erreur No. 300 : classe MimeMultipart introuvable dans classe gestionbadges.XYZMail en ligne 53, colonne 20
    "XYZMail.java" : Erreur No. 300 : classe MimeBodyPart introuvable dans classe gestionbadges.XYZMail en ligne 57, colonne 1
    "XYZMail.java" : Erreur No. 300 : classe MimeBodyPart introuvable dans classe gestionbadges.XYZMail en ligne 57, colonne 25
    "XYZMail.java" : Erreur No. 300 : classe FileDataSource introuvable dans classe gestionbadges.XYZMail en ligne 59, colonne 1
    "XYZMail.java" : Erreur No. 300 : classe FileDataSource introuvable dans classe gestionbadges.XYZMail en ligne 59, colonne 24
    "XYZMail.java" : Erreur No. 300 : classe DataHandler introuvable dans classe gestionbadges.XYZMail en ligne 61, colonne 25
    "XYZMail.java" : Erreur No. 300 : variable Transport introuvable dans classe gestionbadges.XYZMail en ligne 70, colonne 1
    Thanks for your's help!!!!!

    Thank you very much for your answer wew64.
    Yes, I have a local server TOMCAT
    But the problem
    It is on the compilation I do not arrive has to compile my javabean XYZMail java
    With jbuilder 4
    However I have to configure my CLASSPATH on the level of DOS
    And on the variables of enivrements of Windows XP.
    I copied the two files mail.jar and activation.jar everywhere
    In
    C:\j2sdk1.4.0\lib
    And in
    C:\j2sdk1.4.0\jre
    C:\j2sdk1.4.0\jre\lib
    Even case with
    c:\jBuider 4
    thanks.

  • I hope someone gets this who can help me. i don't find anything helpful in the help section of icloud. i'm using my 4th generation itouch for about 3 weeks with the ical. but today when i tried to edit an event or d an event a window would pop up and sa

    i hope someone gets this who can help me. i don't find anything helpful in the help section of icloud. i'm using my 4th generation itouch for about 3 weeks with the ical. but today when i tried to edit an event or add an event a window would pop up and say "event can't be saved" or "no calendar chosen" or something like "this event doesn't belong with this calendar" and stuff like that.
    can you please help me fix this?

    You could repartition your drive to have a different OS X with the older iTunes there, and the newer iTunes on the existing partition. Back up everything beforehand. See Kappy's advice in this thread. Partitioning my Hard Drive

  • Problem With GUI ( Who can help me! )

    Hallo,
    It�s a very simple program to See the Clock on a panel. The program works well, but if I want to include a GUI to my program, it don�t want. I use runable action and I think that is be the problem.
    Here below you can see the code�s. I�m sure there is someone who can help me.
    Thanks a lot,
    Seyyed
    The code:
    public class Clock_maken extends java.applet.Applet
    implements Runnable {
    public volatile Thread clockThread = null;
    JLabel           Datuum_label;
    DateFormat      formatter;
    Locale           locale;
    Date           currentDate;
    String          today;
    public void init(){ 
    locale = Locale.getDefault();
    Datuum_label = new JLabel("date");
    public void start() {       
    Datuum_label.setForeground(Color.black);
    add(Datuum_label);
    if(clockThread == null) {
    clockThread = new Thread(this);
    clockThread.start();
    public void run() {
         Thread myThread = Thread.currentThread();
         while (clockThread == myThread) {
         currentDate = new Date();
    formatter =                     DateFormat.getDateTimeInstance(DateFormat.FULL,
              DateFormat.MEDIUM, locale);
    today = formatter.format(currentDate);
    Datuum_label.setText(today);
    try {
    Thread.sleep(1000);
    } catch (InterruptedException e){ }
    public void stop() {clockThread = null;}
    public static void main(String[] args){
    JFrame.setDefaultLookAndFeelDecorated(true);
    JFrame      lunarPhasesFrame = new JFrame("Lunar Phases");
    lunarPhasesFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    Clock_maken phases = new Clock_maken();
    phases.init();
    phases.start();
    lunarPhasesFrame.pack();
    lunarPhasesFrame.setVisible(true);
    Now i want to create a GUI like folowing, but it dont work. Do u know wat is de probleem of mijn prograam.
    private static void createAndShowGUI() {
    JFrame.setDefaultLookAndFeelDecorated(true);
         /*     JFrame      lunarPhasesFrame = new JFrame("Lunar Phases");
              lunarPhasesFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    */ Clock_maken phases = new Clock_maken();
         /*     phases.init();
              phases.start();
              lunarPhasesFrame.pack();
         lunarPhasesFrame.setVisible(true);*/
    public static void main(String[] args) {
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    }

    Continued here, with formatted code:
    http://forum.java.sun.com/thread.jspa?threadID=725022

  • I think pesimo customer service three days, I'm looking for someone I can ayudr activation problem with my CC and can not find anyone who can help me.

    I think pesimo customer service three days, I'm looking for someone I can ayudr activation problem with my CC and can not find anyone who can help me.

    Online Chat Now button near the bottom for Activation and Deactivation problems may help
    http://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html

  • When I try to install the latest version (10.5) of iTunes, the following message appears: "There was a problem with this Windows Installer package. A program running during installation is terminated unexpectedly." Is there somebody who can help me?thanks

    When I try to install the latest version (10.5) of iTunes, the following message appears: "There was a problem with this Windows Installer package. A program running during installation is terminated unexpectedly." Is there somebody who can help me?thanks

    I used this site and it fixed my problems. Hoping it will help with yours too
    http://support.microsoft.com/mats/Program_Install_and_Uninstall

  • Hi! I have problems with my calender. The diarise of dates is sometimes not authentic, dates dissapeare or were put on a wrong day. Who can help?

    Hi! I have problems with my calender. The diarise of dates is sometimes not authentic, dates dissapeare or were put on a wrong day. Who can help?

    Don't worry I've sorted it! I just had to turn off Reminders as well in iCloud. Calendar then worked fine, even when I turned Calendar and Reminders back on.

  • Who can help me :)--a problem with java program(reset problem in java )

    I do not know how to make the button reset,my program only could reset diagram but button.If any one who could help me to solve this problem.The problem is When the reset button is pressed, the image should immediately revert to the black square, and the 4 widgets listed above should show values that
    correspond to the black square.The code like this,first one is shapes:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class shapes extends JFrame {
         private JPanel buttonPanel; // panel for buttons
         private DrawPanel myPanel;  // panel for shapes
         private JButton resetButton;
        private JComboBox colorComboBox;
         private JRadioButton circleButton, squareButton;
         private ButtonGroup radioGroup;
         private JCheckBox filledButton;
        private JSlider sizeSlider;
         private boolean isShow;
         private int shape;
         private boolean isFill=true;
        private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
                                   "green", "lightgray", "magenta", "orange",
                                   "pink", "red", "white", "yellow"};   // color names list in ComboBox
        private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public shapes() {
             super("Draw Shapes");
             // creat custom drawing panel
            myPanel = new DrawPanel(); // instantiate a DrawPanel object
            myPanel.setBackground(Color.white);
             // set up resetButton
            // register an event handler for resetButton's ActionEvent
            resetButton = new JButton ("reset");
             resetButton.addActionListener(
              // anonymous inner class to handle resetButton events
                 new ActionListener() {
                       // draw a black filled square shape after clicking resetButton
                     public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
                          // to decide if show the shape
                         myPanel.setShowStatus(true);
                             isShow = myPanel.getShowStatus();
                             shape = DrawPanel.SQUARE;
                         // call DrawPanel method setShape to indicate shape to draw
                             myPanel.setShape(shape);
                         // call DrawPanel method setFill to indicate to draw a filled shape
                             myPanel.setFill(true);
                         // call DrawPanel method draw
                             myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
             );// end call to addActionListener
            // set up colorComboBox
            // register event handlers for colorComboBox's ItemEvent
            colorComboBox = new JComboBox(colorNames);
            colorComboBox.setMaximumRowCount(5);
            colorComboBox.addItemListener(
                 // anonymous inner class to handle colorComboBox events
                 new ItemListener() {
                     // select shape's color
                     public void itemStateChanged(ItemEvent event) {
                         if(event.getStateChange() == ItemEvent.SELECTED)
                             // call DrawPanel method setForeground
                             // and pass an element value of colors array
                             myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
                        myPanel.draw();
                }// end anonymous inner class
            ); // end call to addItemListener
            // set up a pair of RadioButtons
            // register an event handler for RadioButtons' ItemEvent
             squareButton = new JRadioButton ("Square", true);
             circleButton = new JRadioButton ("Circle", false);
             radioGroup = new ButtonGroup();
             radioGroup.add(squareButton);
             radioGroup.add(circleButton);
            squareButton.addItemListener(
                // anonymous inner class to handle squareButton events
                new ItemListener() {
                       public void itemStateChanged (ItemEvent event) {
                           if (isShow==true) {
                                 shape = DrawPanel.SQUARE;
                                 myPanel.setShape(shape);
                                 myPanel.draw();
                   }// end anonymous inner class
             );// end call to addItemListener
             circleButton.addItemListener(
                   // anonymous inner class to handle circleButton events
                new ItemListener() {
                       public void itemStateChanged (ItemEvent event) {
                             if (isShow==true) {
                                 shape = DrawPanel.CIRCLE;
                                 myPanel.setShape(shape);
                                 myPanel.draw();
                             else
                                 System.out.println("Please click Reset button first");
                   }// end anonymous inner class
             );// end call to addItemListener
             // set up filledButton
            // register an event handler for filledButton's ItemEvent
            filledButton = new JCheckBox("Filled", true);
             filledButton.addItemListener(
              // anonymous inner class to handle filledButton events
            new ItemListener() {
                  public void itemStateChanged (ItemEvent event) {
                    if (isShow==true) {
                            if (event.getStateChange() == ItemEvent.SELECTED) {
                                  isFill=true;
                                  myPanel.setFill(isFill);
                                  myPanel.draw();
                            else {
                                isFill=false;
                                  myPanel.setFill(isFill);
                                  myPanel.draw();
                    else
                        System.out.println("Please click Reset button first");
              }// end anonymous inner class
             );// end call to addItemListener
            // set up sizeSlider
            // register an event handler for sizeSlider's ChangeEvent
            sizeSlider = new JSlider(SwingConstants.HORIZONTAL, 0, 300, 100);
            sizeSlider.setMajorTickSpacing(10);
            sizeSlider.setPaintTicks(true);
            sizeSlider.addChangeListener(
                 // anonymous inner class to handle sizeSlider events
                 new ChangeListener() {
                      public void stateChanged(ChangeEvent event) {
                          myPanel.setShapeSize(sizeSlider.getValue());
                             myPanel.draw();
                 }// end anonymous inner class
             );// end call to addChangeListener
            // set up panel containing buttons
             buttonPanel = new JPanel();
            buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
             buttonPanel.add(resetButton);
             buttonPanel.add(filledButton);
            buttonPanel.add(colorComboBox);
            JPanel radioButtonPanel = new JPanel();
            radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
            radioButtonPanel.add(squareButton);
            radioButtonPanel.add(circleButton);
            buttonPanel.add(radioButtonPanel);
            // attach button panel & draw panel to content panel
            Container container = getContentPane();
            container.setLayout(new BorderLayout(10,10));
            container.add(myPanel, BorderLayout.CENTER);
             container.add(buttonPanel, BorderLayout.EAST);
            container.add(sizeSlider, BorderLayout.SOUTH);
            setSize(500, 400);
             setVisible(true);
         public static void main(String args[]) {
             shapes application = new shapes();
             application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }second one is drawpanel:
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
        private int shapeSize = 100;
        private Color foreground;
         // draw a specified shape
        public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
            int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
                 if (fill == true){
                     g.setColor(foreground);
                      g.fillOval(x, y, shapeSize, shapeSize);
                else{
                       g.setColor(foreground);
                    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
                 if (fill == true){
                     g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
                else{
                        g.setColor(foreground);
                    g.drawRect(x, y, shapeSize, shapeSize);
        // set showStatus value
        public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
        public boolean getShowStatus () {
              return showStatus;
         // set fill value
        public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
        public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
        // set shapeSize value
        public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
        // set foreground value
        public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
        public void draw (){
              if(showStatus == true)
              repaint();
    }If any kind people who can help me.
    many thanks to you!

    4 widgets???
    maybe this is what you mean.
    add this inside your actionPerformed method for the reset action
    squareButton.setSelected(true);
    colorComboBox.setSelectedIndex(0);
    if not be more clear in your post.

  • Hello is there anybody who can help me in german? i have the same problem like the guy with i tunes. it won´t open an give me an error "An application has made an attempt to load the C runtimelibrary incorrectly" Please contact the application´s support..

    I´ve so many privat things on I tunes like pictures, music etc.and i won´t loose them. is there anybody who can help me to save my private things and help me to solve teh problem
    Thanks you for help greetings from austria

    I just had the same error: 
    R6034
    An application has made an attempt to load the C runtime library incorrectly.  Please contact the apps support team for more info.
    I went to http://support.apple.com/kb/ht1925 and did a complete removal and reinstallation of iTunes. You MUST follow the directions here exactly...it's more than just iTunes that must be removed, and it MUST be done in the order in which the support article says.  I followed the exact instructions, and iTunes is back on my machine (no more C runtime error) and you do NOT lose your music...it's all in my library, as it was before.
    Good luck!

  • First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and ge

    First of all, I would have to say that getting in touch with you is a nightmare and I am not at all happy that I can't just email or live chat with someone who can help!  I am not a technical person, I just want to be able to use Photoshop Elements and get on with it. I bought Photoshop Elements via Amazon some months ago and it worked fine.  I then got a message that advised that the trial version would expire, which it subsequently has (I have been trawling your site for weeks and weeks trying to find an email or phone contact to get some assistance).  Relucltantly, I am now typing this - and I suspect it will not help in the slightest!  I bought the FULL not TRIAL edition of Photoshop Elements and I have contacted Amazon who confirmed this, but say I need to contact you.  Can you please let me know how I can resolve this?  Louise A Fraser

    Hi Louise, sorry to hear of your problems. This is not Adobe. We are mainly support volunteers, other users like you, trying to help one another.  You need to contact Adobe directly for activation and licencing issues. Click the link below. Use the dropdown menu for boxes (1) & (2) to scroll down the list and choose:
    1. Adobe Photoshop Elements
    2. Adobe ID, and signing-in
    3. Click on the blue button: Still need help? Contact us – then click the area marked chat 24/7, then click “start chat ”
    It’s usually possible to start a live chat, if an Adobe agent is free, and often to get the problem fixed right away. Have your serial number available. The agent can directly troubleshoot your system if you agree to activate the Adobe Connect add-on. Don’t let them pass the buck. Stay connected and ask to speak with a supervisor if necessary.
    Click here to get help now Contact Customer Care

  • Ive finished my first website now my next problem, who can help?

    Hi there,
    With lots of help from Nadia, ive finished my website..
    http://www.tlmgoldman.com/
    Now ive got to move on to an other level and i hope you can help me.
    As you can see the website is working fine. Now ive got one new question from my client. Is it possible that my client can change the text himself? And he want to add a new page with a lot off new pictures.. for the employers.
    What is the best way to do this. Is it possible to do this without a cms system because cms is for me like flying to mars..
    Is there some kind of program so my client can upload some pictures and changes some text on all the pages?
    I will be happy to hear from you..
    Regards Brian

    Hi thank you for your response,
    but when i replace the text my whole left column dissapears. Must i replace the first text or just add it can you tell me where to put it?
    Welkome bij TLM Goldman<br />
    TLM Goldman levert sinds 2007 consultingdiensten in de branche Trading & Investments. De focus van onze cliënten ligt op de handel in financiële instrumenten en derivaten zoals aandelen, obligaties, energie, carbon, opties, equity swaps, futures en gerelateerde producten. TLM Goldman zet zich in voor zijn cliënten opdat zij concurrerend blijven in hun markt, operationele voordelen behalen en aan internationale wet- en regelgeving voldoen.
    Date: Mon, 24 May 2010 15:54:07 -0600
    From: [email protected]
    To: [email protected]
    Subject: Ive finished my first website now my next problem, who can help?
    Switch to Code View.
    <div id="left_column">
    h3. Welcome to TLM Goldman
    <!begin Cushy CMS editable division>
    <div class="cushycms">
    </div>  <!end cushycms>
    </div>  <!end left_column>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com
    >

Maybe you are looking for