Layout manager issue.

I was hoping that someone could shed some light on why one layout manage will allow an applet to be inserted in a class that extends JFrame but not another.
Here is the guts of the problem I have an class that extends applet to display a pie chart. I then have a seperate class that extends JFrame that display two input boxes and a button. When the user enters two fields and clicks draw the pie chart displays working with the two numbers. The JFrame class that works uses the border layout. I change the class to use gridbag, and now only the textboxes display. Can anyone help. Here is the code for the three classes.
This is the applet class....
* File: PieChart.java
* PieChart class is an Swing applet that use a pie chart
* to show the percentage. It is used by PieChartExample
* to show what percetange of a payment actually goes to
* pay interest. There is no error handling in the program.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
public class PieChart extends JApplet {
final static Color bg = Color.white;
final static Color fg = Color.black;
private double percent;
public void init() {
//Initialize drawing colors
setBackground(bg);
setForeground(fg);
percent = 1.0;
     public void setPercentage(double pct) {
          this.percent = pct;
public void paint(Graphics g) {
Graphics2D g2 = (Graphics2D) g;
g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON);
g2.setPaint(fg);
drawAnnotation(g2);
drawArc(g2, percent);
public void drawAnnotation(Graphics2D g2) {
          // draw a small green circle
          g2.setPaint(Color.green);
g2.fill(new Ellipse2D.Double(200, 200, 10,10));
// draw a small red circle
g2.setPaint(Color.red);
g2.fill(new Ellipse2D.Double(270, 200, 10, 10));
g2.setPaint(Color.black);
g2.drawString("Interest", 210, 210); // write "Interest" by green circle
g2.drawString("Principal", 280, 210); // write "Principal" by red circle
     public void drawArc(Graphics2D g2, double percent) {
// draw the interest portion
          g2.setPaint(Color.green);
          g2.fill(new Arc2D.Double(10,10,200,200, 0, percent * 360, Arc2D.PIE));
          // draw the rest (principal portion)
          g2.setPaint(Color.red);
          g2.fill(new Arc2D.Double(10,10,200,200, percent * 360, (1-percent)*360, Arc2D.PIE));
This is the JFrame class using Boarderlayout that works.
* File: PieChartExample.java
* The program demonstrate a simple use of pie chart. It takes total
* payment and interest paid from user input and draws a pie chart
* to show the percentage of interert to total payment. There is no
* error handling whatsoever in the example program, so you can see
* that it can be broken easily.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
public class PieChartExample extends JFrame {
     final static int CHART_WIDTH = 800;
     final static int CHART_HEIGHT = 300;
     JPanel panel ;
     JLabel paymentLabel;
     JTextField paymentField;
     JLabel interestLabel;
     JTextField interestField;
     JButton show;
PieChart applet;
public PieChartExample() {
super("Pie Chart Example");
panel = new JPanel();
paymentLabel = new JLabel("Payment: $");
panel.add(paymentLabel);
paymentField = new JTextField(10);
panel.add(paymentField);
interestLabel = new JLabel("Interest: $");
panel.add(interestLabel);
interestField = new JTextField(10);
panel.add(interestField);
show = new JButton("Draw");
panel.add(show);
this.getContentPane().add("North", panel);
applet = new PieChart();
this.getContentPane().add("Center", applet);
show.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent evt) {
                    double interest = Double.parseDouble(interestField.getText());
                    double payment = Double.parseDouble(paymentField.getText());
                    double percent = interest / payment;
                    //System.out.println("In event handler, percent is " + percent);
                    applet.setPercentage(percent);
                    applet.repaint();
private static void createAndShowGUI() {
PieChartExample f = new PieChartExample();
f.pack();
f.setSize(new Dimension(CHART_WIDTH ,CHART_HEIGHT));
f.show();
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
This is the modified class to use GridBag that fails.
* File: PieChartExample2.java
* The program demonstrate a simple use of pie chart. It takes total
* payment and interest paid from user input and draws a pie chart
* to show the percentage of interert to total payment. There is no
* error handling whatsoever in the example program, so you can see
* that it can be broken easily.
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
public class PieChartExample2 extends JFrame {
     final static int CHART_WIDTH = 800;
     final static int CHART_HEIGHT = 300;
     JPanel panel ;
     JLabel paymentLabel;
     JTextField paymentField;
     JLabel interestLabel;
     JTextField interestField;
     JButton show;
PieChart applet;
public PieChartExample2() {
super("Pie Chart Example");
// Get container and set layout manager
Container contentPane = getContentPane();
GridBagLayout gridbag = new GridBagLayout();
GridBagConstraints c = new GridBagConstraints();
contentPane.setLayout(gridbag);
c.fill = GridBagConstraints.HORIZONTAL;
panel = new JPanel();
paymentLabel = new JLabel("Payment: $");
panel.add(paymentLabel);
paymentField = new JTextField(10);
panel.add(paymentField);
interestLabel = new JLabel("Interest: $");
panel.add(interestLabel);
interestField = new JTextField(10);
panel.add(interestField);
show = new JButton("Draw");
panel.add(show);
c.gridx = 0;
c.gridy = 0;
gridbag.setConstraints(panel, c);
contentPane.add(panel);
applet = new PieChart();
c.gridx = 0;
c.gridy = 1;
gridbag.setConstraints(applet, c);
contentPane.add(applet);
show.addActionListener(new ActionListener() {
               public void actionPerformed(ActionEvent evt) {
                    double interest = Double.parseDouble(interestField.getText());
                    double payment = Double.parseDouble(paymentField.getText());
                    double percent = interest / payment;
                    //System.out.println("In event handler, percent is " + percent);
                    applet.setPercentage(percent);
                    applet.repaint();
private static void createAndShowGUI() {
PieChartExample2 f = new PieChartExample2();
f.pack();
f.setSize(new Dimension(CHART_WIDTH ,CHART_HEIGHT));
f.show();
public static void main(String[] args) {
//Schedule a job for the event-dispatching thread:
//creating and showing this application's GUI.
javax.swing.SwingUtilities.invokeLater(new Runnable() {
public void run() {
createAndShowGUI();
}

Ok. It seems I may be wrong and that this may not be a concurrent call issue. I overode the components setBounds and setLocation methods and it appears that an external class is updating the position of these components while layoutContainer is attempting to position them. I can see that the correct positions are being set in the setBounds method, but this is happening after layoutContainer has called getLocation on the components. To be a little more specific, I am using a JLayeredPane to display some overlapping JLabels with images. I have implemented drag and drop on these labels so that dropping one on another swaps the images. The label positions and sizes are not being changed during the drop (I don't want them to move or resize just change images). However, for some reason I have yet to discover, two calls to set bounds are being made on the labels. The first call is relocating the label to the second labels position, the second call is relocating the label back to it's original position. If anyone has any insight on why the label position are changing when I am not explicitly repositioning them please reply. I will post another reply when I have corrected the problem or found a work around for it. I am awarding the dukes to tjacobs1 since he was the only responses I've had so far.

Similar Messages

  • Which layout manager can do this?

    Heya folks.
    I've been developing a piece of software and laid out the UI by hand (not using any NetBeans or whatever).
    What i have issue with now is setting 3x JTextFields to 33% of the frame's width. Im using GridBagLayout with constraints and cannot achieve that effect.
    Here is the example of what im trying to achieve (and yes its photoshoped, well....actually "MSpaint"ed :P )
    http://i51.tinypic.com/2u7osvb.png
    I want to have a JLabel over each JTextField too.

    Kleopatra wrote:
    Darryl Burke wrote:
    I would nest panels with different layouts to achieve the same result more easily.nesting is for nerds <g> Or slaves, being bound to core LayoutManagers. Or people that post to these forums and expect answers that start with anything other than "Go ask the 3rd party developer..".
    As a side note. Not that I am doubting the power of the LMs you outlined. To read Karsten's* (JGoodies) posts on public forums indicates he has a far better grasp of easy & fluid layout management than is incorporated in many of the core layouts.
    * Disclaimer: I was granted a free license to use JGoodies PLAFs and layouts - though I have been very slack in not using it to full advantage.

  • Problems with integrating YUI Layout Manager with APEX

    Hello,
    I have a problem about the YUI Layout Manager and APEX.
    This is the link to the Layout Manager, which I want to integrate:
    http://developer.yahoo.com/yui/layout/
    I tried to integrate it and in Firefox everything is fine!
    But with Internet Explorer the page is damaged.
    Look at the sample on apex.oracle.com:
    http://apex.oracle.com/pls/otn/f?p=53179:1
    Can anybody help me with this issue?
    I think this couldn`t be a big problem, becaus in FF it works correctly, but I don`t get the point to run that in IE7.
    Thank you,
    Tim

    Hello,
    now I put some color in it, but it does not help me pointing out the problem.
    The Login for my Account is:
    My Workspace is: EHRIC02
    Username: [email protected]
    Password: ehric02
    Is there anybody who have implementet the YUI Layout Manager with APEX? Perhaps that isn`t possible with APEX?
    I know that John Scott played with YUI a few times, has he tried out the Layout Manager?
    Thank you,
    Tim

  • Delete the Folder Defined during Report & Layout manager Process

    Hi everyone,
    I have created a folder within inventory reports during Report & Layout manager Process ,
    while adding a crystal report in SAP.  Now I want to delete that folder. but delete option is only for
    report, not for folder. Please if anyone can help me on this.
    I am working on
    SAP 8.8 PL08
    Thanks
    Annu

    Hi,  all
    I have the same issue  and I can't delete the folder from user authorizations,
    I deleted the report from Layouts  & Reports but the crystal reports .RPT still in the form "User Authorizations"
    I have SAP 8.8 PL 17.
    What can I do???
    Thanks

  • Does anyone know how to win a fight with layout manager?

    I am using the form designer in netBeans to design my page, which has a jPanel on the left and a number of controls on the right.
    My problem is that when I eventually get it to look half right at design time, it looks different at run time. The fonts are different, the combo boxes are a different height and some of my text boxes are 4 times as wide. http://RPSeaman.googlepages.com/layout.GIF shows both the design-time view and the run-time view. How can I win my fight with layout manager?

    I'd like to do an experiment where you take say 20 pairs of students of java, with each pair matched in terms of prior programming and java experience, general knowledge, etc... and set one of each pair to learn Swing using netbeans and its layout generator with the other pair learning to code Swing by hand. Then 6 months later compare their abilities. I'll bet that the code by hand group will blow the other group out of the water in terms of understanding and ability.
    Just my 2 Sheckel's worth.

  • Delete Crystal Report Design in Report and Layout Manager

    Hi All
    How to permanently delete a customised Crystal Report Design imported in Report and Layout Manager?
    There is no Delete button at all unlike Form Design?
    Kedalene Chong

    Hi Nagarajan
    Please see image attached, already login as superuser but there is no Delete button for imported Crystal Report Design in Report and Layout Manager.

  • Placing components without layout manager not working

    Hey there, I am working on a java game version of pong which I have begun to try and do using Java Swing. The problem I am currently having is reposition the components in the main window part of the game which is were the user can start a new game or close the program. I having tried using the absolute positioning by setting the layout manager to null but then everything goes blank. I can't figure out why this is not working. Here is the code so far...
    import javax.swing.*;
    import java.awt.*;
    public class SwingPractice extends JFrame
        private Container contents;
        private JLabel titleLabel;
        private JButton startGameButton;
        public SwingPractice()
            super("SwingPractice");       
            contents = getContentPane();
            contents.setLayout(null);
            this.getContentPane().setBackground(Color.BLUE);
            startGameButton = new JButton("Start Game");
            startGameButton.setFont(new Font("Visitor TT1 BRK", Font.PLAIN, 24));
            startGameButton.setForeground(Color.cyan);
            startGameButton.setBackground(Color.blue);       
            startGameButton.setBounds(350,350, 75, 75);
            titleLabel = new JLabel("The Amazing Ping Pong Game!!");
            titleLabel.setForeground(Color.cyan);
            titleLabel.setBackground(Color.blue);
            titleLabel.setOpaque(true);
            titleLabel.setFont(new Font("Visitor TT1 BRK", Font.PLAIN, 24));
            titleLabel.setBounds(0,350, 75, 75);
            contents.add(startGameButton);
            contents.add(titleLabel);
            setSize(700,350);
            setResizable(false);
            setVisible(true);
        /*private class SwingPracticeEvents implements ActionListener
        public static void main(String [] args)
            SwingPractice window = new SwingPractice();
            window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
       Any other critiquing would be greatly appreciated. Thank you.
    Edited by: 804210 on Oct 21, 2010 1:30 PM

    804210 wrote:
    Hey there, I am working on a java game version of pong which I have begun to try and do using Java Swing. The problem I am currently having is reposition the components in the main window part of the game which is were the user can start a new game or close the program. I having tried using the absolute positioning by setting the layout manager to nullDon't. Ever. Never. Well, mostly.
    Read the tutorial chapter about [url http://java.sun.com/docs/books/tutorial/uiswing/layout/index.html]Laying out components. It even features a section on absolute positioning - which you should skip reading, of course! :o)
    And read this old Sun topic: http://forums.sun.com/thread.jspa?threadID=5411066
    Edited by: jduprez on Oct 21, 2010 10:48 PM

  • Report & Layout Manager

    Hi,
    I have created User defined form. Now i have to display report when click on Preview button (Same as Standard document).
    Can we use report & layout manager to display report.
    Regards,
    Pravin

    Hello
    possible with development, and it is pending from the B1 version.
    Easy solutions are:
    - 8.81 you can use Crystal Reports and PLD
    - 2007 you can use PLD only or CR integration addon
    in Crystal:
    - You can create your layout and you can import into the system as report (not layout) into a specific folder
    - When you press the print or print preview button (eg menu action is indicated, menu id "520", "519"), then you can find the crystal report in the OCMN table with the following query
    select MenuUID from OCMN where Name = N'YOUR_REPORT_NAME'
    - next step is call the report with ActivateMenuItem and fill the parameters.
    Complete code for crystal
                Dim oRs As SAPbobsCOM.Recordset = oCompany.GetBusinessObject(BoObjectTypes.BoRecordset)
                Dim sQuery As String
                Dim sMenuID As String
                sQuery = "select MenuUID from OCMN where Name = N'YOUR_REPORT_NAME"
                oRs.DoQuery(sQuery)
                If oRs.Fields.Count > 0 Then
                    sMenuID = oRs.Fields.Item("MenuUID").Value.ToString
                    m_SBO_Application.ActivateMenuItem(sMenuID)
                    Dim oForm As SAPbouiCOM.Form = SBO_Application.Forms.ActiveForm
                    oForm.Items.Item("1000003").Specific.String = docentry
                    m_CrystalCriteriaFormID = oForm.UniqueID
                    oForm.Items.Item("1").Click(BoCellClickType.ct_Regular)
                Else : m_SBO_Application.MessageBox("NO PRINTING LAYOUT EXISTS!")
                End If
    In PLD, the logic is the same, but you must activate the User Queries print layout, and locate the report in the matrix.
    Regards
    János

  • The Ultimate Guide to Resolving Profile and Device Manager Issues

    The following article also applies to issues after re-setting the severs' hostname. It also applies to situations where re-setting the Code Signing Certifictateas described by Apple has not resolved the issue.
    Hello,
    I have been plagued with Profile Manager and Device Manager issues since day one.
    I would like to share my experience and to suggest a way how to resolve issues such as device cannot be enrolled or Code Signing Certificate not accepted.
    I shall try to be as brief as possible, just giving an overview of the steps that resolved my issues. The individual steps have been described elsewhere in this forum. For users who have purchased commercial SSL certs the following may not apply.
    In my view many of these issues are caused by missing or faulty certificates. So let us first touch on the very complex matter of certificates.
    Certificates come in many flavours such as CA (Certificate Authority), Code Signing Certificate, S/MIME and Server Identification.
    (Mountain?) Lion Server creates a so-called Intermediate CA certificate (IntermediateCA_hostname_1") and Server Identification Certificate ("hostname") when it installs first. This is critical for the  operation of many server functionalities, including Open Direcory. These certs together with the private/public keys can be found in your Keychain. Profile  and Device Manager may need a Code Signing Certificate.
    The most straightforward way to resolve the Profile Manaher issues is in my view to reset the server created certicates.
    The bad news is that this procedure involves quite a few steps and at least 2 hours of your precious time because it means creating a fresh Direcory Master.
    I hope that I have not forgotten to mention an important step. Readers' comments and addenda are welcome.
    I shall outline a sensible strategy:
    1. Clone your dysfunctional server to an external harddrive (SuperDuper does a reliable job)
    2. Start the server fom the clone and shut down ALL services.
    3. It may be sensible to set up a root user access.
    4. Back-up all user data such as addess book, calendar and other data that you *may* need to set up your server.
    5. Open Workgroup Manager and export all user and workgroup accounts to the drive that you using to re-build your server (it may cause problems if you back-up to an external drive).
    6. Just in case you may also want to back-up the Profile Manager database and erase user profiles:
    In Terminal (this applies to Lion Server - paths may be diferent in Mountain Lion !)
    Backup: sudo pg_dump -U _postgres -c device_management > $HOME/device_management.sql
    Erase database:
    sudo /usr/share/devicemgr/backend/wipeDB.sh
    7. Note your Directory (diradmin) password for later if you want to re-use it.
    8. Open Open Server Admin and demote OD Master to Standalone Directory.
    9. In Terminal delete the old Certificate Authority
    sudo rm -R /var/root/Library/Application\ Support/Certificate\ Authority/
    This step is crucial because else re-building you OD Master will fail.
    9. Go back to Server Admin and promote the Standalone Directory to OD Master. You may want to use the same hostname.
    10. When the OD Master is ready click on Overview and check that the LDAP and Keberos Realm reflect your server's hostname.
    11. Go back to Workgroup Manager and re-import users and groups.
    NOTE: passwords are not being exported. I do not know how to salvage user passwords. (Maybe passwords can be recovered by re-mporting an OD archive - comments welcome! ).
    12. Go to Server App and reset passwords and (not to forget) user homefolder locations, in particular if you want to login from a network account!
    If the home directory has not been defined you cannot login from a network account.
    13. You may now want to restore Profile Manager user profiles in Terminal. Issue the following commands:
    sudo serveradmin stop devicemgr
    sudo serveradmin start postgres
    sudo psql -U _postgres -d device_management -f $HOME/device_management.sql
    sudo serveradmin start devicemgr
    14. You can now switch back on your services, including Profile Manager.
    In Profile Manager you may have to configure Device Management. This creates a correct Code Signng Certicate.
    15. Check the certificate settings in Server App -> Hadware -> Settings-> SSL Certificates.
    16. Check that Apple Push Notifications are set.(you easily check if they are working later)
    17. You may want to re-boot OS Server from the clone now.
    18. After re-boot open Server App and check that your server is running well.
    19. Delete all profiles in System Preferences -> Profiles.
    19. Login to Profile Manager. You should have all users and profiles back. In my experience devices have to be re-enrolled before profiles can be pushed and/or devices be enrolled. You may just as well delete the displayed devices now.
    20. Grab one of your (portable) Macs that you want to enrol and go to (yourhostname)/mydevices and install the server's trust profile. The profile's name  should read "Trust Profile for...) and underneath in green font "Verified".
    21. Re-enrol that device. At this stage keep your finger's crossed and take a deep breath.
    22. If the device has been successfully enrolled you may at last want to test if pushing profiles really works. Login to Profile Manager as admin, select the newly enrolled device. Check that Automatic Push is enabled (-> Profile -> General). Create a harmless management profile such as defining the dock's position on the target machine. (Do not forget to click SAVE at the end - this is easily missed here). If all is well Profile Manager will display an active task (sending) and the dock's position on the target will have changed in a few seconds if you are on a LAN (Note: If sending seems to take forever: check on the server machine and/or on your router that the proper ports are open and that incoming data is not intercepted by Little Snitch or similar software).
    Note: if you intend to enrol an Apple iPhone you may first need to install the proper Apple Configuration software.
    Now enjoy Profile and Device Manager !
    Regards,
    Twistan

    HI
    1. In Action profiles, logon to system and recheck correcion are available in action definition as well in condition configuration and the schedule condition is also maintained. but the display is not coming(i.e in the worklist this action is not getting displayed).
    You can check the schedule condition for the action and match the status values...or try recreating the action with schedule condition again....for customer specific ....copy the standard aciton with ur zname and make a schedule condition and check the same.
    2, In suppport team of incident when i give individual processor it throwing a warning that u r not the processor. but when i give org unit it is working perfectly. Could anyone guide on this.
    You need to have the empolyee role for BP ..goto BP and got here dropdown for ur bp and choose role Employee and then enter ur userid
    also make sure that u have the message processing role
    Hope it clarifies ur doubt and resolve ur prob
    Regards
    Prakhar

  • Need suggestion regarding Layout Manager using Swing in Java

    I have developed a swing application where i am having problem with selecting the right layout manager.
    I am attaching the file where it contains the method for addingComponents to the Content Pane. But, the code that i have written
    contains lot of spaces between first panel and second panel and so forth.
    Please suggest.
    <<Code>>
    public void addComponentsToPane(Container contentPane) {
              this.contentPane = contentPane;
    //          File Panel
              JPanel jfile1panel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              JPanel jfile2panel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              JPanel jfile3panel = new JPanel(new FlowLayout(FlowLayout.CENTER));
              JLabel jfile1 = new JLabel("Select File:");
              jtfile1 = new JTextField(50);
              jbfile1 = new JButton("Button1");
              jfile1panel.add(jfile1);
              jfile1panel.add(jtfile1);
              jfile1panel.add(jbfile1);
              jbfile1.addActionListener(this);
              JLabel jfile2 = new JLabel("Select File:");
              jtfile2 = new JTextField(50);
              jbfile2 = new JButton("Button2");
              jfile2panel.add(jfile2);
              jfile2panel.add(jtfile2);
              jfile2panel.add(jbfile2);
              jbfile2.addActionListener(this);
              JLabel jfile3 = new JLabel("Select File:");
              jtfile3 = new JTextField(50);
              jbfile3 = new JButton("Button3");
              jfile3panel.add(jfile3);
              jfile3panel.add(jtfile3);
              jfile3panel.add(jbfile3);
              jbfile3.addActionListener(this);
              //Button Panel
              JPanel jbuttonpanel = new JPanel();
              jbuttonpanel.setLayout(new FlowLayout(FlowLayout.CENTER));
              JButton jbcmd1 = new JButton("Submit");
              JButton jbcmd2 = new JButton("Cancel");
              jbuttonpanel.add(jbcmd1);
              jbuttonpanel.add(jbcmd2);
              jbcmd1.addActionListener(this);
              jbcmd2.addActionListener(this);
              //Content Pane               
              contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
              contentPane.add(jfile1panel);
              contentPane.add(jfile2panel);
              contentPane.add(jfile3panel);
              contentPane.add(jbuttonpanel);
    }

    But, the code that i have written contains lot of spaces between first panel and second panel and so forth.use pack(), see if it makes a difference
    as you're using FlowLayout, make the frame not resizable

  • Power Mac G5 DP1.8GHz - Bad Logic Board or Power Management Issue?

    I have a Power Mac G5 DP1.8GHz/1.5GB/80GB which I bought non-working. It has not yet been disassembled or examined by a certified tech. This is it's issue (which replicates): the computer powers on. It makes a single warning tone, then the LED flashed at least 15 times (too fast to count). Then the posting chord is heard. Hard drive spins up. Then nothing (no video). Won’t boot from any disk. I have changed the RAM and tested the RAM banks with known-to-be-good RAM from another DP1.8GHz G5. The warning tone stopped once or twice after this switch, but then it didn’t chime. I changed the PRAM battery, but not with as new one. However, after installing the used one and then resetting the PMU, it displayed video briefly for the first time. While installed in the other 1.8GHz G5, the hard drive was formatted, given a clean install of OS X 10.4.11, and then moved into this computer where is never mounts. The computer is not accessible through TDM.
    Do I have a bad logic board? Bad CPUs? A power managment issue? A RAM issue?

    Through my own trial and error troubleshooting, I have found the CPUs to be in good working order and the logic board passes the Apple Service Diagnostic every time. Despite the installation of numerous pairs of modules that worked in another DP1.8GHz, the computer has a RAM issue-it gives the "no good RAM" tone most of the time when it powers up (after a PMU reset it does not). Also the computer boots from disk or into Open Firmware but the disk utility can't see either hard drive so I may have a bad SATA controller.

  • Color Management issues with Illustrator

    Can someone help me figure out the color management issues I'm getting when printing on an Epson 3880 from Illustrator?
    The image comes out severely red as evident on the face. I'm not getting the same problem when printing from Photoshop, even though I set same paper profile in printing dialog box.
    I attached two printed picture (one from Photoshop CC, and one from Illustrator CC) that I took with my iphone so that you can see the printed result.  Even when I try to simulate same thing using illustrator soft proofing process, the soft proof does not show me anything close to how it gets printed out. And I tried all device simulations to see if any would match it. Im using  CMYK SWOP v2 for Color space in both programs.

    Dougfly,
    Only an hour wasted? Lucky you. Color is an incredibly complex subject. First, forget matching anything to the small LCD on the back of your camera. That's there as a basic guide and is affected by the internal jpg algorithm of your camera.
    2nd, you're not really takeing a color photo with your digital camera, but three separate B&W images in a mosaic pattern, exposed thru separate red, green and blue filters. Actual color doesn't happen until that matrix is demosaiced in either your raw converter, or the in-camera processor (which relies heavily on camera settings, saturation, contrast, mode, etc.)
    Having said the above, you can still get very good, predictable results in your workflow. I have a few color management articles on my website that you might find very helpful. Check out the Introduction to Color Management and Monitor and Printer Profiling. In my opinion, a monitor calibration device is the minimum entry fee if you want decent color.
    http://www.dinagraphics.com/color_management.php
    Lou

  • Layout Management in Table Control

    Hi Dialog Programming Experts,
    I have a new requirement - adding Layout Management options in Table Control. This is dialog/module programming, not ALV Report. Is there a function module for this?
    Thanks so much in advance for your help.
    Regards,
    Joyreen

    Hi
    For filter use the following function modules,
    l_rightx-id = l_index.
      l_rightx-fieldname = 'DESCR'.
      l_rightx-text = text-054.
      APPEND l_rightx TO i_rightx.
      l_index = l_index + 1.
      CLEAR l_rightx.
      l_rightx-id = l_index.
      l_rightx-fieldname = 'DEL_CM'.
      l_rightx-text = text-055.
      APPEND l_rightx TO i_rightx.
    CALL FUNCTION 'CEP_DOUBLE_ALV'
           EXPORTING
                i_title_left  = text-034
                i_title_right = text-035
                i_popup_title = text-036
           IMPORTING
                e_cancelled   = l_cancelled
           TABLES
                t_leftx       = i_leftx[]
                t_rightx      = i_rightx[].
    Firstly populate the right table with all fields which you want in the filtering condition. The left table will be populated once the use selects some fields and transfer it to the left portion of the dialog.
    Then use the following FM like this.
    DATA: i_group TYPE lvc_t_sgrp.
          CALL FUNCTION 'LVC_FILTER_DIALOG'
               EXPORTING
                    it_fieldcat   = i_fldcat1
                    it_groups     = i_group
               TABLES
                    it_data       = i_ziteminvoice[]
               CHANGING
                    ct_filter_lvc = i_filter
               EXCEPTIONS
                    no_change     = 1
                    OTHERS        = 2.
    here filter table should have fields from left table above.
    Once you get the filter data, populate range table for each fields and then delete your internal table using these range.
    CASE l_filter-fieldname.
                  WHEN 'ITMNO'.
                    l_itmno-sign = l_filter-sign.
                    l_itmno-option = l_filter-option.
                    l_itmno-low = l_filter-low.
                    l_itmno-high = l_filter-high.
                    APPEND l_itmno TO li_itmno.
                    CLEAR l_itmno.
    DELETE i_ziteminvoice WHERE NOT  itmno IN li_itmno OR
                                          NOT  aedat IN li_aedat OR...
    First check this if it works, else let me know.
    Thanks
    Sourav.

  • Missing reports in Report and Layout manager

    Hi Experts,
    i need to convert with Crystal Converter some PLD Tax reports.
    The problem is that under Tax Reports tree, in report and layout manager, reports of typecode 'RB01' are missing!
    Why are they missing??
    Is there any other way to convert them even if missing?
    i can see them in the tax report form, selecting tax register block and press ok.
    From the print layout designer they are listed.
    Please help.
    Thanks
    Paolo

    Hi Paolo,
    What is your B1 PL? Have you solved your problem? Try to upgrade to the latest PL if you are not in it.
    Thanks,
    Gordon

  • The most precise layout manager

    It's time to decide on a layout. My java game screen is a fairly complex jumble of info in little boxes here and there. Everywhere.
    I'm not a java pro yet, but am I correct in thinking that there is -no- pixel grid layout manager? Meaning, I could define the coords for each element? I don't think there is one like that.
    All that being said, what java layout manager gives you the most precise control over element placement? It looks like the Box or GridBag, but I'm not certain.
    Thank you in advance for your expert oppinion :-)
    Mark Deibert

    From my experience I've found that using a combination
    of layout managers works best for fine tuning things.
    For example you can create a panel for your buttons
    implementing a flow layout then a panel for your
    checkboxes using a gridbag layout etc.
    The code might not be as neat as using a single
    manager but it does give you more control on where
    things go by breaking the GUI up into more manageable
    pieces.I agree with that - I really never use absolute postioning. Think in an object oriented way when you choose LayoutManagers - arrange all components, that are displayable by the same LayoutManager in a separate JPanel with this LayoutManager - add only those components, which are in the same context to that, what this JPanel should do.
    For example - when you want some buttons to show up in the center of JPanel, use two JPanels, one with FlowLayout, where you add the buttons, and add this JPanel to a second one with BorderLayout to its center. If you now want to place these buttons to the bottom of another panel, you easily add it to a JPanel with BorderLayout to its bottom - the hole JPanel, not the buttons. That is also quite fine if you want to repostion those functional units later on - components, that are in a relation to each other will stay together this way and must not be repositioned component by component.
    greetings Marsian

Maybe you are looking for

  • How do i update my IPhone 3gs to IOS 5 without wifi ?

    Hello. How do i update my iphone 3gs to IOS 5 without wifi connection.I don't have wifi connection.After updating to IOS 5 it ask "Choose a network" What should i do.I dont have wifi so how can i choose a network? Sample : I have 1gb internet connect

  • How to share a folder with crative cloud

    Is there a way to share a whole folder rather than just individual files?

  • ICloud backup

    I am using iPhone 3GS iOS 5.1.1 and want to store my iphone photos in iCloud backup using 3G cellular connection, is it possible?

  • Error Loading Calendar

    One of my locally created calendars is howing a little ! symbol next to it and I'm getting this message: Error Loading Calendar iCal was unable to load the calendar. The file might be corrupted or temporarly unreadable. You can try again later or res

  • Recieve http or/and rtsp stream on iphone possible?

    hi i made up a LAN at home with own server and some media on it. I was setting up a stream on the pc with VLC media player. I created a homepage on the server which is linked to the vlc streams. The question is: Is there a possibility to use the Link