Twofold "Importing" question

Hi!
I'm not a beginning programmer, but I am relatively new to Java. This is the first non-hello world app I have done in the language and I've run into some snags (unsurprisingly) :) I'm writing a client program to work with the company's direct-order web service, using the NetBeans IDE.
The app has two forms; one to handle the user's settings (ie name, address, company, etc.) and another to actually place orders via the web service.
I am using the SAAJ/DOM/SAX API's to do all this stuff. I understand the API's fine; in fact I've got most of the code I need written already...my problem lies in importing the requisite libraries and my own classes properly.
*********Question 1:****************
The "user settings" part of the program has two classes. One is a GUI form where they enter their data and the other UserSettings class has methods which store the instance data and loads settings to and from a small XML file.
What I do is instantiate the UserSettings class from the GUI form's constructor. To do this, I need to import
my UserSettings into the GUI form class. I am having absolutely no luck doing this, despite what a simple basic task it is.
I have a folder called DirectMain which contains all my classes. So at the top of both classes I write
package DirectMain;
However, it tells me that the package doesn't exist. What am I doing wrong here?
What else do I have to do to import one of my classes into another?? What should the import statement look like?
********Question 2.*****************
I need to import javax.xml.soap for my main class where they submit the order. So I write
import javax.xml.soap;
and it tells me that package javax.xml doesn't exist, and .soap isn't in the autocomplete list for xml....even though I used it extensively in UserSettings, which is in the exact same folder. This makes no sense to me.
***NOTE: I have copied the required files into /jre/lib/endorsed already, as per the instructions given by the web service developer kit installer. This had no effect..
Can anybody help?
Thanks.

Your IDE probably has its own copy of the JDK, so the fact that you put some jars in the endorsed directory probably has no effect anyway.
You just need to add the jar(s) containing the class(es) you're trying to import, into your IDE's project. How you do that is IDE-dependent.

