Random package question...

In Netbeans it always says:
"Warning: As of JDK 1.4 it is highly recommended that you do NOT place Java classes in the default package."
I was just wondering why this is.

S.R.H.
I believe the actual statement is (in my own words)
A Class which is in a package cannot access any Class which is not in a package.
Note that another class which is not packaged can access another class which is also not in any package.
So a class in the default package would be severely crippled in terms of re-usability.
Regards, Darryl

Similar Messages

  • Random test questions quiz results not working

    I have a project with random test questions. It's published in HTML5...Each time I play the project in preview, the test results are accurate and correct at the end...However after I have published the project to my site, all the random test questions are NOT accurately scored in at the end of the quiz...It's tells me basically I got all the questions wrong, when in fact the on each questions my display is clearly stating it's correct.
    If I move the question out of the random test questions and back into the main project...it is scored correctly, but once it's back in the "pools" area, it is scored incorrectly in the final tally as a random test question...Don't have a clue why this is...it's really been time consuming trying to fix it...and my fortune so far fixing anything to do with Captivate is really low! Buggy! I'm using Captivate 8, so have no idea...
    Anyone have any idea what is going on?

    So obvious I don't know why I didn't think of that. LOL
    Many thanks that works.
    It would appear that the only way to adjust the pause is to add time to the
    slide as I am unable to slide the pause back.  But changing the slide of 3
    secs to 3.1 does work.
    Is there an easy way to do this for ALL slides or do I just have to  do it
    one by one.
    Again many thanks
    Andy
    Jeddah by the sea, Saudi Arabia.

  • Random package

    Hi All,
    under which package can i use to install the random package dbms_random into the schema that every user be able to use??
    Cannot find in Oracle ver 8.0.4. Advice greatly apprciated.
    Thanks

    S.R.H.
    I believe the actual statement is (in my own words)
    A Class which is in a package cannot access any Class which is not in a package.
    Note that another class which is not packaged can access another class which is also not in any package.
    So a class in the default package would be severely crippled in terms of re-usability.
    Regards, Darryl

  • Random package corruption

    Hello,
    I'm trying to install Arch x86_64 with the 2012/08 ISO, but every time I try to install the packages, pacman says some of them are "invalid or corrupt (PGP signature)". If I re-download them, some other random packages become corrupt! I have already tried 3 different mirrors, disabling signature check, even installing it to the live environment (instead of to the hard disk), restarting the modem/router, trying another day, and nothing works.
    This is a very odd situation:
    The packages seem to download just fine;
    ifconfig shows no corrupt or lost packets;
    I have another machine with Arch Linux, and it always updates nicely;
    I have installed many times the "stress" package in the live environment, and it never became corrupt;
    I had Linux installed in this very machine 2 years ago. Only difference is, now I have a fake RAID stripe of 2 disks and a Radeon HD 6970 card, which I'm 99% sure has nothing to do with anything. But then again, computers (also, users) don't really need a logical reason to fuck things up.
    So, any suggestions?
    ALSO! In the phrase "I had Linux installed in this very machine 2 years ago", is it correct to use "had" or "have had"? Can someone explain me this, please?
    Last edited by JohnTH (2012-08-09 16:18:32)

    Have you checked the disks? (I was also going to mention RAM as I saw something similar a few months ago but if it isn't that, something else hardware?)
    "I had a hat with three corners when I was a child." [I don't have that hat now.]
    "I have had this bike for several years." [I still have it now.]
    "I had no luck installing Arch." [And I've given up trying.]
    "I've had no success installing Arch." [But I'm probably still trying or at least considering it.]
    "I've had no luck getting the elves out of my laptop so far." makes sense (except for the elves).
    "I had no luck getting the elves out of my laptop so far." doesn't really make sense though people would know what you meant (even if they thought you were a bit touched).
    If you want a proper grammatical explanation, though, you'll have to ask somebody who learnt English as a second language (or teaches it). I can't tell you _why_!

  • Random Security questions?!?!

    Okay what the ****, go to purchase some apps on my new ipad and it tells me i have to verify my identity so it starts asking me all these random security   questions that I've never even gave answers to in the first place. Now i have one try left and I'm looked out. Really apple? 

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    If you log into your account via http://appleid.apple.com and select the Password And Security section are you able to set them ? If not then is there a reset link underneath the questions (the link will only show if you have a rescue email address on your account) ?
    If you don't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use the steps half-way down this page to add a rescue email address for potential future use : http://support.apple.com/kb/HT5312

  • Randomized Quiz Questions in CP7: Back button goes forward

    I've checked my on enter and on exit fields. Not sure why, but my randomized quiz questions' back buttons go forward. Very odd. Is there a setting I should check?
    It is worth noting that the back button is clearly not the forward button... checked in properties.
    Also, I need the student to be able to reanswer this question until they get it right, at which time the question stays answered.

    Yes sir. Thanks for the reply, Rod. I was hoping you were on =)
    I buy pretty much all of your stuff... went through the whole troubleshooting guide.
    Just noticed that "Branch Aware" is on, and it is a linear lesson. Going to try turning that off.

  • Adobe Reader 9.3.2 silent install package questions, please ...

    Hello:
      I am a network and Desktop Support person for a higher education facility.  I was asked to take over automating software application
    installs.
      I have a script process, created by Auto-It (Scite script editor), that has been working well for Adobe Reader 9.1 with updates to 9.1.1, 9.1.2 and 9.1.3 (found on the Internet) -
    msiexec /i \\<server>\<path>\AcroRead.msi TRANSFORMS=\\<server>\<path>\AcroRead_10132009.mst /passive /norestart /update \\<server>\<path>\AdbeRdrUpd911_all_incr.msp;\\<server>\<path>\AdbeRdrUpd912_all_incr.msp; \\<server>\<path>\AdbeRdrUpd913_all_incr.msp
      My questions:
    Is there a similar process for installing Adobe Reader 9.3 silently and then updating to 9.3.2?
    If so, what are the steps, ex. expand/extract the initial 9.3 .EXE, then create a transform using Orca/<transform making of choice>, etc.?
    With having read of some issues in this forum regarding Adobe Reader 9.3.2, should I continue using 9.1.3 and wait?
      Thank you for your time.

    Well we have a wiki where I work, and here is then entry I have created on how to deploy Adobe Reader. See if any of this helps, if not, we'll take it from there.
    Deployment
    It is HIGHLY recommended that you read and follow the directions of the deployment guide provided by Adobe located at http://www.adobe.com/devnet/acrobat/pdfs/deploying_reader9.pdf. The documentation located here is simply for a quick reference for those who have already read the guide.
    The rights to distribute Adobe Reader must be obtained by filling out the form found at http://www.adobe.com/products/reader/rdr_distribution1.html. After filling out the form and being accepted to distribute Adobe Reader, you will receive an email with a link to download the redistributable version of Adobe Reader. You will be prompted to download a .exe package containing the Reader MSI file. The general form of the command to convert a Nosso-compressed file to an MSI package is:
    <path to>\AdbeRdr90_en_US.exe [<switches>...]
    Switch
    Description
    -nos_ne
    Do not execute any file after installation (overrides the -e switch) This switch should be used if user only wants to extract the installer contents and not run the installer.
    -nos_o
    Specifies the name of folder where the contents of the expanded package are to be placed. The folder name should be enclosed in quotation marks. It is best if you do not use an existing folder, and there should be no space following the “-nos_o”.
    For example:<path to>\AdbeRdr90_en_US.exe -nos_o”TestFolder” -nos_ne
    Using the extracted MSI, create an Administrative Installation Point (AIP) using the command-line:
    msiexec /a <path to>\AcroPro.msi transforms=<path to>\AcroPro.mst
    The AcroPro.mst transform file is created by the Adobe Customization Wizard 9
    You can apply any patches that may have been released since the major version release. Use the command-line:
    msiexec /a <path to>\AcroPro.msi /p <path to>\AdbeRdrUpd931.msp;<path to>\AdbeRdrUpd932.msp
    Once all this is complete, you can fully deploy the software by running the command-line:
    <path to>\AcroRead.msi transforms=<path to>\AcroRead.mst /qb
    More information can also be found in the Enterprise Administration Guide

  • Setting project default file locations and a few random interface questions

    I apologize for the randomness of this post, but it seemed better than spamming a bunch of different posts in a short period of time.  I've been using Premiere Elements 9 for about 6 months now and there are a few little things that I'd like to tweak.
    I'd like to change the default file save location for a project.  I've got different projects in different folders and it seems like I should be able to set a default save location for each project.  All I've ever been able to find in the help is how to set the scratch folder, which is different.
    I'd like to change the default encoding preset for a project.  For example, I have a custom preset for mp4 under the mobile phone category.  It would be nice to have that be the default whenever I pick the mobile phone category.
    With birthdays and concerts and plays and all that stuff I have about 50 videos and a couple hundred large photos already.  Every time Premiere loads, it takes a few extra seconds to load up all of the thumbnails.  I hide all the videos and pictures on the Organize tab and save the project, but it never sticks.  Is this just impossible?
    Finally, every so often, the end-of-clip marker acts funny.  I don't know what the proper name for it is, but it is the thing under the mouse cursor in the picture below.  It used to automatically move on the time line as I added or deleted clips.  Somehow I clicked a button and it no longer does that.  After a week or so of not working, it goes back to automatically adjusting as I add and delete clips from the timeline and then it will break again.  Ideas?
    Also in the timeline, I now have this huge gap of nothingness on top of video 1, see picture.  My ocd says that Video1 and Audio 1 should be at the very top and the gap should be on the bottom.  Ideas?
    Thanks,
    Bob

    I kind of wish you'd have spread these questions out over a couple of posts so that we could answer each thoroughly. If I answer all of them in depth in a single post, this answer would be the size of one of my books! (which, by the way, contain many of the answers to these questions.)
    1. The default save location for your videos should be the last place you've saved your video to. So that should happen automatically. Although in my books I recommend that, whenever you start a new project, you create a new folder for it. This is good housekeeping and a good way to keep your tmp and render files in the same place on your drive, which has a number of advantages.
    2. You can't create a custom project preset. The only presets available are the ones Adobe provides. And, although they are pretty extensive, some non-traditional formats (like video from some mobile phones) are not well supported. You may be able to get it to work -- but it's usually a hybrid solution and, personally, if you plan to use your phone's video as your main video source, I'd recommend you look at another video editing program. Premiere Elements doesn't do the hybrid stuff well. It's ideally suited for video from traditional camcorders.
    3. The thumbnails you see when the program loads are not in your current project. At least not until you import them into your Project panel. That Media panel is merely a preview to what's in your Organizer catalog. As I explain in my book, it's usually best to ignore this panel until you really learn your way around the basics of this program. It's very confusing. Fortunately, it adds very little load time to the program itself -- regardless of how much time it seems to add.
    4. The thing in the illustration is the Work Area Bar. It's used to isolate a segment of your timeline for rendering, etc. Usually, it will shrink and grow as you add and remove video from your timeline. Unfortunately, there's a bug in version 9 and, if you manually change it once during a project, you'll have to manually change it for the rest of the time you work on the project. But, if you drag each end of the Work Area Bar to cover your entire timeline of videos, your project shouldn't misbehave.
    5. The "gap of nothingness" on your timeline is just room for you to add more audio and video tracks if you'd like to. It's a good thing to have! BTW, as I'm sure you know (and my books, once again, explain) you can toggle the tracks on your timeline so that they display as either compressed (as in your illustration) or wide open, which allows you to see your clips and control audio and video levels. Once again, this is a very good thing!
    Happy moviemaking.

  • Questions are not randomizing in question pool

    I have 30 questions in my question pool.  I have 10 random question slides but everytime I go to quiz, the same 10 questions come up.   I need help in troubleshooting this, please.

    Once you launch a module and it sets up the specific questions that will be selected from the pool for that session, those are the only 10 questions you are going to see, no matter how many times you hit the Retake Quiz button.  That is normal behaviour.
    However, if you close down the module entirely and relaunch again at a later time, in theory you should stand a chance of seeing at least some different quiz questions.  If you are consistently seeing EXACTLY THE SAME set of 10 quiz questions even after completely closing down and relaunching the session again, then that would be regarded as a randomization failure and you should report the bug to Adobe.

  • Quick iPhone packager question...

    Hello,
    I am interested in purchasing Flash CS5 so I can make an iPhone app that involves PDF opening and saving, but I had a question to all those who have used AlivePDF... would it work with the packager for iphone to make an iPhone app?
    If not...
    With the rescources Flash CS5 has with Air 2...would I be able to open a PDF, draw on it, then save it to the iPhones desktop? Or would that just be an AlivePDF thing? If AlivePDF doesn't work with the iPhone packager, is there any way I could handle opening/saving PDF's with anything else?
    Thanks in advance for the reply.
    -mightybotme

    Hi mightybot,
    I checked with Thibaut, and he indicated AlivePDF should work with AIR 2 mobile profile and the Packager for iPhone.  Let us know your results!

  • Package question - what are the uses for  /var/sadm/pkg ?

    I'm writing packages and noticed once a packages is installed using pkgadd, that files and dirs are created in the /var/sadm/pkg directory. I'm specificly intereseted in the pkginfo file - it contains all the variables from my request script and their values. My question is what are all the uses for this file?
    I've noticed that pkginfo reads from it but would there be any problem deleting certain lines from that file (lines not used by pkginfo - just variables used in the request script that I'd really rather not have floating around in a publicly accessable file).
    thanks!
    Bob

    I'm refering specificly to the file "/var/sadm/pkg/<pkgName>/pkginfo" - it's created during pkgadd and contains all the variable-value pairs from the packages pkginfo file as well as any variables used in the request script and copied to it's temporary response file. I'm not refering to the pkginfo file that you create as a package infofile component.
    I want to remove, from the /var/sadm/pkg/<pkgName>/pkginfo file, certain var-value pairs that were used in my request scripts (not part of the InfoFile/pkginfo component). Otherwise, any user can look at this file or run 'pkgparam <pkgName>' and get that sensative info.
    To the best of my knowledge, this file is only used by the commands pkgparam and pkginfo. Are there other uses?
    My worries are:
    -is it OK to remove lines manually during the postinstall script?
    -will doing this cause problems with any admin or package maintenance functions?
    Thanks-
    Bob

  • Exp/imp procedures, functions and packages question

    Hi
    I've a 9i R2 version Oracle database. I would like to export procedures, functions and packages from a schema. How do I do that?
    Is there any script or command lines can provide?
    Thanks

    Hello user12259190.
    You can do an export of the user itself, excluding table data as inH:\>exp
    Export: Release 10.2.0.1.0 - Production on Tue Dec 22 11:22:52 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: db_user@db_sid
    Password:
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
    With the Partitioning, Data Mining and Real Application Testing options
    Enter array fetch buffer size: 4096 >
    Export file: EXPDAT.DMP >
    (2)U(sers), or (3)T(ables): (2)U > 2
    Export grants (yes/no): yes > no
    Export table data (yes/no): yes > no
    Compress extents (yes/no): yes > no
    Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    server uses UTF8 character set (possible charset conversion)
    Note: table data (rows) will not be exported
    Note: grants on tables/views/sequences/roles will not be exported
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user DB_USER
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user DB_USER
    About to export DB_USER's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    . about to export DB_USER's tables via Conventional Path ...
    . . exporting table  TABLE_NAMEs
    EXP-00091: Exporting questionable statistics.
    . exporting synonyms
    . exporting views
    . exporting stored procedures
    . exporting operators
    . exporting referential integrity constraints
    . exporting triggers
    . exporting indextypes
    . exporting bitmap, functional and extensible indexes
    . exporting posttables actions
    . exporting materialized views
    . exporting snapshot logs
    . exporting job queues
    . exporting refresh groups and children
    . exporting dimensions
    . exporting post-schema procedural objects and actions
    . exporting statistics
    Export terminated successfully with warnings.Unfortunately, you can't export just the objects you want to unless they are tables.
    Using import (imp) you can list the content of your packages, procedures, functions, views, etc. and perhaps that will give you what you need.
    Another choice would be to useSELECT * FROM user_source ORDER BY 2, 1, 3;to list the code.
    Hope this helps,
    Luke

  • HTP package question

    I have a feeling I'm in the wrong place for this question but maybe someone can help.
    I'm not so good with Oracle configuration and setup issues but I have created a package with a few procedures that output info using the HTP package. At my old place of employment we had a web server set up and we could use
    http://ouraddress.com/packagename.procedurename?p_param1=123&p_param2=456
    We have a web-based application server set up for Oracle Forms (eBusiness Suite) but I don't know if I'm able to do something like this or not. Where/what do I need to set up to use this type of functionality?
    null

    PL/SQL Web Development Tools: Oracle Database provides built-in tools and technologies that enable you to deploy PL/SQL applications over the Web. Thus, PL/SQL serves as an alternative to Web application frameworks such as CGI.
    The PL/SQL Web Toolkit is a set of PL/SQL packages that you can use to develop stored procedures that can be invoked by a Web client. The PL/SQL Gateway enables an HTTP client to invoke a PL/SQL stored procedure through mod_plsql, which is a plug-in to Oracle HTTP Server. This module performs the following actions:
    - Translates a URL passed by a browser client
    - Calls an Oracle Database stored procedure with the parameters in the URL
    - Returns output (typically HTML) to the client
    You got to start from here:
    Developing Applications with the PL/SQL Web Toolkit
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14251/adfns_web.htm#g1026380

  • Idoc packaging questions

    Hi
    I am aware that in Idoc packaging how Sender Idoc adapter packaging is done and also know that it is available from PI7.11
    I have 2 questions...
    1. Suppose there is a data issue with a single idoc ,,because of that entire package will fail...then it would call for finding the erroneous idoc ...correct the data and resend all the Idocs again..
      This problem can occur again and again...and because of this the entire package will be stopped..
    So is it a good option to not do packaging and send a single Idoc and insert it as a record in target database.
    2. In case i am doing idoc packaging the occurence of IDOC in mapping will still be 1..1.
        How do i manage my mapping such that each Idoc in the package should insert a separate record in the database table
    Hema

    >
    > 2. In case i am doing idoc packaging the occurence of IDOC in mapping will still be 1..1.
    >
    >     How do i manage my mapping such that each Idoc in the package should insert a separate record in the database table
    >
    Map IDoc to access tag, in this case one record for each IDoc will get inserted.

  • Packaging question

    Hi, sorry if this has been covered before, I'm just getting started with this.
    When I create an assignment and package in InDesign(CS3) the result is an .inca file, an .injb file, and an .incp file, as well as a "content" folder containing all the .incx text files linked to the assignment. My question: is it necessary for me to include all this stuff when I put the package on my client's ftp? Or is everything they need to edit in InCopy embedded in the .incp file?
    And conversely, when they finish "Return for InDesign" is it necessary for me to also retrieve their "content" folder along with the .indp file?
    Thanks in advance

    Bob, thanks for your replies. . . could you help me with another problem? I re-named my InDesign document after sending out my assignments and did some more work on it and then created some new assignments in this doc, but with the new name. Now I'm stuck without the knowledge on how to re-link the contents of the returned .indp package with my re-named document.
    Do I save the contents of the .indp package to disk and manually replace the old contents with these?
    Again, I'm sure this is a dumb question, but InDesign help menu is very skimpy in this area.
    Thanks, in advance,
    George

Maybe you are looking for