Elevator Simulation using GUI... HELP!

I need immediate help on how to make the elevator move from floor to floor... this is not using java applet... I'll paste the program that I have done so far... I don't know how to use timers and listeners in order to make the Elevator move.... Wat should I do...
Here is my program:
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
//The main class
public class Elevator_Simulation extends JFrame
     public JLabel state; // display the state of the elevator
private JLabel id; //your name and group
public ButtonPanel control; //the button control panel
private Elevator elevator; // the elevator area
//constructor
     public Elevator_Simulation()
     // Create GUI
          setTitle("Elevator Simulation");
          getContentPane().add(new ButtonPanel(), BorderLayout.WEST);
          id = new JLabel(" Name: Abinaya Vasudevan Group:SE3");
          getContentPane().add(id, BorderLayout.NORTH);
// Main method
public static void main(String[] args)
     // Create a frame and display it
Elevator_Simulation frame = new Elevator_Simulation();
frame.setSize(800,800);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.getContentPane().add(new Elevator(frame));          
          //Get the dimension of the screen
          Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
          int screenWidth = screenSize.width;
          int screenHeight = screenSize.height;
          int x = (screenWidth - frame.getWidth())/2;
          int y = (screenHeight - frame.getHeight())/2;
          frame.setLocation(x,y);
          frame.setVisible(true);
} //the end of Elevator_Simulation class
//The ButtonPanel class receives and handles button pressing events
class ButtonPanel extends JPanel implements ActionListener
     public JButton b[] = new JButton[8]; // 8 Buttons
public boolean bp[] = new boolean[8]; // the state of each button, pressed or not
//constructor
public ButtonPanel()
     //create GUI
          setLayout(new GridLayout(8,1));
          for (int i=1; i<=8; i++)
               b[8-i] = new JButton("F"+(8-(i-1)));
               b[8-i].addActionListener(this);
               add(b[8-i]);
public void actionPerformed(ActionEvent e)
     //handle the button pressing events
          bp[8-((int)(e.getActionCommand().charAt(1)))] = true;
} //the end of ButtonPanel class
// The elevator class draws the elevator area and simulates elevator movement
class Elevator extends JPanel implements ActionListener
     //Declaration of variables
private Elevator_Simulation app; //the Elevator Simulation frame
private boolean up; // the elevator is moving up or down
private int width; // Elevator width
     private int height; // Elevator height
private int xco;     // The x coordinate of the elevator's upper left corner
private int yco; // The y coordinate of the elevator's upper left corner
private int dy0; // Moving interval
private int topy; //the y coordinate of the top level
private int bottomy; // the y coordinate of the bottom level
private Timer tm; //the timer to drive the elevator movement
//other variables to be used ...
//constructor
public Elevator(Elevator_Simulation app)
     //necessary initialization
          tm = new Timer(1000, this);
          tm.setInitialDelay(300);
          tm.start();
// Paint elevator area
public void paintComponent(Graphics g)
          //obtain geometric values of components for drawing the elevator area
          xco = getWidth()/2-10;
          yco = getHeight()/2-20;
          width = 10;
          height = 20;
          //clear the painting canvas
          super.paintComponent(g);
//start the Timer if not started elsewhere
          if(!tm.isRunning())
               tm.start();
//draw horizontal lines and the elevator
          g.setColor(Color.magenta);
          g.drawLine(0,0,getWidth(), 0);
          g.drawLine(0,93,getWidth(), 93);
          g.drawLine(0,186,getWidth(), 186);
          g.drawLine(0,279,getWidth(), 279);
          g.drawLine(0,372,getWidth(), 372);
          g.drawLine(0,465,getWidth(), 465);
          g.drawLine(0,558,getWidth(), 558);
          g.drawLine(0,651,getWidth(), 651);
          g.drawLine(0,744,getWidth(), 744);
          g.drawLine(0,837,getWidth(), 837);
          g.setColor(Color.black);
          g.fill3DRect(getWidth()/2 - 50, 93, 100, 93, true);
          g.setColor(Color.magenta);
          g.drawLine(getWidth()/2, 93, getWidth()/2, 186);     
//Handle the timer events
public void actionPerformed(ActionEvent e)
     //loop if the elevator needs to be stopped for a while
//adjust Y coordinate to simulate elevetor movement
//change moving direction when hits the top and bottom
//repaint the panel
//update the state of the elevator
} //the end of Elevator class
The skeleton was provided but I am still not sure how to do it... So pls help... asap....

