(Another) problem with custom painting using JApplet and JPanel

Hi all,
I posted regarding this sort of issue yesterday (http://forums.sun.com/message.jspa?messageID=10883107). I fixed the issue I was having, but have run into another issue. I've tried solving this myself to no avail.
Basically I'm working on creating the GUI for my JApplet and it has a few different JPanels which I will be painting to, hence I'm using custom painting. My problem is that the custom painting works fine on the mainGUI() class, but not on the rightGUI() class. My code is below:
import javax.swing.*;
import javax.swing.border.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.image.*;
import java.io.*;
import javax.imageio.*;
public class TetrisClone extends JApplet {
     public void init() {
          setSize( 450, 500 );
          Container content = getContentPane();
          content.add( new mainGUI(), BorderLayout.CENTER );
          content.add( new rightGUI() , BorderLayout.LINE_END );
class mainGUI extends JPanel {
     // Main bit where blocks fall
     public mainGUI() {
          setBackground( new Color(68,75,142) );
          setPreferredSize( new Dimension( 325, 500 ) );
          validate();
     public Dimension getPreferredSize() {
          return new Dimension( 450, 500 );
     public void paintComponent( Graphics g ) {
          super.paintComponent(g);
          // As a test. This shows up fine.
          g.setColor( Color.black );
          g.fillRect(10,10,100,100);
          g.setColor( Color.white );
          g.drawString("Main",45,55);
class rightGUI extends JPanel {
     BufferedImage img = null;
     int currentLevel = 0;
     int currentScore = 0;
     int currentLines = 0;
     public rightGUI() {
          // The right panel. Has quite a few bits. Starts here..
          FlowLayout flow = new FlowLayout();
          flow.setVgap( 20 );
          setLayout( flow );
          setPreferredSize( new Dimension( 125, 500 ) );
          setBackground( new Color(27,34,97) );
          setBorder( BorderFactory.createMatteBorder(0,2,0,0,Color.black) );
          // Next block bit
          JPanel rightNext = new JPanel();
          rightNext.setPreferredSize( new Dimension( 100, 100 ) );
          //rightNext.setBackground( new Color(130,136,189) );
          rightNext.setOpaque( false );
          rightNext.setBorder( BorderFactory.createEtchedBorder(EtchedBorder.LOWERED) );
          Font rightFont = new Font( "Courier", Font.BOLD, 18 );
          // The player's playing details
          JLabel rightLevel = new JLabel("Level: " + currentLevel, JLabel.LEFT );
          rightLevel.setFont( rightFont );
          rightLevel.setForeground( Color.white );
          JLabel rightScore = new JLabel("Score: " + currentScore, JLabel.LEFT );
          rightScore.setFont( rightFont );
          rightScore.setForeground( Color.white );
          JLabel rightLines = new JLabel("Lines: " + currentLines, JLabel.LEFT );
          rightLines.setFont( rightFont );
          rightLines.setForeground( Color.white );
          JPanel margin = new JPanel();
          margin.setPreferredSize( new Dimension( 100, 50 ) );
          margin.setBackground( new Color(27,34,97) );
          JButton rightPause = new JButton("Pause");
          try {
              img = ImageIO.read(new File("MadeBy.gif"));
          catch (IOException e) { }
          add( rightNext );
          add( rightLevel );
          add( rightScore );
          add( rightLines );
          add( margin );
          add( rightPause );
          validate();
     public Dimension getPreferredSize() {
               return new Dimension( 125, 500 );
     public void paintComponent( Graphics g ) {
          super.paintComponent(g);
          g.setColor( Color.black );
          g.drawString( "blah", 425, 475 ); // Doesn't show up
          g.drawImage( img, 400, 400, null ); // Nor this!
          System.out.println( "This bit gets called fine" );
}Any help would be greatly appreciated. I've read loads of swing and custom painting tutorials and code samples but am still running into problems.
Thanks,
Tristan Perry

Many thanks for reminding me about the error catching - I've added a System.out.println() call now. Anywhoo, the catch block never gets run; the image get call works fine.
My problem was/is:
"My problem is that the custom painting works fine on the mainGUI() class, but not on the rightGUI() class. My code is below:"
I guess I should have expanded on that. Basically whatever I try to output in the public void paintComponent( Graphics g ) method of the rightGUI class doesn't get output.
So this doesn't output anything:
g.drawString( "blah", 425, 475 ); // Doesn't show up
g.drawImage( img, 400, 400, null ); // Nor this!
I've checked and experimented with setOpaque(false), however this doesn't seem to be caused by any over-lapping JPanels or anything.
Let me know if I can expand on this :)
Many thanks,
Tristan Perry
Edited by: TristanPerry on Dec 10, 2009 8:40 AM

Similar Messages

  • Please Help! Problem with 'whistle' when using Audition and Premeire Pro 1.5 with Audigy

    I hope someone can help with this problem. The start of these messages is at the bottom. Any suggestions would be most welcome...Bill Allen
    Hi David (00)... Thanks for your reply. I just wanted to let you know
    that I am going to post all of this correspondence on as many Creative
    forums that I can find in hopes of finding someone that help with this
    problem.
    I will advise you of the results
    Thanks again...Bill Allen
    ----- Original Message -----
    From: "Creative Americas Customer Support"
    To: "Bill Allen"
    Sent: Saturday, February , 2006 :39 AM
    Subject: Re: Creative System Information (English : Adobe Premeire Pro .5
    and Adobe Audition) (KMM987992I6636L0KM)
    > Sir,
    >
    > The only time that I've see a random tone being generated as you
    > decribe, it was necessary to update the system bios to correct.
    >
    > While we are able to playback and record with the card and it's included
    > software, Adobe continues to not allow you to monitor what you're
    > recording. As best we can tell, there's nothing wrong with the card and
    > I would urge you to check with Adobe for any "monitor recording"
    > switches that may be in their software.
    >
    > For faster service please reply with previous correspondence when
    > replying to this email.
    >
    > Best Regards
    > ,
    >
    > David (00)
    > Team Specialist
    >
    > Technical Support
    > Creative Labs Americas
    >
    >
    >
    > To provide feedback on your "Creative Experience" please click on the
    > following link:
    >
    Link removed
    >
    > This link is provided so that you may provide feedback on your "Creative
    > Experience". If you require further troubleshooting or have additional
    > questions simply reply to the original mail and we will be glad to
    > assist you.
    >
    > Original Message Follows:
    > ------------------------
    > Jeen... I appreciate, very much, your reply. But I don't appreciate
    > trying
    > to be 'ping ponged' back and forth between Creative and Adobe. While I
    > realize that you can only deduce a solution from what I tell you, I
    > believe
    > that if you re-read my description of the problem you will realize that
    > the
    > problem is with the sound card and it's associated software. Otherwise
    > why
    > would the system work as expected when it it turned on the next morning?
    >
    > I would also like to know where the 'tone' comes from. When recording
    > video segment (with audio) through the firewire connection of the
    > Creative Audidgy 2ZS card, after a short while the audio is replaced with a
    > constant tone (as I said, it is about 200 Hz). If I record the video thru the
    > Firewire connection and the audio through the 'Line-In' connection,
    > there is no problem with the recording the audio track 'tone free'. However,
    > sometimes but not always, when the audio is played back the tone will
    > appear. This has happened with both Adobe Premeire Pro .5 and Adobe
    > Audition. It is not in the audio track of Adobe Premeire Pro .5 or
    > Adobe Audition, so the problem must lie with the Creative Audigy 2ZS card or
    > it's associated software. I'm sure your audio engineers have knowledge of
    > this problem and I would appreciate an answer.
    >
    > Thanks...Bill Allen
    >
    > ----- Original Message -----
    > From: "Creative Americas Customer Support"
    >
    > To: "Bill Allen"
    > Sent: Friday, February 0, 2006 2:5 AM
    > Subject: Re: Creative System Information (English : Adobe Premeire Pro
    > .5
    > and Adobe Audition) (KMM9780I6636L0KM)
    >
    >
    >> Dear Bill,
    >>
    >> Thank you for replying back to Creative Technical Support.
    >>
    >> With regards to your issue, I understand that you are having
    > difficulty
    >> getting the audio to record from the applications Adobe Premiere Pro
    > .5
    >> and therefore not sound during the playback.
    >>
    >> As you have verified that the sound card is working properly with the
    >> other applications on recording or playback, this could be due to the
    >> improper setup for the audio in the Premiere Pro .5.
    >>
    >> You may like to refer to Adobe for assistance on the configuration of
    >> the audio settings as we are not in a better position to advise you on
    >> third party software.
    >>
    >> Should you have not sound or issues with our software, please feel
    > free
    >> to contact us so that we can assist you.
    >>
    >> For faster service please reply with previous correspondence when
    >> replying to this email.
    >>
    >> Best Regards
    >> ,
    >>
    >> Jeen
    >> Technical Support
    >> Creative Labs Americas
    >>
    >>
    >>
    >> To provide feedback on your "Creative Experience" please click on the
    >> following link:
    >>
    Link removed
    >>
    >> This link is provided so that you may provide feedback on your
    > "Creative
    >> Experience". If you require further troubleshooting or have additional
    >> questions simply reply to the original mail and we will be glad to
    >> assist you.
    >>
    >> Original Message Follows:
    >> ------------------------
    >> Ronshone... Thanks for your reply.
    >>
    >> Here is the information you requested:
    >>
    >> Sound Blaster Audigy 2ZS
    >> PID: 0 03 50 00 00 00 02
    >> Driver Ver: 2.8.4
    >> Firmware : 0.0.0
    >> Model: SB.0350
    >> Serial Number: MSB0350472004288E
    >> Ink stamp: 50SPT470D
    >>
    >> The Audigy 2ZS is the only sound card installed
    >> The Audigy 2ZS card is at least one slot away from the graphics card.
    >> The Audigy 2ZS card is one slot away from another card.
    >> The Audigy 2ZS card is properly seated in the PCI slot.
    >> The PC's internal wires have been moved away from the Audigy 2ZS card
    > .
    >> The 'on-board' sound is disabled thru the BIOS.
    >> The 'on-board' game port is disabled thru the BIOS.
    >> The XP Pro operating system is up to date with all updates.
    >> There were no background operation going at the time of the tests.
    >> The anit-virus program was closed
    >> The CPU is not overclocked.
    >> And, I am the Administrator.
    >>
    >> The card came in a Creative retail Box along with the input unit that
    >> mounts
    >> in the dri've bay. I can't recall what that is called.
    >>
    >> I have relocated the sound card to a slot that is 4 slots away from
    > the
    >> graphics card and slot away from another card, in this case an
    >> additional
    >> IDE dri've controller.
    >>
    >> I have performed the test you outlined. I found that I had to record
    >> using
    >> the 'line in' source input. And I had to playback using the 'wave'
    >> source.
    >> As far as that test is concerned, everything worked. However when I
    >> bring
    >> up Adobe Premeire Pro .5 I do not hear the audio when capturing, and,
    >> even
    >> though the audio meters in Premeire Pro in indicate that there is
    > audio
    >> playing from the audio track on playback, I hear nothing from the
    >> speakers.
    >>
    >> I then brought up the Creative Speaker Settings requester and did a
    >> diagnostic test. All tests indicated "pass". But when I click on the
    >> 'Speaker Settings' and perform the 'Speaker Test' I hear nothing. I
    >> should
    >> add that in both mixers, the Creative Surround Mixer and the Play
    >> Control
    >> mixer, all inputs and outputs are selected (not muted). Also when I
    >> performed this same test yesterday the 'Speaker Test' worked fine.
    >>
    >> On rebooting, the 'Windows XP' sound is heard from the speakers.
    >> Bringing
    >> up Adobe Premeire Pro .5, the audio played as expected. The 'Speaker
    >> Test'
    >> in the Creative Surround Mixer also worked as expected.
    >>
    >> I then recorded the rest of my program using the Adobe Premeire Pro
    > .5
    >> 'Capture' requester and when I tried to playback from within Adobe
    >> Premeire
    >> Pro .5 all I got was a constant tone (about 200 Hz), even though the
    >> audio
    >> meters in Adobe Premeire Pro .5 indicated that the audio was good and
    >> had
    >> no constant tone.
    >>
    >> I rebooted the computer and brought up Adobe Premeire Pro .5 and my
    >> program. Without making any changes to either mixers, Adobe Premeire
    > Pro
    >> .5
    >> performed, and the sound played, as expected. In the 'Play Control'
    >> mixer
    >> only the 'wave' was acti've. All the rest were muted. It was the same
    >> for
    >> the 'Creative Surround Mixer'.
    >>
    >> I am at a loss as to what the problem is. Any help would be
    >> appreciated.
    >>
    >> ...Bill Allen
    >> ----- Original Message -----
    >> From: "Creative Americas Customer Support"
    >> @customercare.creative.com
    >> To: "Bill Allen"
    >> Sent: Monday, February 06, 2006 9:42 PM
    >> Subject: Re: Creative System Information (English : Adobe Premeire Pro
    >> .5
    >> and Adobe Audition) (KMM933384I6636L0KM)
    >>
    >>
    >> Dear Bill,
    >>
    >> Thank you for contacting Creative Technical Support.
    >>
    >> With regards to the issue you are having, I would really appreciate it
    >> if you can provide me with the model number of the sound card. It
    >> should
    >> start with CT or SB followed by 4 numbers found on the sound card. I
    >> also need the serial number which can be found on the sticker and the
    >> ink stamp which is printed on the back of the card. This number will
    >> not
    >> be located on any of the stickers and it will not be labeled. It is a
    >> number that has been stamped on the card itself, possibly near the
    >> outer
    >> edge of the card to determine the best advice for you.
    >>
    >> Did the sound card come pre-installed in the PC, comes in a plastic
    >> cover or brown box or did it come in a Creative retail box package?
    >>
    >> Below is a link that may help with the location of the model number.
    >>
    >> Run a keyword search for SID2456 from the link below.
    >>
    Link removed
    >>
    >> I also need you to try the following recording test.
    >>
    >> SELECT THE RECORDING SOURCE IN SURROUND MIXER
    >> . Go to Start Programs Creative SB Audigy Surround Mixer
    >> 2. Click on the Recording Source (should be on the right side of the
    >> mixer under the REC label)
    >> 3. Change the recording source to Analog Mix
    >> 4. Mute the other analog sources (Mic, CD Audio, Auxiliary, Tad, PC
    >> speaker) that you don't want recorded with the audio stream.
    >> 5. You may wish to select "record without monitoring" by click on the
    >> (+) above the Analog Mix recording source. This keeps the source from
    >> playing out to speakers while recording
    >>
    >> TEST RECORD THE AUDIO
    >> . Go to Start Programs Accessories Multimedia Sound Recorder.
    >> 2. Click the Record button (red dot)
    >> 3. Talk into the microphone
    >> 4. Let it record the source for a little bit
    >> 5. Hit the Stop button (black square)
    >> 6. Hit the play button (single arrow pointing right)
    >> 7. You should now hear the audio that you recorded.
    >>
    >> If you are still having issues, I recommend you to ensure the
    > following
    >> for the audio installation and test:
    >>
    >> - The card is the only card installed other than the Graphics card.
    >> - The card is at least one empty slot away from the Graphics card.
    >> - Place the soundcard away from all the others.
    >> - That the card is seated properly in the PCI slot.
    >> - Move the PC's internal wires away from the soundcard.
    >> - That the on-board sound on your motherboard is disabled through the
    >> BIOS.
    >> - That the on-board gameport is disabled through the BIOS.
    >> - That your motherboard BIOS is up-to-date.
    >> - That the operating system is up-to-date with the latest service
    > packs
    >> and patches.
    >> - That there are no background applications open when you attempt the
    >> solution.
    >> - That the anti-virus program is disabled.
    >> - That if you are over-clocking your system, return all options to
    >> their
    >> recommended settings.
    >> - That you access the PC with administrator rights.
    >>
    >> Do reply back to me if you are still having problems with any error
    >> messages prompted. Thanks.
    >>
    >> For faster service please reply with previous correspondence when
    >> replying to this email.
    >>
    >> Best Regards
    >> ,
    >>
    >> Ronshone
    >> Technical Support
    >> Creative Labs Americas
    >>
    >>
    >>
    >> To provide feedback on your "Creative Experience" please click on the
    >> following link:
    >>
    Link removed
    >>
    >> This link is provided so that you may provide feedback on your
    >> "Creative
    >> Experience". If you require further troubleshooting or have additional
    >> questions simply reply to the original mail and we will be glad to
    >> assist you.
    >>
    >> Original Message Follows:
    >> ------------------------
    >> User Detail
    >> ----------------------------------------
    >> Name : Bill Allen
    >> Email Address : [email protected]
    >> Self Description : Intermediate PC User
    >>
    >> Creative Product Information
    >> ----------------------------------------
    >>
    >> Problem Type : I need help with a third-party software application
    >>
    >> Problem lies with:
    >> ----------------------------------------
    >> Adobe Premeire Pro .5 and Adobe Audition
    >>
    >> Customer's System Specification
    >> ----------------------------------------
    >>
    >>
    >> Detailed Problem Description
    >> ----------------------------------------
    >> I can hear sound from my computers speakers. The diagnostic tests
    >> performed by the Creative software are all "OK", but I cannot record
    >> audio with either of the two programs mentioned above. I have checked
    >> everything I can think of and all of the settings appear to be "OK".
    > I
    >> have also updated the driver for the sound card. What can I do?
    >>
    >> Attachment :
    >> [ Attachment Type: application/octet-stream Name: CTSi.cab]

    TeamRacing6 wrote:
     b noir,
    I can get itunes to start if I disable Bonjour or if I "repair" it first. Sometimes I can repair Bonjour though add/remove programs, sometimes it will only "repair" using WinRar. Sometimes I have to "repair" Bonjour 2 or 3 times to get iTunes to start.
    I have tried uninstalling and reinstalling at least a dozen times. I have tried redownloading iTunes at least 5 times and from different links. This leads me to believe that the dnssd.dll file is not itself corrupt, but this newest version is causing a conflict with XP somewhere somehow.
    Team, iTunes 10.2.2.12 has just been released. I installed it and checked, and BonJour's been updated to version 2.0.5.0, and there's a new 2.0.5.0 version of dnssd.dll on my system. So I reckon it's worth a try updating to that to see if it's of any help with your trouble.

  • Problems with Custom File Info Panel and Dublin Core

    I'm creating a custom file info panel that uses the values of the dublin core description and keywords (subject) for two of it's own fields.  I'm having problems with the panel saving if they enter the description on the custom panel first, and with the keywords not echoing each other, or reappearing after a save.<br /><br />Here is the code for the panel<br /><br /><?xml version="1.0"><br /><!DOCTYPE panel SYSTEM "http://ns.adobe.com/custompanels/1.0"><br /><panel title="$$$/matthew/FBPanelName=Testing for Matthew" version="1" type="custom_panel"><br />     group(placement: place_column, spacing:gSpace, horizontal: align_fill, vertical: align_top)<br />     {<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/keywords = Keywords', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/keywordsFB = Keywords', locked: false, height: 60, v_scroller: true, horizontal: align_fill, xmp_ns_prefix: 'dc', xmp_namespace: <br />'http://purl.org/dc/elements/1.1/', xmp_path: 'subject');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/description = Description', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/descriptionFB = Description', locked: false, height: 60, v_scroller: true, horizontal: align_fill, xmp_ns_prefix: 'dc', xmp_namespace: <br />'http://purl.org/dc/elements/1.1/', xmp_path: 'description');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/season = Season', font: font_big_right, vertical: align_center);<br />               popup(fbname: '$$$/matthew/seasonFB = Season', items: '$$$/matthew/Season/Items={};option 3{option 3};option 2{option 2};option 1{option 1}', xmp_namespace:'http://monkeys.com/demo/testingmatthew/namespace/', xmp_ns_prefix:'matthew', xmp_path:'season');<br />          }<br />          group(placement: place_row, spacing: gSpace, horizontal: align_fill, vertical: align_top)<br />          {<br />               static_text(name: '$$$/matthew/ltf = Limited Text Field', font: font_big_right, vertical: align_center);<br />               edit_text(fbname: '$$$/matthew/ltf = Limited Text Field', locked: false, horizontal: align_fill, xmp_namespace:'http://monkeys.com/demo/testingmatthew/namespace/ ', <br />xmp_ns_prefix:'matthew', xmp_path:'ltf');<br />          }<br />     }<br /></panel><br /><br />Thanks for the help

    To answer my own question:
    The documentation really sucks.
    I found this reply from Adobe <http://forums.adobe.com/message/2540890#2540890>
    usually we recommend to install custom panels into the "user" location at:
    WINDOWS XP: C:\Documents and Settings\username\Application Data\Adobe\XMP\Custom File Info Panels\2.0\panels\
    WINDOWS VISTA: C\Users\username\AppData\Roaming\Adobe\XMP\Custom File Info Panels\2.0\panels\
    MAC OS: /user/username/Application Data/Adobe/XMP/Custom File Info Panels/2.0/panels/
    The reason why your panels did not work properly was a missing Flash trust file for that user location. Without such a trust file the embedded flash player refuses to "play" your custom panel.
    Please see section "Trust files for custom panels" in the XMPFileInfo SDK Programmer's Guide on page 50 for all details on how to create such trust files.
    After many wasted hours I have now the simple panels running.
    Cheers,
    H.Sup

  • A problem with custom painting.

    I was trying to make a bar chart from a given data. I used an extension JLabel (mentioned as inner class Leonardo) inside a scrollpane for the custom painting of the bars (rectangles).
    The problem I am facing is the component is not visible when I open the screen. If I drag the scrool bar then the next area is painted and the component looks fine. If the frame is minimized and then maximized the custom painting is not visible. Any idea why it is doing so? I am pasting the full code in case some body wants to run it.
    Thanks in advance,
    import javax.swing.*;
    import java.awt.*;
    import javax.swing.border.*;
    import java.awt.event.*;
    import java.util.Vector;
    import java.util.Hashtable;
    import java.util.Enumeration;
    import java.awt.geom.*;
    public class Reporter extends JFrame
    private JPanel basePanel = new JPanel();
    private Leonardo1 leo = null;
    private JScrollPane scrollPane = new JScrollPane();
    public Reporter()
    try
    jbInit();
    catch(Exception e)
    e.printStackTrace();
    public static void main(String[] args)
    Reporter reporter = new Reporter();
         reporter.pack();
         reporter.setSize(700,500);
    reporter.setVisible(true);
    private void jbInit() throws Exception
    this.setSize(new Dimension(679, 497));
    this.getContentPane().setLayout(null);
    this.setTitle("Process Reporter");
    // this.addWindowListener(new Reporter_this_windowAdapter(this));
    basePanel.setLayout(null);
    basePanel.setBounds(new Rectangle(15, 60, 640, 405));
    basePanel.setBorder(BorderFactory.createEtchedBorder(EtchedBorder.LOWERED));
    /* Hard code data */
    Vector d= new Vector();
    for (int j=0; j<131;j++)
    Data d1 = new Data(j*j*1.0,new java.sql.Date(System.currentTimeMillis()+j*1000000000),"yy","xx",Color.red);
    d.add(d1);
    leo = new Leonardo1(d);
    /*End of Hard Code data*/
    leo.setBounds(new Rectangle(10, 65, 656, 346));
    scrollPane.setBounds(new Rectangle(10, 10, 620, 330));
    scrollPane.getViewport().add(leo);
    basePanel.add(scrollPane, null);
    this.getContentPane().add(basePanel, null);
    class Data implements java.io.Serializable
    public double time;
    public java.sql.Date day;
    public String timeText;
    public String dayText;
    public Color color;
    public Data(double t,java.sql.Date dt, String strT,String strD,java.awt.Color col)
    time = t;
    day=dt;
    timeText=strT;
    dayText=strD;
    color=col;
    public void setTime(double t) {time =t;}
    public void setDay(java.sql.Date t) {day =t;}
    public void setTimeText(String t) {timeText =t;}
    public void setDayText(String t) {dayText =t;}
    public void setColor(Color t) {color =t;}
    public double getTime() {return time;}
    public java.sql.Date getDay() {return day;}
    public String getTimeText() {return timeText;}
    public String getDayText() {return dayText;}
    public Color getColor() {return color;}
    class Leonardo1 extends JLabel implements java.io.Serializable
    private Vector dataVec = new Vector();
    private double xGap = 5.0;//Gap between 2 bars
    private double xWidth = 12.0;//Width of a bar
    private double yGap = 40.0;//Gap from start of Y axis to first data.
    private int xLength = 645;//Length of the component
    private int yLength = 330;//Height of the component
    private int xMargin = 50;//The gap from the corner of the axis to the y axis
    private int yMargin = 20;//The gap from the corner of the axis to the x axis
    private double avgTime = 0.0;
    protected static Border noFocusBorder = new EmptyBorder(1, 1, 1, 1);
    public int getWidth(){ return xLength;}
    public int getHeight(){ return yLength;}
    public Dimension getMaximumSize(){return new Dimension(xLength,yLength);}
    public Dimension getMinimumSize(){return new Dimension(xLength,yLength);}
    public Dimension getSize(Dimension rv){ return new Dimension(xLength,yLength);}
    public Rectangle getBounds(Rectangle rv){ return new Rectangle(xLength,yLength); }
    public Leonardo1(Vector vec) {
         super();
    setOpaque(true);
    super.setBackground(Color.white);
    setData(vec);
    setBorder(noFocusBorder);
    protected void setData(Vector vec){
    if (vec == null) return;
    dataVec = (Vector)vec.clone();
    public void paintComponent(Graphics gin)
    super.paintComponent(gin);
    Graphics2D g2 = (Graphics2D)gin;
         // setBackground(Color.white);
    Color bl = Color.blue;
    g2.setPaint(bl);
    g2.setStroke(new BasicStroke(5.0f));
    drawData(g2,dataVec);
    g2.setPaint(Color.gray);
    g2.setStroke(new BasicStroke(0.5f));
    g2.draw(new Rectangle2D.Double(0, 0,xLength,yLength));
    g2.setStroke(new BasicStroke(1.5f));
    g2.draw(new Line2D.Double(xMargin, yMargin,xMargin,yLength -yMargin));
    g2.draw(new Line2D.Double(xMargin, yLength -yMargin,xLength -xMargin,yLength -yMargin));
    System.out.println("End1 ");
    public Dimension getPreferredSize(){
    if (dataVec.size()*(xGap+xWidth) > xLength)
    xLength = (int)(dataVec.size()*(xGap+xWidth));
    return new Dimension(xLength,yLength);
    else
    return new Dimension(xLength,yLength);
    protected void drawData(Graphics2D g2, Vector vec)
    if (vec == null || vec.size() == 0)
    return;
    //Check if expansion is required or not
    if (vec.size()*(xGap+xWidth) > (xLength - 2*xMargin))
    xLength = (int)(vec.size()*(xGap+xWidth)+xGap);//Expanded
    setPreferredSize(new Dimension(xLength,yLength));
    double maxTime = 0.0;
    double minTime = 0.0;
    double t=0.0;
    double total=0.0;
    for (int i=0;i<vec.size();i++)
    if ((t = ((Data)vec.elementAt(i)).getTime()) > maxTime)
    maxTime = t;
    if (t < minTime)
    minTime =t;
    total += t;
    avgTime = total/vec.size();
    System.out.println("Avg:"+avgTime+" tot:"+total);
    double scale = (yLength - 2*yMargin - 2*yGap )/(maxTime - minTime);
    //Now the y-axis scale is calculated, we can draw the bar.
    //Currently only bar is supported
    //I asume data are in the order of dates otherwise have to sort it here
    for (int i=1;i<=vec.size();i++)
    //Set color to fill
    if (((Data)vec.elementAt(i-1)).getColor() != null)
    g2.setPaint(((Data)vec.elementAt(i-1)).getColor() );
              //Fill
    g2.fill(new Rectangle2D.Double(xMargin+xGap+(i-1)*(xGap+xWidth), yMargin+yGap+/*length of active y axis*/
    (yLength-2*yMargin-2*yGap)-/*y value converted to scale*/(((Data)vec.elementAt(i-1)).getTime()- minTime)*scale,
    xWidth,(((Data)vec.elementAt(i-1)).getTime()- minTime)*scale+yGap));
    g2.setPaint(Color.black);
    g2.setStroke(new BasicStroke(0.5f));
    g2.draw(new Rectangle2D.Double(xMargin+xGap+(i-1)*(xGap+xWidth), yMargin+yGap+/*length of active y axis*/
    (yLength-2*yMargin-2*yGap)-/*y value converted to scale*/(((Data)vec.elementAt(i-1)).getTime()- minTime)*scale,
    xWidth,(((Data)vec.elementAt(i-1)).getTime()- minTime)*scale+yGap));
    g2.setPaint(Color.blue);
    float[] dash1 = {10.0f};
    g2.setStroke(new BasicStroke(1.5f,BasicStroke.CAP_BUTT, BasicStroke.JOIN_MITER, 10.0f, dash1, 0.0f));
    g2.draw(new Line2D.Double(xMargin,
    yMargin+yGap+/*length of active y axis*/(yLength-2*yMargin-2*yGap)-
    /*y value converted to scale*/(avgTime- minTime)*scale,
    xMargin+(xGap+xWidth)*vec.size()+xGap,
    yMargin+yGap+/*length of active y axis*/(yLength-2*yMargin-2*yGap)-
    /*y value converted to scale*/(avgTime- minTime)*scale));

    Replace getBounds(Rectangle) by the following.
    public Rectangle getBounds(Rectangle rv){
    if (rv != null) {
    rv.x = 0; rv.y = 0; rv.width = xLength; rv.height = yLength;
    return rv;
    } else
    return new Rectangle(xLength,yLength);

  • Problem with custom tag using TagExtraInfo

              Hi,
              I have a tag that create a Java variable using TEI. The scope of this
              variable is driving me crazy. The problem is hard to describe, so the
              email is a bit long - stay with me...
              <pre:setvar id="foo" value="test" /> create a Java variable
              named "foo", which has String value "test". I can use "foo" like this in
              the page later: <%= foo %>.
              Now, if I call setvar twice with same id:
              <pre:setvar id="foo" value="test" />
              <pre:setvar id="foo" value="another-test" />
              This is still ok. By checking the compiled Java file, the first call
              declare the var, the second call just use it without creating it again:
                   //first call
                   String foo=null;
                   foo="test";
                   //second call
                   foo="another test";
              Now the problem comes when the frist call is in "if" statement (code is not
              useful, only for demostration):
              <% if (1>0) { %>
                   <pre:setvar id="foo" value="test" />
              <% } %>
              <pre:setvar id="foo" value="another-test" />
              The compiled code looks like:
                   if (1>0) {
                        //first call
                        String foo=null;
                        foo="test";
                   //second call
                   foo="another test";
              Variable foo is out of scope at the second call! (BTW, I can workaround this by
              adding another <pre:setvar id="foo" value="" /> before the "if".)
              Is it a fault in JSP specification? Or a problem when WebLogic implements TEI?
              Any idea?
              Thanks,
              -- Jin
              

    I encountered the same problem in our environment. I did the same thing as
              James. Simply re-initialize all variables in the do end tag.
              Also, with the nested tags you use you may also need to implement cloneable
              in the inner tag if the outer tag keeps references to all the inner tag
              instances.
              For instance if the outer tag kept a vector of references to the inner tag,
              then you would need to use clone() on the inner tag before adding it to the
              vector.
              "James Lynn" <[email protected]> wrote in message
              news:3af05d29$[email protected]..
              > > But
              > > with WL 6.0, the cell tag handler reuse the same instance each time the
              > cell tag
              > > is called and the member field is not reset
              >
              > I had the same problem. As a work around, I reinitialize everything in my
              > doEndTag() method and it works.
              >
              >
              > --
              > James Lynn - Lead Software Architect
              > Oakscape - Java Powered eBusiness Solutions <http://www.oakscape.com/>
              >
              >
              

  • Problem with Join Queries using PHP and an Orcale Database

    Ok, I am trying to build a simple php querying tool for my oracle database and for the most part it is working however I am having a problem getting data from my join queries. If I run the following query :
    QUERY:
    SELECT lastfirst,EnteredBy,Debit FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    Lastfirst     EnteredBy     Debit
    caiu, test      204     1
    But when I run the query correctly I get no results
    QUERY:
    SELECT sts.lastfirst,gl.EnteredBy,gl.Debit FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    sts.lastfirst     gl.EnteredBy     gl.Debit
    and if I run the query combining the two above methods and adding a field (schoolid) that has the same name on both table I get the following result sets
    QUERY:
    SELECT lastfirst,EnteredBy,Debit,sts.schoolid FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    lastfirst     EnteredBy     Debit     sts.schoolid
    caiu, test      204     1     
    QUERY:
    SELECT lastfirst,EnteredBy,Debit,schoolid FROM students sts JOIN GLDetail gl ON gl.studentid=sts.id
    RESULT SET:
    NONE
    Therefore, I have to have something written incorrectly in my php code and I just can not figure it out. My entire code is pasted below please provide me with an assistance you might have to offer. I have change the odbc_connec line so I could post it to this forum. In addition, I had to phrase out the column headers there for when you write the column headers you have to use ~ instead of , as the separator and then I turn back into the correct format for sql.
    //These scripts just open help windows if somone clicks on the icon
    <script>
    function submit()
    {document.sqlform.submit();}
    </script>
    <script>
    function colwin(){
    window.open("colnames.php",null,"height=300,width=400,scrollbars=1");}
    </script>
    <script>
    function tabwin(){
    window.open("tablenames.php",null,"height=300,width=400,scrollbars=1");}
    </script>
    <script>
    function help(){
    window.open("http://www.w3schools.com/sql/default.asp",null,"height=500,width=700,scrollbars=1");}
    </script>
    <form method="post" action="<?php echo $PHP_SELF;?>" name="sqlform">
    <?php
    //Cookie to check for authorization to the site
    if($_COOKIE['cookie']=="CheckCookieForAuth")
    //These get the values of the textareas after the form has been submitted
    $sqlSELECT = $_POST["SELECT"];
    $sqlFROM = $_POST["FROM"];
    $sqlJOIN = $_POST["JOIN"];
    $sqlWHERE = $_POST["WHERE"];
    $sqlOTHER = $_POST["OTHER"];
    $sqlSELECTTYPE = $_POST["SELECTTYPE"];
    //This is the variable used to parse out my headers the user entered
    $sqlColNames = split('~',$sqlSELECT);
    //This converts the ~ separator to , so I can actually use it as part of my sql string
    $search = array('~');
    $replace = array(',');
    $mystring = $sqlSELECT;
    $sqlString = str_replace($search, $replace, $mystring);
    //These are the textareas and the drop down options that the end users has to create queries
    echo "<table border=0>";
    echo "<tr><td valign='top'>";
    echo "<B>SELECT TYPE</B> <BR><SELECT NAME=SELECTTYPE>
    <OPTION VALUE='SELECT' SELECTED>SELECT</OPTION>
    <OPTION VALUE='SELECT DISTINCT'>SELECT DISTINCT</OPTION>
    <OPTION VALUE='INSERT'>INSERT</OPTION>
    <OPTION VALUE='UPDATE'>UPDATE</OPTION>
    <OPTION VALUE='DELETE'>DELETE</OPTION>
    </SELECT>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=SELECT wrap=physical>$sqlSELECT</textarea>";
    echo "</td><td valign='top'>";
    echo "<img src='images/sqlC.jpg' width='25' height='25' onclick='colwin()'>";
    echo "</td></tr>";
    echo "<tr><td valign='top'>";
    echo "<b>FROM</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=FROM wrap=physical>$sqlFROM</textarea>";
    echo "</td><td valign='top'>";
    echo "<img src='images/sqlT.jpg' width='25' height='25' border=0 onclick='tabwin()'>";
    echo "</td></tr>";
    echo "<tr><td valign='top'>";
    echo "<b>JOIN</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=JOIN wrap=physical>$sqlJOIN</textarea>";
    echo "</td></tr>";
    echo "<tr><td valign='top'>";
    echo "<b>WHERE</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=WHERE wrap=physical>$sqlWHERE</textarea>";
    echo "</td></tr>";
    //This is where the end user would enter group by, having, order by, etc..
    echo "<tr><td valign='top'>";
    echo "<b>OTHER</b>";
    echo "</td><td>";
    echo "<textarea rows=2 cols=75 name=OTHER wrap=physical>$sqlOTHER</textarea>";
    echo "</td></tr>";
    This is a run query icon and a help icon
    echo "<tr><td colspan=2 align=right>";
    echo "<img src='images/RunQuery.jpg' width='30' height='28' onclick='submit()'> <img src='images/qm.jpg' border=0 width='25' height='25' onclick='help()'>";
    echo "</td></tr></table>";
    echo "<br>";
    echo "<br>";
    //This is where I connect to my remote oracle database
         $conn=odbc_connect('ODBC_ConnectionName','USERNAME','PASSWORD');
    //This is the sql string created by the end users
         $sql="$sqlSELECTTYPE $sqlString FROM $sqlFROM $sqlJOIN $sqlWHERE $sqlOTHER";
    //This executes the connection string and the sql string
         $rs=odbc_exec($conn,$sql);
    //This will display the query or a message if the query is empty
         if($rs!=NULL){
         echo "<table border=1>";
         echo "<tr>";
    //This loops through the string array the end user enter the field name text area to get column headers
         for($i=0; $i<count($sqlColNames); $i++)
         echo "<td>";
         print_r($sqlColNames[$i]);
         echo "</td>";
         echo "</tr><tr>";
    //This actually fetchs the rows from the statement and then display the data based on the column names the end user speificed
         while (odbc_fetch_row($rs))
              for($i=0; $i<count($sqlColNames); $i++)
                   $results=odbc_result($rs,$sqlColNames[$i]);
                   echo "<td>$results</td>";
              echo "</tr>";
         odbc_close($conn);
         echo "</table>";}else{echo "Results will be displayed here";}
    echo "<br><br>";
    echo $sql;
    else
    echo "Not logged in";
    ?>
    </form>

    This looks more like a SQL question than a PHP issue. There are a couple of JOIN examples at http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#i2066611 that might you work through the problem.

  • Urgent: Performance problem with where clause using IN and an OR condition

    Select statement is:
    select fl.feed_line_id
    from ap_expense_feed_lines_all fl
    where ((:1 is not null and
    fl.feed_line_id in (select distinct r2.object_id
    from xxdl_pcard_wf_routing_lists r2,
         per_people_f hr2
    where upper(hr2.full_name) like upper(:1||'%')
              and hr2.person_id = r2.person_id
    and r2.fyi_list is null
              and r2.sequence_number <> 0))
    or
    (:1 is null))
    If I modify the statement to remove the "or (:1 is null))" part at the bottom of the where clause, it returns in .16 seconds. If I modify the statement to only contain the "(:1 is null))" part of the where clause, it returns in .02 seconds. With the whole statement above, it returns in 477 seconds. Anyone have any suggestions?
    Explain plan for the whole statement is:
    (1) SELECT STATEMENT CHOOSE
    Est. Rows: 10,960 Cost: 212
    FILTER
    (2) TABLE ACCESS FULL AP.AP_EXPENSE_FEED_LINES_ALL [Analyzed]
    (2) Blocks: 8,610 Est. Rows: 10,960 of 209,260 Cost: 212
    Tablespace: APD
    (6) TABLE ACCESS BY INDEX ROWID HR.PER_ALL_PEOPLE_F [Analyzed]
    (6) Blocks: 4,580 Est. Rows: 1 of 85,500 Cost: 2
    Tablespace: HRD
    (5) NESTED LOOPS
    Est. Rows: 1 Cost: 4
    (3) TABLE ACCESS FULL XXDL.XXDL_PCARD_WF_ROUTING_LISTS [Analyzed]
    (3) Blocks: 19 Est. Rows: 1 of 1,303 Cost: 2
    Tablespace: XXDLD
    (4) UNIQUE INDEX RANGE SCAN HR.PER_PEOPLE_F_PK [Analyzed]
    Est. Rows: 1 Cost: 1
    Thanks in advance,
    Peter

    Thanks for the reply, but I have already checked what you are suggesting and I am pretty sure those are not causing the problem. The hr2.full_name column has an upper index and the (4) line of the explain plan shows that index being used. In addition, that part of the query executes on its own quickly.
    Because the sql is not displayed in an indented format on this page it is a little hard to understand the structure so I am going to restate what is happening.
    My sql is:
    select a_column
    from a_table
    where ((:1 is not null) and a_column in (sub-select statement)
    or
    (:1 is null))
    The :1 bind variable is set to a varchar2 entered on the screen of an application.
    If I execute either part of the sql without the OR condition, performance is good.
    If the :1 bind variable is null with the whole sql statement (so all rows or a_table are returned), performance is still good.
    If the :1 bind variable is a not-null value with the whole sql statement, performance stinks.
    As an example:
    where (('wa' is not null) and a_column in (sub-select statement)) -- fast
    where (('wa' is null)) -- fast
    where (('' is not null) and a_column in (sub-select statement) -- fast
    or
    ('' is null))
    where (('wa' is not null) and a_column in (sub-select statement) -- slow
    or
    ('wa' is null))

  • Problems with JDev 11g using JBOSS and ANT

    Hi,
    I'm trying to migrate to JDev 11g with JBoss ( version 7.X ) as the AppServer
    With JDev 10g all works fine with JBoss, even the Remote Debug, all OK
    here is the problems I have :
    1) ANT
    JDev doesn't save my ANT settings
    every time I launch ANT : Run Ant Target - I must set the Advance settings
    JDev 10g I only need to do that once, the settings are saved but not in the 11g, why ?
    2) persistence
    I get this error when deploying to JBoss
    16:34:50,967 INFO [org.jboss.as.server] (HttpManagementService-threads - 1) JBA
    S015870: Deploy of deployment "prod_v0.0.1_iDigital.menu.ear" was rolled back wi
    th failure message {"JBAS014771: Services with missing/unavailable dependencies"
    => ["jboss.persistenceunit.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp
    .war#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceun
    it.\"prod_v0.0.1_iDigital.menu.ear/iDigital.menu-WebApp.war#InfraModel\"jboss.na
    ming.context.java.jdbc.stdDS]","jboss.persistenceunit.\"prod_v0.0.1_iDigital.men
    u.ear#InfraModel\"jboss.naming.context.java.jdbc.stdDSMissing[jboss.persistenceu
    nit.\"prod_v0.0.1_iDigital.menu.ear#InfraModel\"jboss.naming.context.java.jdbc.s
    tdDS]"]}
    it seems that is something related to dependencies not well configured during build stage of the EAR, but with 10g works fine
    BTW, I can't run my project with WebLogic either, gives this error :
    <5/Abr/2013 18H27m BST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1365182860563' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    >
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'iDigital.menu'.>
    <5/Abr/2013 18H27m BST> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
         at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
         Truncated. see log file for complete stacktrace
    can someone give me a clue ?
    thanks
    Edited by: FernandoLeite on Apr 5, 2013 10:31 AM

    I can't say many about the ant stuff, but have you tried to put the parameters in a property file and use this to get the parameters to ant?
    The reason you can't run the application on WLS is that you have not installed the adf runtime on your wls. The error 'application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].' points to this.
    Timo

  • I don't want the 'chat' option. how can I disable it? I often get the message that I am being disconnected from chat because i've logged on from another computer. I never use chat, and it just seems to be a problem. How can I get rid of it?

    I often get the message that I am being disconnected from chat because i've logged on from another computer. I never use chat, and it just seems to be a problem. How can I get rid of it?

    Don't expect any wonders. If you use it heavily with multiple applications running at the same time, nobody can help you. It's physics: more usage => higher energy consumption.
    Here you can find some tips to reduce the battery consumption. My tip: close applications if you don't need them right now and reduce screen brightness.

  • Problems with Custom Paper Size and Address Book

    I'm having some trouble printing from Address Book onto a custom paper size. I'm attempting to set up a notecard, and only print one at a time, rather than multiple columns as in the Labels option. The trouble is that when creating this small size, Address Book doesn't recognize it as anything other than a regular sheet of US Letter, and thus prints the address in the middle of the page.
    I have no problem printing envelopes, though, which seems odd because they too go in the manual feed for my printer. The notecards are similar width to the envelopes, but only about half the length.
    Has anyone else experienced problems with custom paper sizes printing improperly? I'm using an HP 4515 LaserJet, but have access to a few other laser printers. Thanks for any insight

    I have had the same problem, and with the same result; Adobe Tech Support can't help or fix, after 15 hours on phone, Level 2 support. It is a software bug Adobe has, and can't seem to fix.  I just upgraded to Lightroom CC, and my problem migrated with the upgrade.  I print in Photoshop fine.
    If you found an answer, I would appreciate  knowing how to do it!
    Thanks

  • After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!

    After having yet another problem with my MacBook Pro and having to wipe the drive, I am now unable to sync my iPhones etc without erasing all the music on them. Is there a way around this? I have no other library!
    iTunes is a mess! It couldn't find it's own libraries and I was forced to create a new one. Now I don't know where my music is or if any's missing.

    columbus new boy wrote:
    How crap is that?
    It's not crap at all.
    It's not that simple. For example, I've 3500 songs on my MacBook but don't want them all on my phone, so I have to manually select each song again???
    There has to be a solution.
    Why not simply make a playlist with the songs you want on the iPhone?
    and maintain a current backup of your computer.

  • I'm using mac with the newest operating system (snow leopard 10.6.7). since I've updated to Firefox 4 It doesn't display Hebrew fonts- I didn't have any problems with it before the upgrade and in safari I don't have this problem.

    Hello, I'm using Mac with the newest operating system (snow leopard 10.6.7). since I've updated to Firefox 4 It doesn't display Hebrew fonts… I didn't have any problems with it before the upgrade and in safari I have no problem with it. please help me- I don't like to use safari a my browser...

    elly903 wrote:
    Before commenting - I CANNOT install Mavericks because it'll mess up the versions of Filemaker Pro and Quicken that I use regularly...
    Quicken 2007 for Intel (Snow Leopard, Lion, Mt. Lion and Mavericks) for $15:
    http://quicken.intuit.com/personal-finance-software/quicken-2007-osx-lion.jsp
    It will input your Quicken PPC data file directly if it was Quicken 2005 through 2007.  If older you need Quicken 2006 or 2007 PPC first to convert your data file; and this update must be done BEFORE you upgrade to Mavericks:
    http://quicken.intuit.com/support/help/patching/quicken-2006-manual-updates--mac -/GEN82200.html
    Filemaker Pro PPC (in this case 7) running in Snow Leopard Server installed into Parallels for use in Lion, Mt. Lion and Mavericks:
                                  [click on image to enlarge]
    Snow Leopard Server: 1.800.MYAPPLE (1.800.692.7753) - Apple Part Number: MC588Z/A (telephone orders only)
    This solution allows you to run your Photoshop Elements in Mavericks concurrently with Filemaker Pro PPC.  Mavericks is a free download.

  • CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there

    CS 4 Dynamic Link to Encore doesn't work most of the time.  Encore stops operating after opening and periodically Premier Pro stops working.  I'm told that there has been a problem with CS4 when using Dynamic Link to go to Encore and build CD's.  Is there a way around this?  Is there a patch to correct it?

    To build CD's???
    What problem does Encore have with DL?
    If DL is not working properly for you the way around this is to export from Premiere to either mpeg2-dvd for DVD or BluRay H.264 for BD-disks and import the files in Encore.

  • Is anyone having problems with the battery drains quickly and the iphone4 heats up in use and in charging after upgrading to 5.1.1?

    Is anyone having problems with the battery drains quickly and the iphone4 heats up in use and in charging after upgrading to 5.1.1?

    I have had the same problem but I seem to be getting somewhere to fixing it!!! My battery was going down at 20% an an hour now its 10% with constant use and 5 in standby !!! So improvement all round
    First I did a restore then I drained the battery i started to charge it and when it came on I turned the phone off completely and let it charge to 100% I then left it for a couple of hours on charge at 100. I saw no improvement after 1st drain so I repeated the drain battery and charge steps again with the phone turned off when charging and have seen a very big improvement. I am going to do it again tonight and hopefully problem solved!!!!
    The next issue is iMessage as that's playing up and wifi drop out
    Good luck

  • I HAVE PROBLEMS WITH LION 10.7.1 AND THE PRINTER EPSON STYLUS TX515FN, DOES SOMEBODY KNOW IF IT IS POSSIBLE TO BE USED?

    I HAVE PROBLEMS WITH LION 10.7.1 AND THE PRINTER EPSON STYLUS TX515FN, DOES SOMEBODY KNOW IF IT IS POSSIBLE TO BE USED?

    Yes it is, you must install the driver. Download the driver from here here:
    http://www.latin.epson.com/v4/asp/soporteDrivers.asp?idProducto=C11CA49212

Maybe you are looking for

  • Error while trying to retrieve text ......

    Hello, while connecting to Oracle 8i from my VB program i get the following error. -2147217843[Oracle][ODBC][Ora] Error while trying to retrieve text for error ORA-12154. but i get the connection in debug mode. please give any guidance. I am using Or

  • Home page not loading in some machines

    I develop one site & released to the server but some machine home page not loading. We can see the message done only. Is it possible to load the page without the Flash Player.

  • How to edit this help

    I have inherited a project that has about four sub-folders and a hundred odd HTML files. Now I need to add a few pages to this help project, I can add the individual help pages but the issue is how do I update the TOC (toc_oc.htm) because when I open

  • Youtube Safe Search excessive

    I have just updated my filtering system for one of my clients who are a first school. Because of the difficulty of getting HTTPS filtering working I have decided to rely on redirecting www.google.co.uk and www.youtube.com to forcesafesearch.google.co

  • Truncated songs after importing to Mac from PC

    I got an iMac a month or so ago, and I imported my iTunes colelction from my old PC. But I've realized that a lot of the songs I imported have been truncated -- maybe the last minute or so. Any suggestions -- do I need to delete and re-import? The ti