Similar Messages

  • How to import questions into Captivate 4 from a delimited file

    I'm looking
    a way to import questions from a delimited text file (or excel spreadsheet)
    into captivate.
    All the questions are simple multiple choice, single answer, four selections per question.
    I have hundreds - I'd hate to have to retype them all in one at a time.
    Thanks in advance
    -Joan

    Does anyone know if this is a feature in Captivate 5. 
    Other things I would really like to see in Captivate 5.
    Importing and Exporting the graded quiz/test content out of captivate into another
    application/ form.  Such as xml, tab delimited, excel spreadsheet,
    Adobe pdf, Word document or another format.  Our current content
    developement systems allows us to (when publishing) do this.
    1> exclude questions from the Published content
         (exclude section questions, or final test content)
    2> produce different test versions from question banks
    3> Produce a PDF paper test for when we want to train in a classroom setting
    4> Select which questions we want to produce
    5> Import questions from a pre-defined format.  To note: when we do this the system also makes us define a unique interaction id so that the import will update existing questions.
    I know this will NOT work for some of the more sophisticated questions, But for the simple Mulitple choice, true/false, fill in the blank.  etc..
    THIS WOULD BE A GREAT FEATURE..
    It would also be NICE TO HAVE THE abiliy to PROFILE versions of the SAME Course WITH OUT REPRODUCING / DUPLICATING / REPEATING THE  ENTIRE COURSE PRESENTATION.
    Such as
    "INSTRUCTOR TAUGHT TRAINING"
    "WEB TRAINING"
    "PAPER TEST A"
    "PAPER TEST B"
    ETC...
    LASTLY: if we can not export the QUIZ content.  Can an excel spreadsheet LIKE INTERFACE be used to edit certain aspects of the questions.
    Such as the InteractionId which is sent to the LMS ('cmi.interactions.0.id').  My developer team says it is real difficult and time consuming
    to track down interactionIds and then maintain them in a perfect way.
    Thanks,
    Doug Lubey of Louisiana
    www.douglubey.com

  • MEGA180 Important Questions

    I have my MEGA180 on order but I already have some important questions:
    1) This unit provides dual vga outputs. If I install my own AGP 8x card, will the VGA2 output still work? I read in the manual that installing an AGP card will disable VGA1 (default) but it doesn't say anything about the 2nd VGA output connector. I require 2 outputs since I will be connecting to an LCD and my HDTV monitor (using a VGA to Component Video Transcoder)
    2) Will there be performance hits by using the two vga outputs at the same time?
    3) The on-board video card doesn't have any video memory. It will use your existing DDR memory. I will have 512Meg Dual Channel Memory. What kind of performance I can expect from the built-in video card (NVidia NForce Crush18) compared to other AGP cards on the market?
    Thanks for your help!
    Sly

    Though I can not provide you with answers specific to the Mega 180, I can give you some more info.
    1) No. As soon as you install an AGP card, the onboard video will be fully disabled from within the BIOS. This is an nForce2 chipset setting. So make sure to get an AGP card with 2xVGA (as most cards have nowadays).
    2) No or not much. Using an nForce2 MoBo myself I haven't encountered performance loss using both VGA outputs.
    3) There's no way to compare the onboard video to an AGP card. AGP cards will have a far out better perfomance then the onboard video. But compared to other onboard video solutions around, like Xtreme Graphics, the nForce solution is far better and has far better performance.
    It all depends on what you will be doing with the MegaPC. If you're a gamer, get an AGP card. If you want to use it as an HTPC, keep with the onboard nForce2 solution. There's no need for extra here since the nForce2 chipset is great. Onboard sound from this chipset is also great. Try it out before spending $ on an AGP card you don't need.
    Hope this helped a bit.
    roma

  • E-Recruiting important questions

    I'm implementing the E-Recruiting and I have two important questions for this Project:
    1 - The business want to capture mobility (willingness to relocate / travel) at the time of position application. Is there a standard field for store this information?
    2 - Recruitment would like to be informed about a critical process, in others words, the requisition doesnu2019t compete with other priorities. How can I handle this situation?
    Thanks in advance!!!
    Sivani

    Hi Sivani,
    Questionnaire answers are stored in IT5141.  They are visible to the Recruiters when viewing the Candidates and can be used in rankings.  You can also decide for which positions this questionnaire would be required and which not. 
    Do not see a standard field to create a priority when creating a Requisition.  We added many fields, such as "eligibility for employee referral", so it can be added.  However, letting managers set the priorities could be a problem with each manager thinking his/her opening is most important. 
    Paul

  • Server Specs for a 11.1.1.3 Install Important questions.

    I've put together some specifications for a Development Server & Production Server, any comments appreciated. I hope this post acts as a good reference sample for anybody else out there looking to implement a Hyperion Planning.
    Client Tier: (2 developers)
    Windows
    8 GB RAM
    Dual Core Processor
    Components: EAS client, Smart View, Excel Add-in
    Web Tier:
    HTTP Web and J2EE Servers:
    Windows + (not sure which version would be best here, any ideas appreciated)+
    Processor: 4 x 3 GHZ, 64 bit
    RAM: 8GB
    Hard Drive: 32 GB
    Components: Foundation: HSS, Workspace, Planning, Web Applications: EAS, Financial Reporting, Web Analysis, Planning,
    Services Tier:
    Server1:
    Windows (2003 SP1, R2)
    Processor: 4 x 3 GHZ 64 bit
    RAM: 16 GB
    Disk: 32GB
    Components: Essbase Server 64 bit
    Server2:
    Windows (2003, SP1 R2)
    Processor: 2 x3 Ghz
    RAM: 8GB
    Hard Drive: 32GB
    Components: Reporting & analysis, Financial Reporting Print Services, ODI
    Server 3:
    Windows (2003, SP1 R2)
    Processor: 2 x3 Ghz 64 bit
    RAM: 8GB
    Hard Drive: 32GB
    Components: FDM
    Database Tier:
    4 x 3 GHZ - 8 GB RAM
    DISK: 100GB RDBMS
    200GB Essbase Storage
    The specifications will be similar for the production for abotu 25 - 30 users (10 concurrent), with RAM being a little bumped up.
    One important question: I might need guidance on installing 32 bit planning or FDM on the 64 bit server - any known issues with this? Also any known issues with 64 bit Essbase working with 32 bit Planning?
    Edited by: EssbaseApprentice on Sep 30, 2010 10:04 AM

    obviously its hard to comment on whether it is the perfect spec for your environment, it looks alright to me, it is not under spec.
    For the web tier as you are running reporting and analysis and the other machines are windows based personally I would stick with windows 2003.
    Is there any reason why you have one machine dedicated just to FDM, seems a bit of an overkill just for one product, it may be worth combining services server 2 with FDM, just a suggestion though
    John
    http://john-goodwin.blogspot.com/

  • Important Questions to ask when developing in Workflow

    Hello All,
      I have two questions.
      I am not a Workflow developer, but I've been asked to find out information about creating a Workflow process.
    Here is what <b>I</b> need to know: What are important questions to ask the end-user when creating a workflow. What needs to be taken into consideration?
    Here is an example of the kind of thing we need to do:
    Send an email on a weekly basis to different Project Managers a Summary of Project Charges = (maybe CN41?)
    Each Project Manager will have different requirements, so  I guess one question will be: "What info do you want from this report?". What else do I need to know?
    My second question is this: I should be able to output this as an Excel, correct? How much can I customize this? I haven't done much SAP -> Excel work. Only when I go to System -> List -> Save -> Local File ->Spreadsheet.
    Thanks for the help.
    Don Fields

    Hello Don!
    WF is quite a complex topic and someone could write a book to answer your questions - actually there is already a good book available -> check: Practical Workflow for SAP
    http://www.sap-press.com/product.cfm?account=&product=H950
    Looking at your example their might not even be a need for a workflow but rather a job that runs periodically to send the required information via email to project managers.
    Workflow is mostly used if user actions are required e.g. confirm, approve, reject a request or notifications need to be sent to someone after an event or user action occured.
    Check this link for getting more information on how to download data to excel:
    http://www.sapdevelopment.co.uk/reporting/email/attach_xls.htm
    Harald

  • Adobe Captivate Help | Import questions from GIFT format files (Cp 7)

    This question was posted in response to the following article: http://helpx.adobe.com/captivate/using/import-questions-gift-format-files.html

    Hi there,
    Captivate 7 doesn't support tags during GIFT import. So you won’t be able to import Images, links etc. as part of GIFT Import.
    Thanks,
    Nimmy Sukumaran.

  • Hi sorry but i have an important question?i have an iphone 4 and i want connect his to i tunes in a second pc because the pc i connect before is broke..how can i do?without lost my photo number or music?

    hi sorry but i have an important question?i have an iphone 4 and i want connect his to i tunes in a second pc because the pc i connect before is broke..how can i do?without lost my photo number or music?

    check out this post by Zevoneer.

  • 3 important questions about SAP HANA

    Hello Community!
    I have got 3 important questions about SAP HANA.
    1.
    - Our Company has all up about 150 SAP - Systems.
    - 12 Systems are ERP-Systems.
    => We consider about SAP HANA at the moment.
    => Is it possible to put all the 12 ERP-Systems in ONE SAP HANA or do I need one seperate HANA for each ERP-System?
    => If it is possible, can you tell me the disadvantages when I use 1 HANA for the 12 ERP-Systems.
    => Is there a Storage-Limit in the HANA (I think no, because of 64 bit).
    => Can I still make realtime-analytics with 1 HANA for 12 SAP Systems?
    2.
    => Can I run ONE HANA with different non-SAP-Systems?
    3.
    => Is there a Demo-Center from SAP or IBM, where I can test and see the HANA before I buy it?
         (I do not mean the Fujitsu TDS Demo Center)
    It would be nice, when you would answer all my questions.
    Thank you.

    I have got 3 important questions about SAP HANA.
    1.
    - Our Company has all up about 150 SAP - Systems.
    - 12 Systems are ERP-Systems.
    => We consider about SAP HANA at the moment.
    => Is it possible to put all the 12 ERP-Systems in ONE SAP HANA or do I need one seperate HANA for each ERP-System? Yes it is quite possible to put all the ERP/CRM/SCM or other components on one HANA. You need to check for pricing/users/RAM (storage)
    => If it is possible, can you tell me the disadvantages when I use 1 HANA for the 12 ERP-Systems.
    There are no disadvantages as of now.. improve existing planning, forecasting, pricing
    optimization and other processes
    => Is there a Storage-Limit in the HANA (I think no, because of 64 bit).
    There is no limit on Stotrage: You need check how much Data you need on RAM (Real time processing) Storage.Minimum you can buy is 64 GB and multiple of it for (RAM)
    => Can I still make realtime-analytics with 1 HANA for 12 SAP Systems?
    Yes certainly..
    2.
    => Can I run ONE HANA with different non-SAP-Systems?
    YEs you can run HANA for 3rd party S/W or non-sap systems for your real time anlytics.
    It has ODBC and JDBC both and you can combine it with other systems.
    3.
    => Is there a Demo-Center from SAP or IBM, where I can test and see the HANA before I buy it?
    (I do not mean the Fujitsu TDS Demo Center)
    This you need to check with your local SAP Service channel..
    It would be nice, when you would answer all my questions.
    Thank you.
    PY

  • SUPER IMPORTANT QUESTION (really!!) Zen Mi

    <SPAN>PACKAGE CONTENTS
    Zen Micro Player</LI>
    Rechargeable Li-Ion Battery </LI>
    High Fidelity Earphones</LI>
    USB 2.0 Cable</LI>
    Creative Media Source</LI>
    Installation CD</LI>
    Quick Start Guide</LI>
    Limited edition Zen Micro 5GB comes bundled with these additional accessories*:
    Power Adaptor</LI>
    Belt Clip & Stand</LI>
    Pouch</LI>
    *While Stocks Last
    I Thought all ZM5GB came with the belt clip/stand/pouch...so only if u buy on line u get it's?

    A "super important question" would be something like, "is there a god?" or "what are my chances of surviving this operation?" or, maybe, "my Zen Micro is showing a message saying 'will self-destruct in fi've minutes unless technician code is entered' -- does anyone know the technician code?" (no, no one has ever asked that question).
    Yours doesn't qualify.
    The answer is that, at the moment, all 5gb Micros as far as I know come with these accessories, all 4gb and 6gb don't, but READ THE PACKAGE CONTENTS before buying to make sure.Message Edited by tganani on 04-09-2005 05:59 PM

  • A very important question for every After Effects user

    a very important question for every After Effects user, from product manager Steve Forde:
    http://adobe.ly/1exI6tI

    Tom Daigon Great idea everybody! Encourage Adobe to do ONLY ONE THING with AE for 2014. Since theres not a heck of a lot of development that can be done on the present foundation, they can really stretch the rental scheme out for many years.And once you get used to the concept, every year they will do ONE THING to placate you. So now they have you swallowing no "ownership" of software and limited development. 

  • HT4972 hi one of the main important questions which this site didnt answer to it is: whats the latest version of ios which any device work with it for example i have a ipad 1st and i dont know whats is the latest version of ios for this device thanks

    hi one of the main important questions which this site didnt answer to it is: whats the latest version of ios which any device work with it. for example i have a ipad 1st and i dont know whats is the latest version of ios for this device

    Google "iOS versions" and read the first match (Wikipedia)........

  • Some important questions on MDM functionality

    Hello All,
    I have some basic/imp questions to be understood on MDM 7.1 for a data consolidation project.
    1) When importing records in import manager, some of the records are failed with this error message "Import failed. Unable to find value map index". When checked the records in excel source, those records are having one or two fields carrying some square like char, ? and some non readable char (chinese, japanese). SAP is the source and SAP CRM has those characters successfully maintained in the system but MDM has some issue. How do we tackle these in MDM to successfully import those records?
    2) How do we archive a repository to create a new one which needs to have empty records in main table but need to carry look up table records?
    3) There are some records attached to workflow and when deleted those records from data manager, system throwing error "attached to workflow". Can anyone help me how to remove this attachment and delete those records?
    4)  The max number of records which can be imported at one shot in import manager is 100K? What happens when we exceed this records let's say 200K? Does the process go infinite loop? Is there a way out to import more than 100K records at one shot?
    5) What are the different types of data consolidation projects MDM Gurus encounter? Elaborate please.
    6) How many clients use Hierarchy, taxonomy, family tables for repository design? Is it very common or rare? And what would be some of the reference  use cases (articles) I could find in sdn blogs for these?
    Thx and appreciate for responding to these and also please let me know if any additional articles around MDM which are very popular and must see for a MDM consultant.
    -Mike

    1) When importing records in import manager, some of the records are failed with this error message "Import failed. Unable to find value map index". When checked the records in excel source, those records are having one or two fields carrying some square like char, ? and some non readable char (chinese, japanese). SAP is the source and SAP CRM has those characters successfully maintained in the system but MDM has some issue. How do we tackle these in MDM to successfully import those records?
    Thats a known issue in MDM 5.5 but i am not sure about the current 7.1 SP08 release it might by fixed too, MDM Import manager does not support some special characters,only solution is to identify those records which has special characters in excel and exclude them from the load, may by unmapping the field which has special characters and load the other fields data using the map. and then login to Data manager and copy the text to the corresponding record  manually.
    2) How do we archive a repository to create a new one which needs to have empty records in main table but need to carry look up table records?
    We can not create a repository from an archive with out main table data automatically. you need to clean the main table manually or by using an import map we can delete the data.
    Check the below link for deleting data from a main table through import manager:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d0245870-0adf-2b10-46a8-ca9dcf8e1a4d?QuickLink=index&overridelayout=true
    3) There are some records attached to workflow and when deleted those records from data manager, system throwing error "attached to workflow". Can anyone help me how to remove this attachment and delete those records?
    Click on workflows tab in data manager and you can find in which workflow the record is and check the history by right clicking on the record. if you have rights to stop the workflow do that , or else login with the workflow owner and stop the workflow so that record will come out of the workflow and will be able to be delete that record.
    4) The max number of records which can be imported at one shot in import manager is 100K? What happens when we exceed this records let's say 200K? Does the process go infinite loop? Is there a way out to import more than 100K records at one shot?
    Importing 100K data in one shot is not a good idea, and the system will go in infinte loop. you need to split the source files in to multiple chunks. chunk size in your system will be set in MDS.INI file, talk to your MDM Basis guy he will help you in getting details of those..
    5) What are the different types of data consolidation projects MDM Gurus encounter? Elaborate please.
    Let us know which kind of consolidation project you are working in, Tricks will be based on the particular requirement
    6) How many clients use Hierarchy, taxonomy, family tables for repository design? Is it very common or rare? And what would be some of the reference use cases (articles) I could find in sdn blogs for these?
    Again for this question it will be based on the requirements... i am sure you will be able to find blogs how to use hierarchies,taxanomies and family tables but not the client names...
    Hope i answered your questions.
    regards
    Sowseel

  • Need to do a clean install, important questions

    Hi all,
    For several months my two-year-old MacBook has been having a serious typing issue that I have not been able to resolve. When I am typing, quite frequently, the typing will move to the middle of the text box (or Word document) and start writing over or deleting what I've already wrote. I've searched online, other people have suffered this problem, but there is no definitive solution. I will not go further into this, but if you know what might fix the problem please let me know.
    Anyway...
    Per the suggestion of a friend, I plan on doing a clean install to Snow Leopard. Since this sounds like a software issue, I am hoping this will resolve my typing problem. I have never done a clean install before and need to purchase an external hard drive. Everything must go seamlessly, as I am a college student and have very important docs and applications that must safely be transferred back. This is what I'm looking at:
    - 40 GB of media files in iTunes
    - 10 GB of photos in iPhoto
    - 0.5 GB of text documents
    ~ 30 GB of applications (Office, Adobe Suite, etc.)
    My friend told me I will need the install discs for Office and Adobe Suite in addition to to the serial numbers. I live far away from home now, and am not even sure if the install disc for Office is still in my hometown. Adobe Suite came preloaded on my MacBook when I purchased it from Apple with a student discount (there were never any install discs). It is very crucial that I am able to transfer the Adobe Suite.
    Will I be able to transfer all these documents/applications to an external drive? If so, could you provide me a tutorial on how to go about this process.
    I greatly appreciate all help.

    You are very welcome.
    "I just learned that external hard drives are either Windows or Mac compatible. You said I needed one that works with Firewire 800, but what about USB 2.0? I'm not even sure if this MacBook is Firewire 400 or 800."
    Almost all drives will work on either. What matters is how the drives are formatted. If you were to buy a drive, things might be a tiny bit easier if it came formatted the way you want. If the firewire port is oblong, then it is 400. If it is pretty square, then it is 800. 800 is better than USB 2.0 which probably is better than 400. You can get USB 2.0 that are bootable, but I don't know that all of them are. You can be almost certain that a firewire 800 or 400 will be bootable. You need one that will bootable, of course.
    "What exactly is the migration process? You said it will prompt me to migrate (transfer to external hard drive?) after I've put in the Snow Leopard install disc? I assumed I would be manually transferring the files and applications to the external hard drive before putting in Snow Leopard. So you are saying I will be able to transfer my applications such as Adobe Creative Suite and Microsoft Office without needing the original discs or even entering in the serial numbers?"
    Yes, to the last sentence. It wouldn't work to transfer things to the drive before installing the OS. At the end of an erase and install of SL, you will be prompted to migrate, or restore, your users, settings, apps, and data. I would migrate the apps and data, but not the users and settings. You would elect to migrate from your Leopard installation (i.e., from an earlier system).
    "Thanks again for the reply. I will go ahead with buying an external hard drive as soon as the first question is cleared up."
    A good thing to do is to see what is carried at the Apple Stores. One brand I like is LaCie, but they can be more expensive than some. The manager at "my" store is willing to do price matching on drives they carry. Another brand (not Apple oriented) that I like is Buffalo. Newegg.com and Frys tend to have good prices on these. You can get a 1 TB 7200 RPM Buffalo for < $140.
    Message was edited by: donv (The Ghost)

  • Important question: I have got a PXI-4472 and I am able to do single-channel acquisition. How does multi-channel acquisition work?

    Look at the VI: it is quite eleborate, but the crucial point is Data Acquisition and Trigger&Gate (and, consequentely, Write to File operation).
    I can add plot on the Waveform Graph DATA, this is rather easy, simply adding the channel numbers in the channel control (es. writing 0,3,7 will collect data from the three channels).
    First question: is this operation of adding plots correct?
    Second question: does the sampling rate dwindle when I consider multi-channel acquisition? I mean: 1 channel-->100KHz ; 2 channels-->50 KHz
    More over, and MORE IMPORTANT: is it possible to set different trigger conditions for different channel
    s? How can I control this operation?
    Third: can you have a look at the VI as all (the appearence, the functionality, the logical sequence...). I am looking forward to get your advice. In particular:
    Look at the frontal panel: what do you suggest to make it "smaller"? More tab controls?
    Look at the Block Diagram: do I have to connect ERROR IN and ERROR OUT to every suVI or function that makes this connection possible (as Trigger&Gate and Write File)?
    Attachments:
    Start&StopTrig_SpectralMeas_style+image.vi ‏700 KB

    First: yes, the operation is correct.
    Second: yes again. When you consider a multi-channel acquisition, your sampling rate must be shared among the channels.
    Third: when you specify a list of channels you want to acquire from, the channel considered for analog triggering is the first you put in the list.
    Connect the error clusters whenever you can,in particular when you are dealing with I/O operations.
    Bye!

Maybe you are looking for

  • Problem with HP Printer - has stopped printing for no apparent reason!

    Hi all, I have a Powerbook G4 and an HP Deskjet 3820 printer that have got along just fine ever since I first got the laptop - in fact, until just a few days ago it was printing normally with no trouble at all. Now, however, it stubbornly refuses to

  • The Lock switch is not working

    The button that allows you to toggle between locked and unlocked is not working anymore. It's stuck in the locked position so I can't even reset. Any Suggestions?

  • How to 1 logical schema to many physical schemas?

    I have a database schema which is instantiated on many different servers. I set up a physical schema pointing to one, and a logical schema pointing to that physical schema. I imported the schema to a model, created interfaces for the tables, and crea

  • Xerox DocuCentre-II C3000 Not Printing from 10.6

    Hi, We have just gotten a Xerox DocuCentre-II C3000 and I have set it up easily to work with Windows XP, but I am having issues getting it working under Mac OS X (10.6). I have tried the drivers from the Xerox website, and when I print it sends the j

  • Files Missing But There

    I am using a 8GB flash drive to store files. I use Windows 7 in virtualization to develop macros in EXCEL which are stored on the drive also. Up until two weeks ago I had no problems accessing files stored on the drive (EXCEL and other files). Now I