New GUI 7.40 SAP printout problem

Hello Expert,
Recently we updated new GUI 7.40.When we are taking print out system is not giving any output. Pls find below spool request for printout,if any outdated please let us know how to resolve this.
(3:42:37 PM) Number of processors: 2
(3:42:37 PM) Icon DLL loaded.
(3:42:37 PM)
(3:42:37 PM) Network Communication via SAP-NiLib
(3:42:37 PM) Hostname: XXXXNB0905012
(3:42:37 PM) IP Address: 10.201.9.73
(3:42:37 PM)
(3:42:37 PM) SAPLPD version 740 Final Release.7400.1.0.32
(3:42:37 PM)
(3:42:37 PM) OS-Info: version = 6.1, build = 0/7601, text = Service Pack 1
(3:42:37 PM) (C) Copyright 1992-2014 SAP AG
(3:42:37 PM)
(3:42:47 PM)
(3:42:47 PM) Receive job for printer \\XXXXPS01\CNIRAD6075_MOB_5L_ENG (Berkeley LPD protocol / RFC1179)
(3:42:47 PM) send_status called
(3:42:47 PM) send_status called
(3:42:47 PM) send_status called
(3:42:47 PM) send_status called
(3:42:47 PM) send_status called
(3:42:47 PM) Job 000pdcQb.KED for user srinivas.j.I queued.
(3:42:47 PM) Start printing job 000pdcQb.KED on printer \\XXXXPS01\CNIRAD6075_MOB_5L_ENG
(4:25:15 PM) Error: Unable to start print job, Windows rc = -1, Error = The operation completed successfully.
(4:25:15 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll

Hi ,
Please follow the below steps,
1) Go to transaction SPAD
2 Just click " Enter key"
3) And the screen will appear below and click " change"  and select the printer name you want to change for exp:" LP01"
Now you can able to see the option called "Access Method"
Host Spool Access Method: F or G: Printing on Front End Computer
Host printer: __DEFAULT
Please remember in above step its two times under-scope then DEFAULT
and SAVE the entry by clicking button SAVE which I marked red colour.
Kindly let me know if you need any other details.
Thanks,
Brindavan