I've figured out the movement part... But why doesnt my variable state get set into the new String values? And how do I make it stop at the respective floors when the buttons are pressed?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
//The main class
public class Elevator_Simulation extends JFrame
     public JLabel state; // display the state of the elevator
   private JLabel id;  //your name and group
   public ButtonPanel control = new ButtonPanel(); //the button control panel
   private Elevator elevator; // the elevator area
   //constructor
     public Elevator_Simulation()
        // Create GUI
          setTitle("Elevator Simulation");
          getContentPane().add(control, BorderLayout.WEST);
          id = new JLabel("                                                                                      Name: Abinaya Vasudevan  Group:SE3");
          state = new JLabel("");
          getContentPane().add(state, BorderLayout.SOUTH);
          getContentPane().add(id, BorderLayout.NORTH);
   // Main method
   public static void main(String[] args)
        // Create a frame and display it
      Elevator_Simulation frame = new Elevator_Simulation();
      frame.setSize(800,800);
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          frame.getContentPane().add(new Elevator(frame));          
            //Get the dimension of the screen
          Dimension  screenSize = Toolkit.getDefaultToolkit().getScreenSize();
          int screenWidth = screenSize.width;
          int screenHeight = screenSize.height;
          int x = (screenWidth - frame.getWidth())/2;
          int y = (screenHeight - frame.getHeight())/2;
          frame.setLocation(x,y);
          frame.setVisible(true);       
} //the end of Elevator_Simulation class
//The ButtonPanel class receives and handles button pressing events
class ButtonPanel extends JPanel implements ActionListener
     public JButton b[] = new JButton[8];  // 8 Buttons
   public boolean bp[] = new boolean[8]; // the state of each button, pressed or not
   //constructor
   public ButtonPanel()
        //create GUI
          setLayout(new GridLayout(8,1));
          for (int i=1; i<=8; i++)
               b[8-i] = new JButton("F"+(8-(i-1)));
               b[8-i].addActionListener(this);
               add(b[8-i]);
          for(int j=0; j<=7; j++)
               bp[j] = false;
   public void actionPerformed(ActionEvent e)
        int buttonNumber = Integer.parseInt(String.valueOf(e.getActionCommand().charAt(1)));
          bp[8 - buttonNumber] = true;
} //the end of ButtonPanel class
// The elevator class draws the elevator area and simulates elevator movement
class Elevator extends JPanel implements ActionListener
     //Declaration of variables
   private Elevator_Simulation app; //the Elevator Simulation frame
   private boolean up; // the elevator is moving up or down
   private int width;  // Elevator width
     private int height; // Elevator height
   private int xco;     // The x coordinate of the elevator's upper left corner
   private int yco; // The y coordinate of the elevator's upper left corner
   private int dy0; // Moving interval
   private int topy; //the y coordinate of the top level
   private int bottomy; // the y coordinate of the bottom level
   private Timer tm; //the timer to drive the elevator movement
     private int offset;
     private ButtonPanel button;
   //other variables to be used ...
   //constructor
   public Elevator(Elevator_Simulation app)
        //necessary initialization
          tm = new Timer(0, this);
          tm.start();
          up = true;
          offset = 0;
   // Paint elevator area
   public void paintComponent(Graphics g)
          //obtain geometric values of components for drawing the elevator area
          width = getWidth()/8;
          height = getHeight()/8;
          xco = getWidth()/2 -50;
          yco = (height * 7) + offset;
          topy = 0;
          bottomy = height * 7;
          //clear the painting canvas
          super.paintComponent(g);
      //start the Timer if not started elsewhere
          if(!tm.isRunning())
               tm.start();
      //draw horizontal lines and the elevator
          g.setColor(Color.magenta);
          g.drawLine(0,0,getWidth(), 0);
          g.drawLine(0,height,getWidth(), height);
          g.drawLine(0,(height*2),getWidth(), (height*2));
          g.drawLine(0,(height*3),getWidth(), (height*3));
          g.drawLine(0,(height*4),getWidth(), (height*4));
          g.drawLine(0,(height*5),getWidth(), (height*5));
          g.drawLine(0,(height*6),getWidth(), (height*6));
          g.drawLine(0,(height*7),getWidth(), (height*7));
          g.drawLine(0,(height*8),getWidth(), (height*8));
          g.setColor(Color.black);
          g.fill3DRect(xco, yco, width, height, true);
          g.setColor(Color.magenta);
          g.drawLine(xco+(width/2), yco, xco+(width/2), (yco+height));
   //Handle the timer events
   public void actionPerformed(ActionEvent e)
        //loop if the elevator needs to be stopped for a while
          //adjust Y coordinate to simulate elevetor movement
      //change moving direction when hits the top and bottom
      //repaint the panel
      //update the state of the elevator
          if(up && yco > topy)
               offset--;
          if(!up && yco < bottomy)
               offset++;
          if(yco == topy)
               up = false;
               app.state.setText("The elevator is going down");
          if(yco == bottomy)
               up = true;
               app.state.setText("The elevator is going up");
          repaint();          
} //the end of Elevator class

