Help Sir Stupidhead

I am developing and application which create XML schemas from a graphical interface. I know how to generate the XML schema but what I want to know is how would I validate and XML document with this schema?
Sir Stupid Head

I would suggest you look at http://exolab.org and download the open source project called CASTOR. This generate java classes for schema and includes complete validation features too. Just feed your schema and you r done !
-Sanjay

Similar Messages

  • Please help sir

    sir i lost my iphone few days back and i erased my iphone from icloud from find my iphone section.now i have found my iphone in my cupboard only but now i open it it closes after every 10 seconds and sometimes siren voice comes out from it.it restarts and then loading icons shows for hours but does not start.i am not able to start it please help sir.

    If you erased the phone via iCloud, then you need to restore the phone. You can either restore it from a backup, or you can restore it as a new device, but you are going to have to restore it. If you contacted your carrier and had them suspend the phone, you will have to get a new SIM card from them as well to reactivate the phone.

  • Session Time Out For UNLOGGED IN USER During Search -pls help SIR!

    Hi,
    The problem lies in searchresultscontroller.java/searchcontroller.java file under search/web/handler of an application that supports educational note sharing.
    The problem is that -
    When I search with query strings in different fields(as you will find in the above mentioned java files)..the keywords in resourcedto and get some files as search results.
    Then I click on one of the file from within the search result and visit the file.
    Here if I m logged in as an user, and the session time out is set to 1 minute in the web.xml file of the web folder not the admin folder then when I hit the BACK TO SEARCH button it easily goes back to the previous search result page along with the queries string that I had input previously.
    The problem is that when I m NOT LOGGED in as an user, and I've performed a search with queries and other dropdowns in the search panel, I get the search result page, I visit the file by clicking on one of them but when I hit the BACK TO SEARCH button I don't see the previous search result page from where I had navigated to view the file.
    Please suggest on what changes shall I make in the code so that even if I m not logged in as an user, I get back to the search result page on hitting the BACK TO SEARCH button from the file view page.Sir I m herein pasting the code of the searchresultscontroller.java file, but please feel free to ask for anyother file whose code you might want to see.SEARCHRESULTSCONTROLLER.JAVA FILE CONTENT-
    package com.mgh.sps.search.web.handler;
    import java.util.Map;
    import java.util.regex.Pattern;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import org.apache.log4j.Logger;
    import org.springframework.validation.BindException;
    import org.springframework.validation.Errors;
    import org.springframework.web.servlet.ModelAndView;
    import org.springframework.web.servlet.mvc.SimpleFormController;
    import com.mgh.sps.search.business.facade.Search;
    import com.mgh.sps.common.dto.ResourceDTO;
    import com.mgh.sps.common.util.SessionAttributeKey;
    import com.mgh.sps.common.util.SessionManager;
    import com.mgh.sps.fileusage.web.constants.FileUsageWebConstants;
    public class SearchResultsController extends SimpleFormController {
    * SearchResults Controller
    * @author Muralikrishna.s
    * @Codedondate DD-MM-YY=26-07-07
    * @Usecase/s associated =UC504
    private static final Logger logger = Logger
    .getLogger(SearchResultsController.class.getName());
    private final static String REG_EXP = "^[A-Za-z0-9]*$";
    private final static Pattern EMAIL_PATTERN_REG = Pattern.compile(REG_EXP);
    * Spring framework method used to hold reference data
    * @param request
    * HttpServletRequest
    * @param command
    * Object
    * @param arg2
    * Errors
    * @return Map
    * @throws Exception
    @Override
    protected Map referenceData(HttpServletRequest request, Object command,
    Errors errors) throws Exception {
    logger.debug("SearchResultsController.referenceData() method entered:"
    + request + "," + command + "," + errors);
    SessionManager.setSessionAttribute(SessionAttributeKey.tabIndex,
    FileUsageWebConstants.TAB_SEARCH, request);
    Search search = (Search) super.getWebApplicationContext().getBean(
    "searchfacade");
    ResourceDTO resourceDto = (ResourceDTO) command;
    String[] allValues = new String[7];
    if (null != (String[]) SessionManager.getSessionAttribute(
    SessionAttributeKey.allValues, request)) {
    allValues = (String[]) SessionManager.getSessionAttribute(
    SessionAttributeKey.allValues, request);
    resourceDto.setKeywords(allValues[0]);
    resourceDto.setCountry(allValues[1]);
    resourceDto.setUniversityName(allValues[2]);
    resourceDto.setSubjectArea(allValues[3]);
    resourceDto.setQualification(allValues[4]);
    resourceDto.setYearLevel(allValues[5]);
    resourceDto.setSpecificType(allValues[6]);
    logger.debug("%%%%%%%%%%%%%%%%%qualification%%%%%%%%%%%%%%%"
    + resourceDto.getQualification());
    String flag = (String) request.getParameter("id");
    resourceDto.setFlag(flag);
    logger.debug("SearchResultsController.referenceData() method exited:");
    return search.retrieveReferenceData(resourceDto);
    * Spring framework method used to hold OnSubmit
    * @param request
    * HttpServletRequest
    * @param response
    * HttpServletResponse
    * @param command
    * Object
    * @param arg3
    * BindException
    * @return ModelAndView
    * @throws Exception
    @Override
    protected ModelAndView onSubmit(HttpServletRequest request,
    HttpServletResponse response, Object command, BindException errors)
    throws Exception {
    SessionManager.cleanup(request);
    logger.debug("SearchResultsController.onSubmit() method entered:"
    + request + "," + command + "," + response + "," + errors);
    Search search = (Search) super.getWebApplicationContext().getBean(
    "searchfacade");
    Map dynamic = (Map) getServletContext().getAttribute("config");
    ResourceDTO resourceDto = (ResourceDTO) command;
    SessionManager.removeSessionAttribute(SessionAttributeKey.allValues,
    request);
    //changed by sreelatha on sep21
    //resourceDto.setKeywords(request.getParameter("keywords"));
    //String key = request.getParameter("keywords");
    //logger.debug("&&&&&&&&&&&&& key &&&&&&&&&&&&" + key);
    String keywords = (request.getParameter("keywords"));
    if(null!=keywords) {
    keywords = keywords.trim();
    resourceDto.setKeywords(keywords);
    // changes end
    resourceDto.setUniversityName(request.getParameter("universityName"));
    resourceDto.setSubjectArea(request.getParameter("subjectArea"));
    resourceDto.setCountry(request.getParameter("country"));
    resourceDto.setQualification(request.getParameter("qualification"));
    resourceDto.setYearLevel(request.getParameter("yearLevel"));
    resourceDto.setSpecificType(request.getParameter("specificType"));
    String[] allValues = new String[7];
    //changed by sreelatha on sep21
    //allValues[0] = request.getParameter("keywords");
    allValues[0] = resourceDto.getKeywords();
    //changes end
    allValues[1] = request.getParameter("country");
    allValues[2] = request.getParameter("universityName");
    allValues[3] = request.getParameter("subjectArea");
    allValues[4] = request.getParameter("qualification");
    allValues[5] = request.getParameter("yearLevel");
    allValues[6] = request.getParameter("specificType");
    SessionManager.setSessionAttribute(SessionAttributeKey.allValues,
    allValues, request);
    if(null!=keywords) {
    keywords = keywords.trim();
    String words="";
    for(int i=0;i<keywords.length();i++) {
    String key=String.valueOf(keywords.charAt(i));
    if(key.contains("*")) {
    key = key.replace("*"," ");
    } else if(key.contains("?")) {
    key = key.replace("?"," ");
    } else if(key.contains("[")) {
    key = key.replace("["," ");
    } else if(key.contains("{")) {
    key = key.replace("{"," ");
    } else if(key.contains("(")) {
    key = key.replace("("," ");
    } else if(key.contains(")")) {
    key = key.replace(")"," ");
    } else if(key.contains("+")) {
    key = key.replace("+"," ");
    } else if(key.contains("
    key = key.replace("
    } else if(key.contains(" ")) {
    key = key.replace(" "," ");
    } else if(key.contains("_")) {
    key = key.replace("","");
    } else if(!EMAIL_PATTERN_REG.matcher(key).matches()) {
    key = key.replaceAll(key," ");
    words = words + key;
    keywords = words;
    resourceDto.setKeywords(keywords);
    SessionManager.setSessionAttribute(SessionAttributeKey.test, search.setInputValues(resourceDto, dynamic), request);
    String name = (String) SessionManager.getSessionAttribute(SessionAttributeKey.tempName, request);
    String flag1 = request.getParameter("id");
    String status="";
    if (flag1 !=null && flag1.equals("loggedInUser"))
    if(name==null)
    return new ModelAndView();
    if (flag1 !=null && flag1.equals("loggedInUser")){
    status = "redirect:SearchResults.htm?id=loggedInUser";
    }else if(flag1 !=null && flag1.equals("nonLoggedInUser"))
    status = "redirect:SearchResultsnlu.htm?id=nonLoggedInUser";
    super.setSuccessView(status);
    ModelAndView mav = new ModelAndView(super.getSuccessView());
    logger.debug("SearchResultsController.onSubmit() method exited:");
    return mav;
    }

    Cross-posted in many forums. Don't answer this one.

  • Nokia Lumia 620 i using help sir

    1.How to record calls will calling ?
    2.how visible all file in memory card (SD card)?
    3.when the black Lumia update available,which month?

    Hi,
    You cannot record calls, any app which is recording will pause when an outgoing or incoming call starts.
    System restrictions of Windows Phone prevent access to a lot of information from within the phone UI. Individual apps have access only to there own data and limited access to photos and documents.
    Lumia Black is already in the process of rolling our. For the latest information, please see http://www.nokia.com/global/support/software-update/wp8-software-update/
    If this or any post answers your question, please remember to help others by pressing the 'Accept as solution' button.

  • Help sir,my laptop can't open pas woods

    Forget passwood from my laptop

    Hello Iena85,
    So I can better assist you, please provide me with the following information:
    What is the model/product number from your notebook?
    What is the operating system running on it? ( ie. Windows 7, Windows 8 ).
    You are probably going to have to perform an HP System Recovery which will restore the notebook back to its factory image.
    If you would like steps on how to perform this, click on the link below that pertains to you:
    Performing an HP System Recovery (Windows XP)
    Performing an HP System Recovery (Windows Vista)
    Performing an HP System Recovery (Windows 7)
    Performing an HP System Recovery (Windows 8)
    Let me know if you have any further questions!
    Thank you
    I worked on behalf of HP.

  • How can I set my privacy tighter with Siri and Dictation?

    OK First of all, Apple needs to stop with the restriction of what you can say in posts. They keep deleting my stuff without allowing my QUESTION to be answered.
    First of all, when did this massive invasion of my privacy happen? Did it happen with the latest update to iOS 8.1? I know I did not have these pop ups until this update happened this week.
    I would like to know how to use Siri and Dictation WITHOUT such a massive invasion of my privacy?
    Did I ever have such privacy prior to iOS 8.1?
    I went to dictate a text message to my husband today and I get a pop up telling me that ALL my information is going to be shared. There is a "learn more" link and I click that and it has this long diatribe on how
    Apple takes the things I say and dictate and records them and sent to them to process my requests. My device will also send Apple other information, such as my name and nickname; the names, nicknames, and relationship with me (e.g. "my dad") of my address book contacts, song names in my collection, and HomeKit-enabled devices in my home (e.g., "living room lights") (collectively, your "User Data"). All of this data is used to help Siri and Dictation understand me better and recognize  what I say. It is not linked to other data that Apple may have from my use of other Apple services...
    there is a lot more but suffice it to say, it does NOT 'match' what is said about Siri and Dictation on the Apple privacy page. The phone privacy contract description has MORE things listed that are being recorded, used and stored.

    It only matches what I quoted. There is a lot more in the phone.
    I also had a lot more in my original post but Apple censored and then deleted it because they decided it was a rant.
    Apple's policy in my phone's privacy policy says a lot more.
    Apparently from your answer I am stuck with a massive invasion of my privacy? Are you so very comfortable with having everything you say recorded? What if you worked in a high security industry?
    I also asked if this was in effect prior to this latest update or not.
    What I had to omit. Check your phone's privacy page and compare to apple's web page I linked ( Settings > General > Keyboard >Dictation & Settings > General > Siri) and click on the About Siri or Dictation privacy...
    It goes on to tell me I can restrict Siri's and Dictation's ability completely by turning it off.
    It tells me that my personal information, voice recording and other things collected may be retained for a period of time to generally improve Siri, Dictation an functionality in other Apple products and services. <-- this right here contradicts the paragraph I quoted  by saying it indeed DOES use it for other Apple things. Also, HOW LONG is this "period of time"?
    If I want to 'erase' this information I can simply turn off then on Siri and or Dictation and lose what I have had recorded on me. THIS fully restarts the "learning" process all over again and in turn NEGATES all the stuff it learned in the past. The KICKER is that since apple "retains what it collects for a period of time" HOW does turning the services off truly "erase" what was taken in the past?
    Why can't the learning process be done directly on the phone itself without it being RECORDED and STORED by Apple?
    Now, before you go off and say how Apple respects my privacy, I know all of that. I just don't believe or trust it since all this iCloud hacking has been happening lately AND I am VERY conscious of what I put "out there" for all to see and take. I don't use social networking either due to the massive invasion of my privacy. Plus I find it silly. I will not be reduced to a low level of conversation where the simple "like" is the equivalent of a reply.

  • Button to frame | button going back to the main frame (please help)

    these are the codes, by clicking the "FCFS" button it will generate another frame and from that frame another button will be pressed "accept" and it will go to another frame....
    my problem is that i nid to put codes on the "back" button to go back to the main frame were it started... please help me... thnks
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class Oscon extends JFrame
         private JButton fcfsB, priorityB, sjfB, rrB, exitB, creditsB;
         private fcfsButtonHandler fbHandler;
         private priorityButtonHandler pbHandler;
         private sjfButtonHandler sbHandler;
         private rrButtonHandler rbHandler;
         private exitButtonHandler ebHandler;
         private creditsButtonHandler cbHandler;     
         public Oscon()// main frame
              fcfsB = new JButton ("FCFS");
              fbHandler = new fcfsButtonHandler();
              fcfsB.addActionListener(fbHandler);
              priorityB = new JButton ("PRIORITY");
              pbHandler = new priorityButtonHandler();
              priorityB.addActionListener(pbHandler);
              sjfB = new JButton ("SJF");
              sbHandler = new sjfButtonHandler();
              sjfB.addActionListener(sbHandler);
              rrB = new JButton ("RR");
              rbHandler = new rrButtonHandler();
              rrB.addActionListener(rbHandler);
              exitB = new JButton ("EXIT");
              ebHandler = new exitButtonHandler();
              exitB.addActionListener(ebHandler);
              creditsB = new JButton ("CREDITS");
              cbHandler = new creditsButtonHandler();
              creditsB.addActionListener(cbHandler);
              setTitle("CPU SCHEDULING");
              Container pane =getContentPane ();     
              pane.setLayout(new GridLayout(2,3));
              pane.add(fcfsB);
              pane.add(priorityB);
              pane.add(sjfB);
              pane.add(rrB);
              pane.add(exitB);
              pane.add(creditsB);
              setSize(500,100);
              setVisible(true);
              setDefaultCloseOperation(EXIT_ON_CLOSE);
         public class fcfsButtonHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
                   JFrame frame = new JFrame("FCFCS setting");
         final JLabel FCFSProcessL, FCFSp1L,FCFSp2L,FCFSp3L,FCFSp4L, FCFSbt;
              final JTextField FCFSp1TF,FCFSp2TF,FCFSp3TF,FCFSp4TF;
                        FCFSProcessL = new JLabel("PROCESS", SwingConstants.CENTER);
                        FCFSp1L     = new JLabel("P1:", SwingConstants.CENTER);
                        FCFSp2L     = new JLabel("P2:", SwingConstants.CENTER);
                        FCFSp3L     = new JLabel("P3:", SwingConstants.CENTER);
                        FCFSp4L     = new JLabel("P4:", SwingConstants.CENTER);
                        FCFSbt      = new JLabel("BT:", SwingConstants.CENTER);
                        FCFSp1TF= new JTextField (10);
                        FCFSp2TF= new JTextField (10);
                        FCFSp3TF= new JTextField (10);
                        FCFSp4TF= new JTextField (10);
                        JButton     FCFSokB = new JButton ("Accept");
                        FCFSokB.addActionListener(new ActionListener() {   
                        public void actionPerformed(ActionEvent e)
                                  JFrame frame2 = new JFrame("FCFCS");
                                  frame2.setSize(500,500);
                                  frame2.setVisible(true);
                                  frame2.setDefaultCloseOperation(EXIT_ON_CLOSE);
                                  JButton     FCFSclearB = new JButton ("clear");
                                  FCFSclearB.addActionListener(new ActionListener() {   
                                  public void actionPerformed(ActionEvent e)
                                  FCFSp1TF.setText("");
                                  FCFSp2TF.setText("");
                                  FCFSp3TF.setText("");
                                  FCFSp4TF.setText("");
                        JButton     FCFSBackB = new JButton ("Back");
                        FCFSBackB.addActionListener(new ActionListener() {   
                        public void actionPerformed(ActionEvent e)
                                  setTitle("CPU SCHEDULING");
                                  frame.setLayout(new GridLayout(7,2));
                                  frame.add(FCFSProcessL);
                                  frame.add(FCFSbt);
                                  frame.add(FCFSp1L);
                                  frame.add(FCFSp1TF);
                                  frame.add(FCFSp2L);
                                  frame.add(FCFSp2TF);
                                  frame.add(FCFSp3L);
                                  frame.add(FCFSp3TF);
                                  frame.add(FCFSp4L);
                                  frame.add(FCFSp4TF);
                                  frame.add(FCFSokB);
                                  frame.add(FCFSclearB);
                                  frame.add(FCFSBackB);
                                  frame.setSize(200,250);
                                  frame.setVisible(true);
                                  frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
         public class priorityButtonHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
         public class sjfButtonHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
                   System.exit (0);          
         public class rrButtonHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
                   System.exit (0);          
         public class exitButtonHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
                   System.exit (0);          
         public class creditsButtonHandler implements ActionListener
              public void actionPerformed(ActionEvent e)
                   System.exit (0);          
              public static void main (String [] args)
              Oscon O = new Oscon();
    }

    please help me revise my program, im almost done, i just nid to set the progress bar that it will run according to the waiting time, or set the progress bar to run in order.. these are the variable names of the progress bar(current1, then current2, then current3 then current4).
    i looked it up on the site and i cant really understand it... i just did the part where i included the progress bar to the interface. ijust want the 4 progress bars to run after clicking the accept button.... Please help me!!! its for my project and i didnt slept last night just working on this... i just nid help sir... thnks...
    these are the codes i made:
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.JProgressBar;
    public class CPUSched
              public CPUSched()
              JFrame frame = new JFrame();
                   JProgressBar current1, current2, current3, current4;
                   Thread runner;
                   int num = 0;
              final JLabel ProcessL, p1L,p2L,p3L,p4L, bt, prioL, tqL, wtL, awtL, awtLA;
                   final JTextField p1TF,p2TF,p3TF,p4TF, prio1TF, prio2TF,prio3TF,prio4TF, tqTF ;
                   final JLabel      blank1, blank2, blank3, blank4, blank5, blank6, blank7, blank8, blank9, blank10, blank11,
                                       blank12, blank13, blank14, blank15;
                   final JLabel     blank16, blank17, blank18, blank19, blank20, blank21, blank22, blank23, blank24, blank25,
                                       blank26, blank27, blank28, blank29, blank30;
                   current1 = new JProgressBar(0, 2000);
                   current1.setValue(0);
         current1.setStringPainted(true);
                   current2 = new JProgressBar(0, 2000);
                   current2.setValue(0);
         current2.setStringPainted(true);
                   current3= new JProgressBar(0, 2000);
                   current3.setValue(0);
         current3.setStringPainted(true);
                   current4 = new JProgressBar(0, 2000);
                   current4.setValue(0);
         current4.setStringPainted(true);
                        ProcessL = new JLabel("PROCESS", SwingConstants.CENTER);
                        p1L     = new JLabel("P1:", SwingConstants.CENTER);
                        p2L     = new JLabel("P2:", SwingConstants.CENTER);
                        p3L     = new JLabel("P3:", SwingConstants.CENTER);
                        p4L     = new JLabel("P4:", SwingConstants.CENTER);
                        bt      = new JLabel("Burst Time:", SwingConstants.CENTER);
                        prioL= new JLabel("Priority (1-4):", SwingConstants.CENTER);
                        tqL= new JLabel("Time Quantum:", SwingConstants.CENTER);
                        wtL= new JLabel("Waiting time:", SwingConstants.CENTER);
                        awtL= new JLabel("Average Waiting time:");
                        awtLA= new JLabel("");
                        blank1= new JLabel("");
                        blank2= new JLabel("");
                        blank3= new JLabel("" ,SwingConstants.CENTER);
                        blank4= new JLabel("");
                        blank5= new JLabel("", SwingConstants.CENTER);
                        blank6= new JLabel("");
                        blank7= new JLabel("");
                        blank8= new JLabel("" ,SwingConstants.CENTER);
                        blank9= new JLabel("");
                        blank10= new JLabel("");
                        blank11= new JLabel("", SwingConstants.CENTER);
                        blank12= new JLabel("");
                        blank13= new JLabel("");
                        blank14= new JLabel("");
                        blank15= new JLabel("");
                        blank16= new JLabel("");
                        blank17= new JLabel("");
                        blank18= new JLabel("");
                        blank19= new JLabel("");
                        blank20= new JLabel("");
                        blank21= new JLabel("");
                        blank22= new JLabel("");
                        blank23= new JLabel("");
                        blank24= new JLabel("");
                        blank25= new JLabel("");
                        blank26= new JLabel("");
                        blank27= new JLabel("");
                        blank28= new JLabel("");
                        blank29= new JLabel("");
                        blank30= new JLabel("");
                        p1TF= new JTextField (2);
                        p2TF= new JTextField (2);
                        p3TF= new JTextField (2);
                        p4TF= new JTextField (2);
                        prio1TF= new JTextField (2);
                        prio2TF= new JTextField (2);
                        prio3TF= new JTextField (2);
                        prio4TF= new JTextField (2);
                        tqTF= new JTextField (2);
                             prio1TF.setEditable(false);
                             prio2TF.setEditable(false);
                             prio3TF.setEditable(false);
                             prio4TF.setEditable(false);
                             tqTF.setEditable(false);
                        JButton     okB = new JButton ("Accept");
                        okB.addActionListener(new ActionListener() {   
                        public void actionPerformed(ActionEvent e)
                             double iw=0, wtp1, wtp2, wtp3, wtp4;
                             double bt1, bt2, bt3, bt4;
                             double averageWT, sumWT;
                             bt1=Double.parseDouble(p1TF.getText());
                             bt2=Double.parseDouble(p2TF.getText());
                             bt3=Double.parseDouble(p3TF.getText());
                             bt4=Double.parseDouble(p4TF.getText());
                             wtp1 = iw;
                             wtp2 = wtp1+bt1;
                             wtp3 = wtp2+bt2;
                             wtp4 = wtp3+bt3;
                             sumWT = wtp1+wtp2+wtp3+wtp4;
                             averageWT = sumWT/4;
                             awtLA.setText(""+averageWT);
                             blank3.setText(""+wtp1);
                             blank5.setText(""+wtp2);
                             blank8.setText(""+wtp3);
                             blank11.setText(""+wtp4);
                        JButton     clearB = new JButton ("Clear");
                        clearB.addActionListener(new ActionListener() {   
                        public void actionPerformed(ActionEvent e)
                                  p1TF.setText("");
                                  p2TF.setText("");
                                  p3TF.setText("");
                                  p4TF.setText("");
                             awtLA.setText("");
                             blank3.setText("");
                             blank5.setText("");
                             blank8.setText("");
                             blank11.setText("");
                             frame.setTitle("First Come First Serve");
                                  frame.setLayout(new GridLayout(6,6));
                                  frame.add(ProcessL);
                                  frame.add(blank1);
                                  frame.add(wtL);
                                  frame.add(bt);
                                  frame.add(prioL);
                                  frame.add(tqL);
                                  frame.add(p1L);
                                  frame.add(current1);
                                  frame.add(blank3);                              
                                  frame.add(p1TF);
                                  frame.add(prio1TF);
                                  frame.add(tqTF);
                                  frame.add(p2L);
                                  frame.add(current2);
                                  frame.add(blank5);
                                  frame.add(p2TF);
                                  frame.add(prio2TF);
                                  frame.add(blank6);
                                  frame.add(p3L);
                                  frame.add(current3);
                                  frame.add(blank8);
                                  frame.add(p3TF);
                                  frame.add(prio3TF);
                                  frame.add(blank9);
                                  frame.add(p4L);
                                  frame.add(current4);
                                  frame.add(blank11);
                                  frame.add(p4TF);
                                  frame.add(prio4TF);
                                  frame.add(blank12);
                                  frame.add(blank13);
                                  frame.add(blank14);
                                  frame.add(okB);
                                  frame.add(clearB);
                                  frame.add(awtL);
                                  frame.add(awtLA);
                                  frame.setSize(800,200);
                                  frame.setVisible(true);
                                  frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
         public static void main (String [] args)
              CPUSched O = new CPUSched();
    }

  • Help!--export error Flash MX mov's to Quicktime mov's

    Hey there,
    I normally convert Flash Mx 2004 mov's to normal mov's using Quicktime Pro.
    Now, I get an error with the "Export Controller". It usually stops at about %20 through.
    The Flash mov's play fine, but won't export.
    Any help is greatly appreciated.
    -Matt

    Yeah, I did export a SWF
    version 5
    enabled flash in Quicktime
    and it (the SWF) opens in Quicktime Pro, plays just fine, but then when I try to convert it to a MOV., the exporter crashes.
    I can make a SWF movie into a MOV, right?
    I'm trying to make a cartoon I made in Flash a MOV file I can upload to Youtube and other video sites.
    Am I missing something?
    Thanks for your continuing help, sir!

  • Ora - 00600 error plz help urgent

    hello all sir plz. help would should i do.
    by mistake i made changes in spfile file.... after that i got this error
    any solution ?
    plz. help sir
    SQL> create pfile from spfile;
    create pfile from spfile
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [733], [538970164], [pga heap], [],
    help sir
    waiting for reply

    first of all
    thanx for my reply
    sir i have bkp through rman but when i am connect to rman it give me error
    2. i have no pfile<sid>.ora file
    3. i try to start my database through pfile text file i got error..
    plz. reply sir what should i do.....
    how can i connect rman....
    C:\>set oracle_sid=db01
    C:\>rman target sys/oracle@db01
    Recovery Manager: Release 10.1.0.2.0 - Production
    Copyright (c) 1995, 2004, Oracle. All rights reserved.
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-00554: initialization of internal recovery manager package failed
    RMAN-04005: error from target database:
    ORA-12514: TNS:listener does not currently know of service requested in connect
    descriptor
    C:\>
    again thanx.
    i have full database bkp through rman.

  • HELP. I tried to download the software - no success. Just spins and spins. I need to speak to a human.

    HELP.

    sir ... may i knw by which downloder u r downloading ??
    n if u can sent some screen short .. i would betterly understand your problem

  • Siri does not work, suggestions?

    Hello, got my new 4s yesterday and did not set up as a new phone, could this be the problem? I push the home button and only get voice control.
    thanks for any help

    Is Siri turned on: Settings>General>Siri>On.

  • How should I do it?

    I want to develope a system which generate XML Schema files.
    The user will enter information into some front end with details of XML elements that will make up the Schema.
    Once this information is entered how would I go about actually creating the .xsd file? Would I create a DOM of this information entered? Would sax be better? Open to suggestions here!!! Is there much java api support for such developments?
    Thanks for your time
    Sir StupidHead.
    Happy Holidays to you all!
    And a properous New Year.

    What kind of help do you want? Schemas are XML files, they just have a specific vocabulary. So yes you can use a DOM to create a schema, or you could use SAX. Neither is "better", they just have different uses. There's plenty of Java support for manipulating XML.
    There are two steps you need to do:
    1. Decide what XML you are going to produce.
    2. Produce it.
    I suggest that number 1 is up to you, and how to do number 2 follows from the way you decide to do number 1. If you have some more specific questions then by all means ask them.

  • "How to sum FKIMG in VBRK and VBRP Table with sample output

    Sir\Mam\Gurus ;
    I hardly found it difficult in resolving my program in getting the sum of FKIMG inside the VBRP and VBRK tables
    The scenario is that i have one Sales Order with multiple invoices . What i need to do is to sum up the fkimg or the quanitity of specific material regardless of how many invoices the material have in a particular SO
    Example I have Sales Order number 35678952 with
    3 invoices
    Invoice # 123 with material number mat1=12, mat2=5 , mat3=7
    345 with material number mat1=7, mat2=7
    678 with material number mat1=5, mat3=10
    Output shoud be
    salesorder# 35678952
    mat1 = 24
    mat2 = 12
    mat3 = 17
    Below is my Sample Codes:
    DATA : it_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    ls_vbrp_details TYPE wa_vbrp_details,
    ls_vbrp_details1 TYPE wa_vbrp_details,
    lsfinal_vbrp_details TYPE wa_vbrp_details,
    it2_vbrp_details TYPE STANDARD TABLE OF wa2_vbrp_details,
    ls2_vbrp_details TYPE wa2_vbrp_details,
    it3_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    itfinal1_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    itfinal2_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    itfinal3_vbrp_details TYPE STANDARD TABLE OF wa_vbrp_details,
    ls3_vbrp_details TYPE wa_vbrp_details,
    rtime1 TYPE i,
    rtime2 TYPE i,
    rtime3 TYPE i,
    s_erdate type d,
    scr_erdat type d,
    s_erdate = scr_erdat.
    CALL FUNCTION 'MONTH_PLUS_DETERMINE'
    EXPORTING
    months = 1 " Negative to subtract from old date, positive to add
    olddate = s_erdate
    IMPORTING
    newdate = new_date.
    """ This is another way manual adding by days
    CALL FUNCTION 'CALCULATE_DATE'
    EXPORTING
    days = +30
    start_date = s_erdate
    IMPORTING
    result_date = new_date.
    result_date = ddate.
    REFRESH: it_vbrp_details.
    SELECT
    vbrp~matnr
    vbrp~aubel
    vbrp~aupos
    vbrp~vbeln
    vbrp~kzwi1
    vbrp~kzwi2
    vbrp~kzwi3
    vbrp~kzwi4
    vbrp~kzwi5
    vbrp~kzwi6
    vbrp~mvgr1
    vbrp~mvgr2
    vbrp~mvgr3
    vbrp~mvgr4
    vbrp~mvgr5
    vbrp~knuma_pi
    vbrp~knuma_ag
    vbrp~mwsbp
    vbrp~vkaus
    vbrp~fkimg
    vbrk~vbeln
    vbrk~fkart
    vbrk~belnr
    vbrk~xblnr
    vbrk~vbtyp
    vbrk~kunag
    vbrk~fksto
    vbap~posnr
    INTO TABLE it_vbrp_details
    FROM vbrp INNER JOIN vbrk ON vbrkvbeln EQ vbrpvbeln
    where vbeln eq gt_data-vbeln
    where vbrpaubel eq vbapvbeln
    WHERE vbrp~posnr GE ''
    AND vbrk~vbtyp EQ 'M'
    AND vbrk~fksto NE 'X'
    AND ( vbrperdat GE s_erdate OR vbrperdat LE new_date OR vbrp~erdat IN s_erdat ) " + JP 09 19 2011 Additional Optimization
    ORDER BY aubel aupos .
    ORDER BY aubel aupos matnr.
    """" This where i need your help Sir\Mam\Gurus
    it3_vbrp_details = it_vbrp_details.
    SORT it3_vbrp_details BY aubel matnr fkimg kzwi1 kzwi2 kzwi3 kzwi4 kzwi5 kzwi6 aupos vbeln
    mvgr1 mvgr2 mvgr3 mvgr4 mvgr5 knuma_pi knuma_ag mwsbp vkaus fkart belnr vbtyp kunag fksto.
    LOOP AT it3_vbrp_details INTO ls_vbrp_details.
    COLLECT ls_vbrp_details INTO itfinal1_vbrp_details.
    APPEND ls_vbrp_details TO it_vbrp_details.
    ENDLOOP.
    kzwi1,kzwi2,kzwi3 is also been sum up
    Sir the output is something like this
    Sales Ord# Material Qty KWIZ1 KWIZ2 KWIZ3 MGVR1 VBELN
    1234       Mat1     24  23.2  22    12           LastInvoice#
    1234       Mat2     12  20.0  21    15           LastInvoice#  
    1234       Mat3     37  22.0  22    16           LastInvoice#
    5432       Mat1     30  25.0  23    15           LastInvoice#
    5432       Mat2     24  22.0  24    23           LastInvoice#
    5432       Mat3     20  18.0  20    12           LastInvoice#
    Hope you can help me as i cant hardy sleep thinking of this ...
    I will really appreciate your great help..
    Thanks !
    I will really appreciate your great help..
    Thanks !
    Moderator message: duplicate post locked.
    Edited by: Thomas Zloch on Sep 20, 2011 3:05 PM

    Hi,
      How you want to display the output?..
    If you want to display the output as mentioned below, then you have to use nested loop & dynamic field assignments to get result.
    Output column
    sales order     Mat1 Mat2 Mat3 ......
    1234               24    12     37
    Kindly let me know, if you have any questions
    Regards,
    S.Senthilkumar

  • Best setting for 3D content for Flash

    Hello all. I am a Premiere noob that works in Cinema 4D.  I am exporting C4D  animations as QuickTime "animation" files. (.mov)  These videos are highly  detailed pixel-precise renders. I want to bring them into Premier with this  level of pixel precision, yet I cant seem to find the correct setting to ensure  they import and play back "ice cold." They tend to look slightly blurry in the  preview. The renders are for a specific flash size and are set to 874x480.
    Can someone help me with the correct setting for the movie? Please... The  content is so beautiful, I don't want to sacrifice any quality. I have the  latest version of PP. Thank you for any help you can give.

    Thanks for the help sir.  This is actually for a huge project. I'll post the  link here in a week or so.  Be sure to check it out.  We're all good now.  Ice  cold.  - No blurriness.  Its too bad I was able to do this years ago without any  issue.  Video codec's and technology sure have changed drastically in the past  few years.  There's a real learning curve for those who are not daily users.
    -B
    A side note I learned in this process: Cinema 4D users should not export their Quciktime (.mov) files from Premiere Pro as Uncompressed AVI.  It just screws up the pixel precision. Not sure why.  Just use the old school .avi and the advice above. The renders will be perfect.

  • Reading Files From CD-RW Mt. Rainer Format

    I need to read some files from a CD-RW formatted in Mt. Rainier format. These are simple .jpg files copied to the disk from a biomedical device. The format is the standard on this machine, which of course is built on HP hardware running XP. My IB mounts the CD-RW to the desktop as"INCD", and the folder on it marked "files" contains .htm files which when opened with Safari point me to the reader called "Nero" at www.nero.com. Of course, there is no reader for Mac OS there.... any ideas ?
    IB G3 800   Mac OS X (10.3.9)  

    Hi,
    Well, that was a learning experience. This new format sounds interesting, though I'm surprised less has been said about it in the forums and websites I peruse.
    Following a hunt I found this product, though they only offer Classic and Wintel versions, not OS X. It's also $19.95. Nevertheless, it's an option.
    Further info came from Diskinternals.com. I quote:
    As shipped by Microsoft, Windows can only read UDF discs, while current (2006) releases of Mac OS X, Linux, and several other Unix's include UDF writing capability with no additional software required. Older versions of these operating systems may have limited reading capabilities, and may not support more recent versions of UDF.
    There is a caveat however. Thanks to revisioning of the UDF standard (the technology underwriting the Mt. Rainier format), three distinct flavours now exist, leading to problems, and I quote:
    An example is Mac OS X (10.4.5), which claims to support UDF 1.50 (see man mount_udf), yet it can only mount disks of the original format properly (it can not mount UDF disks with a VAT at all, see Sony Mavica problem, and while it appears to be able to mount CD-RWs written with a Sparing Table, it does not read its files correctly in case the files are actually remapped).
    A search of Sourceforge turned up nothing containing the term Rainier, and very little containing the term UDF.
    Wikipedia offers this.
    The long and the short of it seems to be: test your disk on a Mac running Tiger, it may work; test your disk on a Windows 2000 PC, it may work; test your disk on a cutting-edge version of Linux, it should work; if you have an external CD drive, try burning the Ubuntu Live CD, booting from it, and using this to read the disk, it may work (I read that Ubuntu's Breezy Badger release was capable this way, and this may be the version on the Live CD).
    Other than that, it looks like you may have to get the CD reburned in a more compatible format.
    Hope this helps,
    SiR G.

Maybe you are looking for

  • Photoshop CS5.1 will not even open. Says it has encountered a problem and has to close.

    I have just today downloaded a free trial of Adobe CS5.1, but when I try to open it, it brings up the loading screen, and then when it says "Starting-up plug-ins, Scripting Support" an error message comes up saying "Adobe Photoshop CS5.1 has encounte

  • Why does my iPod say I have 352 photos where I only have 24

    Ok so I just relaxed my iPod touch because my last one broke. Everything has been covered with iCloud, so I have everything I had before...accept for most of my photos. I had about 325 photos and ipthey are in photo stream (my iPad and iPod share the

  • I am unable to open my own pdfs in Photoshop

    I am unable to open my own pdfs in my Photoshop (ones that I have created in same Photoshop). Can anyone advise? I get the message "This is not a valid Portable Document File (PDF) document. It cannot be opened." I have to keep recreating the art...u

  • Merging and printing multiple copies in InDesign

    I have created a nice 8 page A4 folder based on 4 double sided sheets of A3 that are folded and stapled nicely in our printer. Now I have managed to make a data merge from an Excel document with all my 500 customers so that I can personalize every bo

  • Creating an ins​trument handler/driver in CVI

    I am reposting a question I had last week about creating a server/instrument in an app, with a slight change. I have an application that I have to interface to. This existing application is a LabView based app which connects to and controls different