Similar Messages

  • Add new font types to SAP GUI

    Hi,
    I'm trying to add new font types to SAP GUI to be available to edit smartforms and mail forms, but, after I do the upload in SAP system (by SE73 transaction)of ARIAL font, when I associate it to a smartstyle, what really appears with ARIAL name is a Times New Roman font example.
    Greetings,
    Nuno Moreira

    Hi Nuno,
      Maybe this question isnt corresponding with this forum. But I have a thread with the answer... look at
    Re: Adding a new font for SAPscript/SMARTFORM output
    Regards.
    Manuel

  • Hard copy printout problem

    Hi Everyone,
    I have a weired problem in one of our users system. User said that his printouts are coming black intermittently when he prints documents from SAP that to when selecting "hard copy" from Customizing layout option from the top of the menu bar.
    apart from Hardcopy all other SAP printouts are coming properly. He also said if the Hardcopy printout is working in the morning it does not work in the evening. dont understand the login behind it.
    I Compared the GUI patch level of other user who can able to print Hardcopy without any issue. Both the GUI patch level are the same. GUI 7.10 patch level 9.
    Also, please tell me what is the use of " Hardcopy " and how it works from SAP. will this take Windows default printer as the
    printer name when selecting this Hardcopy?
    can someone please help me how to analyse the problem?
    Thanks,
    Guru

    Hi Juan,
    Thanks for your response.
    What i dont understand is that when everybody has the same patch level(710 9) in the network , why its working for one person and not the other person? can we say,installing  the 720 will surely resolve the problem ? since requesting Desktop team to download it to their Repository is a long process here. Also, the next time when i request for GUI update for other user and if they update 720, it should not cause inconsistency in the Network.
    for your information this landscape has more than 20000 user.
    reg.the hard copy option, anything on the screen in SAP will be printed to the Windows Default printer? why iam asking because if the user asking for new printer configuration, that will take time. Until we configure the printer in SAP i can suggest them using Hardcopy method (if this, only use the default Windows printer) time being for taking any printout from SAP. will this help
    please correct me if i am wrong

  • Purchase Order Printout Problem

    Hi Everyone,
                    Purchase Order print out is coming in one Laser jet printer and not coming in another laser jet printer.
    1st printer is a Network printer so configured like this:Access method: C and host printer and host name given since it is configured in our SAP Server.
    2nd printer is connected to a Notebook so, Device type: SAPWINJP, Access Method:F, and host path given.
    Normal SAP Printout is coming but only Purchase order designed for Laserjet is not coming. I checked with Document type and all. No default printer assignment is given.
    I have assigned this as a Default Printer in SU01.this is for your information. Error Msg im getting is here:
    (6:26:17 PM) Number of processors: 2
    (6:26:17 PM) Icon DLL loaded.
    (6:26:17 PM)
    (6:26:17 PM) Network Communication via SAP-NiLib
    (6:26:17 PM) Hostname: siva
    (6:26:17 PM) IP Address: 12546920.2089886680.32.1223880
    (6:26:17 PM)
    (6:26:17 PM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (6:26:17 PM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
    (6:26:17 PM) Copyright © 1992-2001 SAP AG
    (6:26:17 PM)
    (6:26:26 PM)
    (6:26:26 PM) Receive job for printer
    192.168.255.63HP_M1319 (Berkeley LPD protocol / RFC1179)
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) send_status called
    (6:26:26 PM) Job 000000262500001.DEV for user BS2PRAKA queued.
    (6:26:26 PM) Start printing job 000000262500001.DEV on printer
    192.168.255.63HP_M1319
    (6:26:27 PM) Error: Cannot create Printer Context, text = Overlapped I/O operation is in progress.
    (6:26:27 PM) Error: The printer
    192.168.255.63HP_M1319 is unknown to Windows Print Manager.
    (6:26:27 PM) The following printers are currently defined:
    (6:26:27 PM) Printer = HP LJ P3005
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    ANILHPHP_ M1319
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    KAVITHAHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    SURESHHPHP LASERJET M1319F MFP
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VARALAKSHMIEPS_VARAL
    (6:26:27 PM) Printer =
    VARALAKSHMIXEROX PHASER 3116
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Printer =
    VIJAYKUMARHP OFFICEJET 4300 SERIES
    (6:26:27 PM) Warning: Printer name contains spaces.
    (6:26:27 PM) Please rename printer, before using it from R/3 or UNIX!
    (6:26:27 PM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    Here, 
    192.168.255.63HP_M1319 this is the Machine IP and its printer available in the LAN. Its been shared and marked as default in my Desktop.
    Please give solution for this
    Regards,
    Siva

    somebody could help in this issue?

  • FTP error-Unable to create new pooled resource: com.sap.aii.adapter.file.ft

    Hi,
    We have a scenario where XI receives a Idoc and based on the contents of Idoc, It will generate 5 different files and send it to the external FTP server.We configured 5 receiver channels for these 5 files.
    When this interface runs, most of the files will be delivered but some of the messages will be errored out.
    The receiver channel has shown the following error-
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Error when getting an FTP connection from connection pool: com.sap.aii.af.service.util.concurrent.ResourcePoolException: Unable to create new pooled resource: com.sap.aii.adapter.file.ftp.FTPEx
    I tried to resend them by temperorily stopping other channels to reduce connections to this FTP server.But these messages again resulted with same error.
    Can someone suggest what might be the cause for this error.
    Thanks in advance.

    Hi ,
    As I am not sure about the problem so U just try all of the option I am writing below. It may help u as these are the probable solutions for this problem.
    1.perform Full CPA cache refresh using PIDIRUSER
    2.The problem seems to be in establishing the connection with the File server . This could be due to
    a. Wrong user name or password in receiver adapter .
    b. Firewall connection are not open
    actually you are saying that some files are being delivered so all the file has to be deliverd on same server on diffrent directory or all files are going on diffrent server at present I am assuming that all files are going on diffrent server so please check UID & PWD properly.if they are on same server but diff. directory it can be easily done using one Communication channel only.
    3. Finally please check the errorneous communication channel .
    to check your communication channels are working fine or not you can check in channel monitoring in PI7.0, adapter monitoring in Xi3.0.
    if you are on PI7.0, goto RWBCache monitoring select AE and cilck disply-select the date todays--check everything is greent here
    4.Please check your maximal connection pool .
    Regards,
    Saurabh

  • New GUI

    HI all;
    We just have BI 7.0; but when I opened the query designer I still saw the old Query designer because I had GUI 640 ; so I installed new GUI 7.1 and got the new look of Query designer fine but I don't see a button to run the query on BEx analyzer. Only option I have is to Execute the query but it goes to the web.
    The other issue I have is when I go to the BEx analyzer via RRMX the excel window opens but don't see any extra menu we used have to open the query save it...and etc.
    Does someone have this issue before?
    Thank you.

    Hi Nitik,
      Follow these steps. It should help.
    1)  Install Dot net framework Version 2 (Minimum required is 1.1)
    2)  Install Microsoft Visual J# .Net
    http://www.microsoft.com/downloads/details.aspx?FamilyId=E3CF70A9-84CA-4FEA-9E7D-7D674D2C7CA1&displaylang=en
    3) Apply OSS Note 1025122 – Microsoft Office 2003 Update
    http://www.microsoft.com/downloads/details.aspx?FamilyId=1B0BFB35-C252-43CC-8A2A- 6A64D6AC4670
    4) Install Sap GUI 7.10 (Select both GUI and Business Explorer during Installation)
    5) Upgrade the SAP GUI to Patch level 3
    Rgds,
    Abhishek

  • What is HR new Patch level for SAP 4.7

    Hi all,
    What is the HR new Patch level for SAP 4.7 and GUI 6.4.
    Thanks In advance.
    Satish

    Hi Satish,
    The best and the most authorplace to find that information would be the SAP service Marketplace. Go to <a href="https://service.sap.com/ocs-schedules">this link</a> and you should get it.
    Regards,
    Anand Mandalika.

  • I was given a new phone because of a technical problem with my other. Everything was replaced because of iCloud but now it is telling me I do not have enough storage room on this phone to perform a back-up. Can I fix this?!

    I was given a new phone because of a technical problem with my other. Everything was replaced because of iCloud but now it is telling me I do not have enough storage room on this phone to perform a back-up. Can I fix this?!

    Why don't you call Apple tech support thru your provider. They will be able to help you in short order.
    PS - If you want help here you need to provide a little more information i.e. how much memory does your iPhone -4- have and how much free memory do you have after restoring from the cloud?

  • Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started. How do I set FF back to open tabs in 1 window

    Tabs only open in a new window. Ctl T opens a new window NOT a new tab help-last update this problem started 2 days ago. How do I set FF back to open tabs in 1 window?
    There is no plus sign and going into optins and changing settings has not worked. I have uninstall FF and reinstall-keeping my personalization-and that was no help.
    Right clicking on FF Icon to open a new tab, or going up to FF drop down tab and clicking on new tab both do not work.
    Help everything opens a new window not a new tab. there seems to be no way to reset this or to chose a different optin. I just downloaded new tabs at end addon and it didn't do a thing.

    as a first troubleshooting step - does it work like normally when you open & run firefox in [[Safe Mode|safemode]] by pressing the shift key while you open firefox (all other instances have to be closed before)...

  • Error when attempting to create new Crystal Report against SAP BW

    We're getting an error when attemptiing to create a new report using the SAP toolbar in CR:
    "Failed to retrieve SSO2 logon ticket. Please contact your BW administrator".
    Any ideas? We're able to run existing reports fine. Just can't create new ones using the toolbar.

    Hi,
    but you do realize that it is a pre-requisite ?
    your BW system needs to be configured for reading and generating SSO token
    Ingo

  • How can I add a new filed to standart SAP Screen

    Hi eveybody,
    I am using ima11 t-code and I need to add A new screen field to standart SAP screen(program No SAPLAIA1 Screen:1001 ).I have found five user-exits(AAIR0001,AAIR0002A,AIR0003,AAIR0004,AAIR0006) but there is no screen-exit. How can I add a new filed to standart SAP Screen.Is it possible? If it is possible, how can I do that?

    hi
    yes you can add a search help for a filed on the screen
    but you need to find out for the USER EXIT available for that T-CODE
    because it is a standard T-CODE we can't add code directly to the standard T-code
    1st we need to find out for a user exit and then add code in that user exit
    reward if usefull

  • I currently have an old version of Photoshop Elements, it is version 5.0.  I recently upgraded from my old Windows XP computer to a new Windows 7 computer.  My question is:  Can I install this version 5.0 on my new windows 7 computer without any problems?

    I currently have an old version of Photoshop Elements, it is version 5.0.  I recently upgraded from my old Windows XP computer to a new Windows 7 computer.  My question is:  Can I install this version 5.0 on my new Windows 7 computer without any problems?  my email is:  [email protected]  Thank you!

    Do not know about 5, but, just installed PE 6 on I7 64 bit and it works.

  • New hard drive and photoshop license problem

    I have a Dell Inspiron 6000 with a 1.5 Ghz Pentium processor, 2 GB of RAM, and Win Xp/Pro SP3.
    The hard drive in this computer failed, and it has been replaced.  I used an image backup from Acronis True Image 10 to "restore" the new disk.
    Now, when I try to open Phostoshop CS2, I receive a message that the license is no longer valid (I have been using this version of Photoshop for a long time).
    I don't have this problem with InDesign CS3 (v. 5.0.2), FrameMaker 7.2b144, or Acrobat 8.1.6.
    I didn't find any helpful info on the "Product Activation" web page.
    I tried a forum search and a search of Adobe.com using the search criteria "new hard drive and photoshop license problem."
    The only relevant item I could find is this:
    "Backup and restoration of your system using standard tools do not require reactivation. While reactivation after backing up or restoring the system was required in early versions of Adobe software (such as Adobe Photoshop® CS), Adobe has continued to improve the activation process with new technology that eliminates the need to reactivate after system restoration. In complex situations where the system is being upgraded, we recommend deactivating the Adobe software before commencing the system upgrade. Once the system upgrade is completed, the subsequent install/restore will require reactivation, which is typically accomplished without difficulty and is completely transparent to the user."
    So does that mean I have to "reactivate" Photoshop CS2?  If so, do I use the Activation window that is displayed when I open Photoshop?  The serial number has 20 characters.  Will the Adobe (re)activation recognize this old serial number?  If not, what do I have to do to get this product usable again?
    Please help.

    >replaced your hard drive and CS2 DRM is looking for the old hard drive number and not finding it
    Interesting... I use http://www.terabyteunlimited.com/image-for-linux.htm which creates a bootable CD and runs outside of Windoze
    I have made image files and loaded those files to a new hard drive (I use drive swap hardware to make a backup and create a new drive every time I install or uninstall major software) and have never had any program complain about needing activation
    But, since the program I use is Linux on a bootable CD, it copies EVERYTHING on a hard drive, even the hidden registration areas as far as I can tell, so when I do a restore to a new drive, everything is put on the new drive

  • Using my new GUI component in an applet :Help!!!

    I am seeking help for the following
    Define class MyColorChooser as a new component so it can be reused in other applications or applets. We want to use the new GUI component as part of an applet that displays the current Color value.
    The following is the code of MyColorChooser class
    * a) We define a class called MyColorChooser that provides three JSlider
    * objects and three JTextField objects. Each JSlider represents the values
    * from 0 to 255 for the red, green and blue parts of a color.
    * We use wred, green and blue values as the arguments to the Color contructeur
    * to create a new Color object.
    * We display the current value of each JSlider in the corresponding JTextField.
    * When the user changes the value of the JSlider, the JTextField(s) should be changed
    * accordingly as weel as the current color.
    * b)Define class MyColorChooser so it can be reused in other applications or applets.
    * Use your new GUI component as part of an applet that displays the current
    * Color value.
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.event.*;
    import java.text.DecimalFormat;
    public class MyChooserColor extends JFrame{
         private int red, green, blue;  // color shade for red, green and blue
         private static Color myColor;  // color resultant from red, green and blue shades
         private JSlider mySlider [];      
         private JTextField textField [];
    // Panels for sliders, textfields and button components
         private JPanel mySliderPanel, textFieldPanel, buttonPanel;
    // sublcass objet of JPanel for drawing purposes
         private CustomPanel myPanel;
         private JButton okButton, exitButton;
         public MyChooserColor ()     
              super( "HOME MADE COLOR COMPONENT; composition of RGB values " );
    //       setting properties of the mySlider array and registering the events
              mySlider = new JSlider [3];
              ChangeHandler handler = new ChangeHandler();
              for (int i = 0; i < mySlider.length; i++)
              {     mySlider[i] = new JSlider( SwingConstants.HORIZONTAL,
                               0, 255, 255 );
                   mySlider.setMajorTickSpacing( 10 );
                   mySlider[i].setPaintTicks( true );
    //      register events for mySlider[i]
                   mySlider[i].addChangeListener( handler);                     
    //      setting properties of the textField array           
              textField = new JTextField [3];          
              for (int i = 0; i < textField.length; i++)
              {     textField[i] = new JTextField("100.00%", 5 );
                   textField[i].setEditable(false);
                   textField[i].setBackground(Color.white);
    // initial Background color of each slider and foreground for each textfield
    // accordingly to its current color shade
              mySlider[0].setBackground(
                        new Color ( mySlider[0].getValue(), 0, 0 ) );
              textField[0].setForeground(
                        new Color ( mySlider[0].getValue(), 0, 0 ) );           
              mySlider[1].setBackground(
                        new Color ( 0, mySlider[1].getValue(), 0 ) );
              textField[1].setForeground(
                        new Color ( 0, mySlider[1].getValue(), 0 ) );
              mySlider[2].setBackground(
                        new Color ( 0, 0, mySlider[2].getValue() ) );
              textField[2].setForeground(
                        new Color ( 0, 0, mySlider[2].getValue() ) );
    // initialize myColor to white
              myColor = Color.WHITE;
    // instanciate myPanel for drawing purposes          
              myPanel = new CustomPanel();
              myPanel.setBackground(myColor);
    // instanciate okButton with its inanymous class
    // to handle its related events
              okButton = new JButton ("OK");
              okButton.setToolTipText("To confirm the current color");
              okButton.setMnemonic('o');
              okButton.addActionListener(
                   new ActionListener(){
                        public void actionPerformed (ActionEvent e)
                        {     // code permetting to transfer
                             // the current color to the parent
                             // component backgroung color
                             //System.exit( 0 );     
    //      instanciate exitButton with its inanymous class
    //      to handle its related events           
              exitButton = new JButton("Exit");
              exitButton.setToolTipText("Exit the application");
              exitButton.setMnemonic('x');
              exitButton.addActionListener(
                        new ActionListener(){
                             public void actionPerformed (ActionEvent e)
                             {     System.exit( 0 );     
    // define the contentPane
              Container c = getContentPane();
              c.setLayout( new BorderLayout() );
    //     panel as container for sliders
              mySliderPanel = new JPanel(new BorderLayout());
    //      panel as container for textFields           
              textFieldPanel = new JPanel(new FlowLayout());
    //      panel as container for Jbuttons components           
              buttonPanel = new JPanel ();
              buttonPanel.setLayout( new BoxLayout( buttonPanel, BoxLayout.Y_AXIS ) );
    //add the Jbutton components to buttonPanel           
              buttonPanel.add(okButton);
              buttonPanel.add(exitButton);
    //     add the mySlider components to mySliderPanel
              mySliderPanel.add(mySlider[0], BorderLayout.NORTH);
              mySliderPanel.add(mySlider[1], BorderLayout.CENTER);
              mySliderPanel.add(mySlider[2], BorderLayout.SOUTH);
    //add the textField components to textFieldPanel     
              for (int i = 0; i < textField.length; i++){
                   textFieldPanel.add(textField[i]);
    // add the panels to the container c          
              c.add( mySliderPanel, BorderLayout.NORTH );
              c.add( buttonPanel, BorderLayout.WEST);
              c.add( textFieldPanel, BorderLayout.SOUTH);
              c.add( myPanel, BorderLayout.CENTER );
              setSize(500, 300);          
              show();               
    //     inner class for mySlider events handling
         private class ChangeHandler implements ChangeListener {          
              public void stateChanged( ChangeEvent e )
    // start by collecting the current color shade
    // for red , forgreen and for blue               
                   setRedColor(mySlider[0].getValue());
                   setGreenColor(mySlider[1].getValue());
                   setBlueColor(mySlider[2].getValue());
    //The textcolor in myPanel (subclass of JPanel for drawing purposes)
                   myPanel.setMyTextColor( ( 255 - getRedColor() ),
                             ( 255 - getGreenColor() ), ( 255 - getBlueColor() ) );
    //call to repaint() occurs here
                   myPanel.setThumbSlider1( getRedColor() );
                   myPanel.setThumbSlider2( getGreenColor() );
                   myPanel.setThumbSlider3( getBlueColor() );
    // display color value in the textFields (%)
                   DecimalFormat twoDigits = new DecimalFormat ("0.00");
                   for (int i = 0; i < textField.length; i++){
                        textField[i].setText("" + twoDigits.format(
                                  100.0* mySlider[i].getValue()/255) + " %") ;
    // seting the textcolor for each textField
    // and the background color for each slider               
                   textField[0].setForeground(
                             new Color ( getRedColor(), 0, 0 ) );
                   mySlider[0].setBackground(
                             new Color ( getRedColor(), 0, 0) );
                   textField[1].setForeground(
                             new Color ( 0, getGreenColor() , 0 ) );
                   mySlider[1].setBackground(
                             new Color ( 0, getGreenColor(), 0) );
                   textField[2].setForeground(
                             new Color ( 0, 0, getBlueColor() ) );
                   mySlider[2].setBackground(
                             new Color ( 0, 0, getBlueColor() ) );
    // color of myPanel background
                   myColor = new Color (getRedColor(),
                             getGreenColor(), getBlueColor());
                   myPanel.setBackground(myColor);               
    // set methods to set the basic color shade
         private void setRedColor (int r){
              red = ( (r >= 0 && r <= 255) ? r : 255 );
         private void setGreenColor (int g){
              green = ( (g >= 0 && g <= 255) ? g : 255 );
         private void setBlueColor (int b){
              blue = ( (b >= 0 && b <= 255) ? b : 255 );
    // get methods (return the basic color shade)
         private int getRedColor (){
              return red ;
         private int getGreenColor (){
              return green;
         private int getBlueColor (){
              return blue;
         public static Color getMyColor (){
              return myColor;
    // main method                
         public static void main (String args []){
              MyChooserColor app = new MyChooserColor();
              app.addWindowListener(
                        new WindowAdapter() {
                             public void windowClosing( WindowEvent e )
                             {     System.exit( 0 );
    // inner class CustomPanel for drawing purposes
         private class CustomPanel extends JPanel {
              private int thumbSlider1 = 255;
              private int thumbSlider2 = 255;
              private int thumbSlider3 = 255;
              private Color myTextColor;
              public void paintComponent( Graphics g )
                   super.paintComponent( g );
                   g.setColor(myTextColor);
                   g.setFont( new Font( "Serif", Font.TRUETYPE_FONT, 12 ) );
                   DecimalFormat twoDigits = new DecimalFormat ("0.00");
                   g.drawString( "The RGB values of the current color are : "
                             + "( "     + thumbSlider1 + " , " + thumbSlider2 + " , "
                             + thumbSlider3 + " )", 10, 40);
                   g.drawString( "The current background color is composed by " +
                             "the folllowing RGB colors " , 10, 60);
                   g.drawString( "Percentage of RED from slider1 : "
                        + twoDigits.format(thumbSlider1*100.0/255), 10, 80 );
                   g.drawString( "Percentage of GREEN from slider2 : "
                        + twoDigits.format(thumbSlider2*100.0/255), 10, 100 );
                   g.drawString( "Percentage of BLUE from slider3 : "
                        + twoDigits.format(thumbSlider3*100.0/255), 10, 120 );
    // call to repaint occurs here     
              public void setThumbSlider1(int th){
                   thumbSlider1 = (th >= 0 ? th: 255 );
                   repaint();
              public void setThumbSlider2(int th){
                   thumbSlider2 = (th >= 0 ? th: 255 );
                   repaint();
              public void setThumbSlider3(int th){
                   thumbSlider3 = (th >= 0 ? th: 255 );
                   repaint();
              public void setMyTextColor(int r, int g, int b){
                   myTextColor = new Color(r, g, b);
                   repaint();
    //The following method is used by layout managers
              public Dimension getPreferredSize()
              {     return new Dimension( 150, 100 );
    The following is the code of application that tests the component
    //Application used to demonstrating
    // the homemade GUI MyChooserColor component
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class ShowMyColor extends JFrame {
         private JButton changeColor;
         private Color color = Color.lightGray;
         private Container c;
         MyChooserColor colorComponent;
         public ShowMyColor()
         {     super( "Using MyChooserColor" );
              c = getContentPane();
              c.setLayout( new FlowLayout() );
              changeColor = new JButton( "Change Color" );
              changeColor.addActionListener(
                        new ActionListener() {
                             public void actionPerformed( ActionEvent e )
                             {     colorComponent = new MyChooserColor ();
                                  colorComponent.show();
                                  color = MyChooserColor.getMyColor();
                                  if ( color == null )
                                       color = Color.lightGray;
                                  c.setBackground( color );
                                  c.repaint();
              c.add( changeColor );
              setSize( 400, 130 );
              show();
         public static void main( String args[] )
         {     ShowMyColor app = new ShowMyColor();
              app.addWindowListener(
                        new WindowAdapter() {
                             public void windowClosing( WindowEvent e )
                             {  System.exit( 0 );

    Yes, I want help for the missing code to add in actionPerformed method below. As a result, when you confirm the selected color (clicking the OK button), it will be transferred to a variable color of class ShowMyColor.
    // instanciate okButton with its inanymous class
    // to handle its related events
              okButton = new JButton ("OK");
              okButton.setToolTipText("To confirm the current color");
              okButton.setMnemonic('o');
              okButton.addActionListener(
                   new ActionListener(){
                        public void actionPerformed (ActionEvent e)
                        {     // code permetting to transfer
                             // the current color to the parent
                             // component backgroung color
                             //System.exit( 0 );     
              );

  • Can we add new Payment means in SAP Business One Payments

    Dear Experts,
    Can we new Payment means in SAP Business One Payments?
    Currently, I am having 4 Payment means as Cash, Cheque, Bank Transfer and Credit Card.
    I need one more Payment means as Coupons.
    These are the Discount coupons which will be issued to our regular customers on Purchase of amount above certain limit.
    Thanks & Regards,
    Amrut Sabnis

    Hi Amrut,
    you can't add a payment means, but you can book the new payment means as an additional creditcard name for example "coupons"
    Kind regards
    Ad

Maybe you are looking for

  • ALV Title Not Display after transporting the Programme from DeV to Qlty

    Hellow Experts, i developed one ALV report with two screens, i transported the report from Development server to Qulaity server. in Development server report are working fine  but in Qulaity server after transporting the TiTle of ALV not display , pl

  • Extensions not showing in photoshop  (2014)

    I have installed Photoshop cc(2014), but 'extensions' is blanked out. Still working in cc and all of my addons are visible in extension manager cc. How do I get it to work?. My next question is about Bridge. In Bridge I have the option on right click

  • How to show default value selected in combo box...

    Hi, I need an help... I have a combo box and i want to show the default value(coming from DB) selected on combo box on Page Render. Thanks, Neha

  • Document type in Code Coloring  preference

    Edit, preference in Dreamweaver MX 2004, under code coloring category, I can't see the various document type in Machine A but I can see ASP JavaScript, PHP, Cold Fusion etc in Machine B, do anybody know why????Configuration problem??? How do I get it

  • Navigating in save as

    My G5 as suddenly stopped accessing my external hard drives, well to be more precise I have 6 macs on a network sharing 4 hard drives on a server I have set up using sharespace I can access 3 of the discs fine (up until a while ago all4) all the othe