Similar Messages

  • Elevator Simulation using LABVIEW AND SPEEDY 33?

    Hello there, I am looking for a sample elevator stimulation by LABVIEW using SPEEDY-33. If anybody has a sample on how I should begin or how my elevator should look like please help. Thanks in advance.

    Hi,
    I think that a good tutorial to start with the DSP module might be this one and probably continue with learn LabVIEW DSP in 3 hours.
    Hope this will get you going.
    General info on the DSP is here.
    However if you have any question, feel free to ask 
    Best regards,
    Jano

  • Help with creation of elevator simulator...

    I'm trying to create an elevator simulator but i'm having a problem making the elevator pause (for like 5secs) at the necessary floors to show the pick up & let off passengers ...
    Any suggestions on how to make it pause?
    I'm using: a timer to paint a graphic into a panel
    I'm not sure if any other information is needed... but if so just say & i'll post it.
    Thanks alot.

    TJacobs, that's an excellent idea, but I wonder when the number of threads goes up (and factor in the GUI event thread) whether those counts will still be accurate.
    I think another way to go would be to have one thread for all the elevators. Have it sleep at one second intervals. Then, have that thread wake up and iterate over each elevator. Each elevator class would sequentially evaluate its position. You would need to introduce an element of time into your elevator classes, having them calculate delta position or wait time in terms of one second units.
    Just a thought.
    - Saish

  • Distributed Elevator system using EJB 3

    I'm developing a distributed elevator system using EJB 3 and JSP. Can anybody help me in deciding the overall architecture of the system?
    The system consists of an individual controller for each elevator and there is a central remote controller which controls the whole system as well.
    I'm in a dilemma how to start making a 4 tier architecture.......
    Can anybody guide me?

    Digging more into the problem it seem when there are “JMX invoke” calls in the call stack the NameNotFoundException occurs for EnitityManager lookups.
    Caused by: javax.naming.NameNotFoundException: java:comp/env/ribPersistenceUnit/EntityManager not found in Rib Admin GUI
         at com.oracle.naming.J2EEContext.getSubContext(J2EEContext.java:225)
         at com.oracle.naming.J2EEContext.lookup(J2EEContext.java:172)
         at com.evermind.server.ApplicationContext.lookupInJavaContext(ApplicationContext.java:308)
         at com.evermind.server.ApplicationContext.unprivileged_lookup(ApplicationContext.java:232)
         at com.evermind.server.ApplicationContext.lookup(ApplicationContext.java:197)
         at javax.naming.InitialContext.lookup(InitialContext.java:351)
         at com.retek.rib.domain.hospital.dao.toplink.ToplinkSessionDispenser$CMTToplinkSessionEntityManager.lookupEntityManager(ToplinkSessionDispenser.java:148)
    In our case
    Servler/JSP -> JMX MBeans -> TimerThread -> SLSB Ejb -> Calls Context.lookup("java:comp/env/ribPersistenceUnit/EntityManager").
    I get the exception as shown above.
    If I make the Servlet/JSP call the TimerThread directly bypassing the JMX call it works fine.
    Our application is fully manageble by JMX so I cannot remove the JMX layer. What can I do to fix the issue?
    Prantor

  • Simple Elevator Simulator

    Hello all. I am trying to create a simple elevator simulator that uses up and down buttons to call the elevator and floor buttons to choose the desired floor. The goal is to display the current floor the elevator is on using LEDs and using a delay with the LEDs to simulate movement. Currently, I am trying to use a queue based state machine to do this. I have tried looking for the "Multiple Notifiers - elevator example" in the example finder and my version of LabVIEW doesn't have that apperently, but I doubt that will help anyways since I'm using queues. Are there any good examples or concepts out there that can help me out? I appreciate the help.

    Apparently that llb did not make the cut for inclusion in the 2013 shipping examples
    the attachment is a zipped version of the llb from 2012
    Jeff
    Attachments:
    notifier.zip ‏101 KB

  • Can anyone tell me how to use GUI status in ALV report.

    Can anyone tell me how to use GUI status in ALV report. I want to use  buttons in ALV report.

    Juheb,
    see the link
    http://help.sap.com/saphelp_nw2004s/helpdata/en/5e/88d440e14f8431e10000000a1550b0/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVALV/BCSRVALV.pdf
    Adding a button on the ALV grid using OOPs
    check these sites.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/webDynproABAP-ALVControllingStandard+Buttons&
    chk this.
    alv-pfstatus:
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_pfstatus.htm
    then how to capture that button click.
    http://www.sapdevelopment.co.uk/reporting/alv/alvgrid_ucomm.htm
    REPORT ZTESTALV.
    TYPE-POOLS: SLIS.
    *- Fieldcatalog
    DATA: IT_FIELDCAT  TYPE LVC_T_FCAT,
          IT_FIELDCAT1  TYPE SLIS_T_FIELDCAT_ALV..
    *- For Events
    DATA:IT_EVENTS TYPE SLIS_T_EVENT.
    DATA:  X_FIELDCAT  TYPE LVC_S_FCAT,
            X_FIELDCAT1  TYPE SLIS_FIELDCAT_ALV.
    DATA:X_LAYOUT TYPE LVC_S_LAYO.
    "{ FOR DISABLE
    DATA: LS_EDIT TYPE LVC_S_STYL,
          LT_EDIT TYPE LVC_T_STYL.
    "} FOR DISABLE
    DATA: BEGIN OF IT_VBAP OCCURS 0,
          VBELN LIKE VBAP-VBELN,
          POSNR LIKE VBAP-POSNR,
          HANDLE_STYLE TYPE LVC_T_STYL, "FOR DISABLE
       <b>   BUTTON(10),</b>
         END OF IT_VBAP.
    DATA: LS_OUTTAB LIKE LINE OF IT_VBAP.
    SELECT VBELN
           POSNR
           UP TO 10 ROWS
          INTO CORRESPONDING FIELDS OF TABLE IT_VBAP
          FROM VBAP.
    DATA:L_POS TYPE I VALUE 1.
    CLEAR: L_POS.
    L_POS = L_POS + 1.
    <b>X_FIELDCAT-SELTEXT = 'Button'.
    x_fieldcat-fieldname = 'BUTTON'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS    = L_POS.
    X_FIELDCAT-OUTPUTLEN = '10'.
    X_FIELDCAT-style = X_FIELDCAT-style bit-xor
                      cl_gui_alv_grid=>MC_STYLE_BUTTON bit-xor
                      cl_gui_alv_grid=>MC_STYLE_ENABLEd.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.</b>
    L_POS = L_POS + 1.
    X_FIELDCAT-SELTEXT = 'VBELN'.
    X_FIELDCAT-FIELDNAME = 'VBELN'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS    = L_POS.
    X_FIELDCAT-EDIT = 'X'.
    X_FIELDCAT-OUTPUTLEN = '10'.
    x_fieldcat-ref_field = 'VBELN'.
    x_fieldcat-ref_table = 'VBAK'.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    L_POS = L_POS + 1.
    X_FIELDCAT-SELTEXT = 'POSNR'.
    X_FIELDCAT-FIELDNAME = 'POSNR'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS    = L_POS.
    X_FIELDCAT-EDIT = 'X'.
    X_FIELDCAT-OUTPUTLEN = '5'.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    L_POS = L_POS + 1.
    "{FOR DISABLE HERE 6ROW IS DISABLED
    SY-TABIX = 6.
    LS_EDIT-FIELDNAME = 'VBELN'.
    LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
    LS_EDIT-STYLE2 = SPACE.
    LS_EDIT-STYLE3 = SPACE.
    LS_EDIT-STYLE4 = SPACE.
    LS_EDIT-MAXLEN = 10.
    INSERT LS_EDIT INTO TABLE LT_EDIT.
    *LS_EDIT-FIELDNAME = 'POSNR'.
    *LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
    *LS_EDIT-STYLE2 = SPACE.
    *LS_EDIT-STYLE3 = SPACE.
    *LS_EDIT-STYLE4 = SPACE.
    *LS_EDIT-MAXLEN = 6.
    *INSERT LS_EDIT INTO TABLE LT_EDIT.
    INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
    MODIFY IT_VBAP INDEX SY-TABIX FROM LS_OUTTAB  TRANSPORTING
                                      HANDLE_STYLE .
    X_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.
    "} UP TO HERE
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
      EXPORTING
        I_CALLBACK_PROGRAM = SY-REPID
        IS_LAYOUT_LVC      = X_LAYOUT
        IT_FIELDCAT_LVC    = IT_FIELDCAT
      TABLES
        T_OUTTAB           = IT_VBAP[]
      EXCEPTIONS
        PROGRAM_ERROR      = 1
        OTHERS             = 2.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Don't forget to reward if useful....

  • Without giving the path - file is transfereed using gui download

    i use GUI download to download the internal table data in the path specified by the user.
    But there is a strange behavoir in this.
    i havent given the file path to download.
    But i have given only the file name (notthedrive say
    In the file output path : sample
    once i execute the it shows the message this much bytes transferred.
    but the file is transferred and stored in some location.
    I dont know y this happens in my progrram
    only if i give the directory path  the file is to be strored.
    other wise it shouldnt .
    How to solve this.
    please help
    thanks

    Friend i have given a sample code ...
    i couldnt copy from there.
    Just execute the code and check without giving the path but give only any name . i
    it will say bytes transferred.
    Please check
    *& Report  Z_POP_UP_DOWH
    report sdfjksdfjk.
    selection-screen begin of block g2 with frame title text-001.
    parameters: p_file like rlgrap-filename default 'd:\uma.csv'.
    selection-screen end of block g2.
    DATA: filestring    TYPE string.
    data: returncode type i.
    DATA : itab_Data type table of mara,
           wa_data like line of itab_data.
    DATA: BEGIN OF fields OCCURS 2.
            INCLUDE STRUCTURE sval.
    DATA: END OF fields.
          CLEAR fields.
          fields-tabname     = 'RLGRAP'.
          fields-fieldname   = 'FILENAME'.
          fields-value       = p_file.
          fields-field_attr  = '00'.
          APPEND fields.
          CALL FUNCTION 'POPUP_GET_VALUES'
               EXPORTING
                    popup_title     = text-003
               IMPORTING
                    returncode      = returncode
               TABLES
                    fields          = fields
               EXCEPTIONS
                    error_in_fields = 1
                    OTHERS          = 2.
          CHECK returncode EQ space.
           filestring = fields-value.
           select * from mara into table itab_data up to 10 rows.
          CALL FUNCTION 'GUI_DOWNLOAD'
               EXPORTING
                    filename                = filestring
                    write_field_separator   = ','
               TABLES
                    data_tab                = itab_data
               EXCEPTIONS
                    file_write_error        = 1
                    no_batch                = 2
                    gui_refuse_filetransfer = 3
                    invalid_type            = 4
                    no_authority            = 5
                    unknown_error           = 6
                    header_not_allowed      = 7
                    separator_not_allowed   = 8
                    filesize_not_allowed    = 9
                    header_too_long         = 10
                    dp_error_create         = 11
                    dp_error_send           = 12
                    dp_error_write          = 13
                    unknown_dp_error        = 14
                    access_denied           = 15
                    dp_out_of_memory        = 16
                    disk_full               = 17
                    dp_timeout              = 18
                    file_not_found          = 19
                    dataprovider_exception  = 20
                    control_flush_error     = 21
                    OTHERS                  = 22.
          IF sy-subrc <> 0.
            MESSAGE s999(b1) WITH 'File ' filestring
                                  ' NOT created!'.
          ELSE.
            MESSAGE s999(b1) WITH 'File ' filestring
                                  ' Created successfully!'.
          ENDIF.  "Check on download success
          WRITE : 'Download Completed'.

  • Portal w/SAP GUI; Help -- Application Help causes all windows be destroyed

    Hello All -
    I have a user who has portal windows (IE) open in the portal, multiple sessions.  When he has a SAP GUI transaction in the application content area and selects the SAP GUI 'Help' --> 'Application Help' link, all the session windows are closed, and the primary goes to SAP help.
    This destroys what the user was working on. 
    My computer does not do this, even when that user is logged in on my computer.
    Any ideas?

    Hi,
    Your requirements are not 100% clear. In  your message you say you are looking for SNC between SAP GUI and SAP ABAP, but the help page you posted a link for is not related to this, but explains how to use SNC for CPIC.
    If you are looking to use SNC for authenticating users of SAP GUI to SAP ABAP, then you have a number of options. If your SAP ABAP server is on Windows then SAP have a library which can be obtained for no cost to give you basic SSO using Active Directory authentication (aka Kerberos). If your SAP application server is on Unix or Linux, then you can look on SAP EcoHub for third party SAP certified products which provide this functionality. SAP have also just launched a new product which has some functionality for SAP GUI SSO, but this is not free.
    Please let me know if you have any more questions or need clarification.
    Thanks,
    Tim

  • PXE across subnets using IP Helper Address

    For 10 years I have been trying to get my network engineers to add an IP Helper address of our SCCM PXE Server in order to provide an Enterprise PXE service for our campus (Large University). And every year they keep telling me
    they won’t do it due to security concerns. I’m not exactly sure what they mean or what they are afraid of but I am looking for others who have been in this same situation and have been able to accomplish what has been a never ending exercise in futility for
    me. I am looking for a white paper or a case study that I can use to help build my case and hope that someday I can convince our engineers that the world won't come to an end by adding IP Helper addresses.

    .. they won’t do it due to security concerns. I’m not exactly sure what they mean or what they are afraid of..
    You need to get to the bottom of their specific concerns....
    PXE involves the use of TFTP (to download the NBP + boot.sdi + boot.wim).
    TFTP is neither robust/resilient nor particularly secure.
    But I'm guessing that the concern must surely be more related to the payload/content (i.e. what is within the boot image itself) that might be the worry?
    The boot image (potentially) contains licensed products (not directly a security concern), and certificates, accounts, passwords, scripts ?
    If you have the F8 debug feature enabled in your boot image, it could be used to "live boot" a computer, access the filesystem on that computer, and basically provide uncontrolled access to the files/documents/data on that computer (assuming that your computers
    are not using any form of disk encryption).
    For this last reason, F8-debug should not remain enabled for "normal" operation.
    In our organisation, we mitigate that risk with disk encryption. We also don't distribute boot media nor full media - PXE is the only way we deploy OS (well, outside of the datacentre, that is).
    Our networking team were initially concerned about PXE - but not from the security aspect, more from the capacity/bandwidth perspective. So we worked with them to plan/design/place the boot servers, and the DP's placement.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Header in Excel when downloading using GUI DOWNLOAD

    Hi,
    I have a requirement where i need to download data from table into an excel sheet on a location in PC. I used FM 'GUI DOWNLOAD' for this purpose. Now, i need a header to be displayed in the excel when i download. The header should contain a date which is entered during the execution as a screen input. How to display this date as a header in the excel sheet when using GUI DOWNLOAD.

    Hi,
    If you only want the header to be displayed in the first row, you can do as suggested by Ikshula.
    If you want a real excel header, you can use OLE and set the property ActiveSheet.PageSetup.LeftHeader (or CenterHeader, or RightHeader) to the value "&D". This will add the current system date as header (you can of course pass any other value between the " ").
    Kr,
    m.

  • XSLT Mapping : RFC Lookup using java helper class

    Hi All,
    I am doing RFC Lookup in xslt mapping using java helper class. I have found blog for the same (http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14) However this blog is very advanced.
    Can anybody help me with step by step approach for the same?
    My basic questions are not answered in the blog as:
    1) where to add the jar file of the java class used in xslt mapping.
    I have added zip file of XSLT mapping in imported archived and using that in mapping.
    Thanks in advace.
    Regards,
    Rohan

    Hi,
    Can u please have look at this in detail , u can easily point out yourself the problem...
    http://help.sap.com/saphelp_nw04/helpdata/en/55/7ef3003fc411d6b1f700508b5d5211/content.htm
    Please observe the line,
    xmlns:javamap="java:com.company.group.MappingClass
    in XSLT mapping..
    The packagename of class and class name and XSLT namespace should be matching...
    Babu
    Edited by: hlbabu123 on Sep 29, 2010 6:04 PM

  • "500 internal server error" when trying to use F4 help in the variable sele

    Hi Experts,
    I am getting "500 internal server error" when trying to use F4 help in the variable selection screen (in WAD).
    How could this be resolved?
    Quick reply would be very helpfull.
    Thanks in advance !!

    It seems you are using wrong client ID. Make sure your logon pad has right details. You should verify this with your basis team.
    If the problem persists then try re-installing. But before you do that you can execute sapbexc.xla which is in the c:\program files\sap\bw. Type c:\ in cell c3 and click "start button". Any red flag means you have wrong version dll/ocx on your local drive, in that case you should reinstall with right patches.
    if this solution helps u then pls assign points

  • When I try to use online help in CC, I'm told CC isn't connected to the internet, but it is.

    When I try to use online help in CC, I get a message that says Photoshop isn't connected to the internet. But I am connected.

    Did you use CS5 or CS6 in the past? Did you set those apps to use offline help only so that you didn't have to watch Adobe Air update itself every time you tried to open Help? If so, there might be an old Adobe Help (CS5 / CS6) preference lingering on your machine. You wouldn't think CC would respect it, but you would be wrong. I had to install old Adobe Help (for CS5 / CS6) and change the pref.
    I downloaded the outmoded Adobe Help app by way of: http://www.adobe.com/support/chc/?helpcfg=http://help.adobe.com/HelpCfg/en_US/Dreamweaver. helpcfg&url=http://helpx.adobe.com/en/dreamweaver/topics.html&product=dreamweaver

  • Using ip-helper without using DHCP functionality

    Hello,
    I am fairly new to Cisco, and am after a bit of help.
    My scenario:
    We have a new domain setup on a new VLAN (3), seperate from our current infrastructure VLAN (2).
    The new domain controllers provide DHCP for our new servers, and I would also like them to handle DHCP for wireless clients.
    We have one DHCP scope 10.0.0.0 255.255.0.0, and I would like to assign all wireless clients an IP in the 10.0.6.0 range.
    My thinking on the best way to do this, is with a DHCP policy, that looks at the relay agent information.
    I would then set the ip-helper address, on the port the wireless access point is connected to on the Cisco, to point to the DHCP server.
    Then for that same port, I would seb a subscriber id in the relay agent information, and use this string to set the IP assigned to that device.
    Looking into doing this, it seems the Ciscos DHCP functionality has to be turned on in order to use ip-helper.
    In my config, I cannot tell if DHCP is enabled or not, I can see neither "service dhcp", nor "no service dhcp" in the config.
    Assuming I were to turn it on using "service dhcp", can I then leave the actual functionality turned off? i.e. turn on the DHCP service, but not have it assign IP addresses?
    Also, does turning it on cause any downtime or disruption?
    I think I have to run these commands:
    conf t
    service dhcp
    interface GigabitEthernet2/40
    Ip helper-address 10.0.0.1
    Ip dhcp relay information option-insert
    Ip dhcp relay information option subscriber-id “wireless”
    I know these are probably simple questions, so please forgive my ignorance.
    James

    Ok here goes.
    On my domain controller/DHCP server, I have a scope setup of 10.0.0.0 255.255.0.0, and is set with an IP range of 10.0.0.1 - 10.0.6.253
    I have various reservations in place, and a working policy to assign thin clients an IP of 10.0.2.X based on their MAC address.
    I have then created a second policy, that should be assigning IPs in the 10.0.6.0 range, based on relay agent information, subscriber ID. This is a HEX value, so whatever string I enter on the Cisco, has to be converted to HEX.
    This DHCP server is on the same VLAN 3. The VLAN interface on the Cisco has IP of 10.0.0.254 255.255.0.0
    The wireless clients are getting IP addresses, but not within the range specified by the policy, so they are getting any address between 10.0.0.1 and 10.0.6.253 that is not already in use.
    Image 1 shows the vlan interface, where I have set the helper address, relay information option-insert, and subscriber id of "wireless".
    Image 2 shows the config on the port that my access point is connected to.
    Image 3 shows the value of the policy on the DHCP server, based on subscriber ID
    Image 4 shows the string "wireless" converted to HEX
    Image 5 shows the IP range that the policy should be using
    Image 6 shows "Edss-iPhone" as have an IP not within the correct range
    Hopefully that helps.

  • How to make load simulator using labview 2010

    i want to ask how to make load simulator using labview? 
    Solved!
    Go to Solution.

    what have you tried so far? and exactly what is it your tying to do?
    Please remember to accept any solutions and give kudos, Thanks
    LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7

Maybe you are looking for