Introduction and quick question...

I have learn a lot of c++ but I am looking to make a web applet kinda like a manual. I have written the program in c++, but it runs in the dos-prompt so it looks ugly. I want to use a web applet to give the 11 articals (like a table of contents) then when the user presses a number (1-11) it would clear the screen and show that artical with a vertical scrolling bar, and at the end till the to type menu to go back to the switch case menu. Is this possibly... keep in mind I have 18 weeks to do it and I have only a basic knowlege of java, like printing the Hello World! type...
I Thank you in advance.

Newbie here, but I think I have some info that might help.
Applets can be tricky because you have to bank on the fact that your users are running either the same runtime environment as you or better. Example, you are developing with SDK 1.3, your clients must be running JRE 1.3 or higher. And it sounds like you want to maybe use Swing (GUI) elements in your applet. That makes applets even more tricky. You might want to look at the suggestion of doing this in DHTML or possibly with some kind of server-side scripting like PHP or Miva. That's my suggestion, but I know little of applets and such, so I may be totally off. I do know, however, that you have to be careful of the SDK you use.
James McConnell

Similar Messages

  • Very simple and quick question about Arrays

    Hi,
    I have the following code to produce a student grades provessing system. I have got it to store data in the array, i just cant figure out how to add the integers from the row to produce a total. Thats all I want to do create a total from the 6 marks and add a percentage.
    Any help would be greatly appreciated.
    -------------CODE BELOW----------------------
    import java.util.*;
    public class newstudent1_2
    public static void main (String[]args)
    System.out.println ("-----------------------------------------------"); //Decorative border to make the welcome message stand out
    System.out.println (" Welcome to Student Exam Mark Software 1.2"); //Simple welcome message
    System.out.println ("-----------------------------------------------");
    int [][] mark;
    int total_mark;
    int num_students;
    int num_questions = 9;
    Scanner kybd = new Scanner(System.in);
    System.out.println("How many students?");
    num_students =kybd.nextInt();
    mark = new int[num_students][num_questions] ;
    for (int i=0; i<num_students; i++)
    System.out.println("Enter the Students ID");
    String student_id;
    student_id =kybd.next();
    System.out.println("Student "+i);
    for( int j=1; j<num_questions; j++)
    System.out.println("Please enter a mark for question "+j);
    mark[i][j]=kybd.nextInt();
    System.out.print("id mark1 mark2 mark3 mark4 mark5 mark6 mark7 mark8");
    //This section prints the array data into a table
    System.out.println();
    for (int i=0; i<num_students; i++)
    for( int j=0; j<num_questions; j++)
    System.out.print(mark[i][j]+"\t"); //the \t is used to add spaces inbetween the output table
    System.out.println();
    --------------END OF CODE---------------
    Thanks.

    I had to do this same sort of thing for a school assignment but i didnt use an array.
    import java.text.DecimalFormat;
    import TurtleGraphics.KeyboardReader;
    public class grade_avg
         public static void main(String[] args)
              int grade, total = 0, count = 0;
              double avg = 0.0;
              KeyboardReader reader = new KeyboardReader();
              DecimalFormat df = new DecimalFormat("0.00");
         for (;;)
                   grade = reader.readInt("Please enter a grade: ");
              if (grade > 0)
                        total = total + grade;
                        count ++;
              if (grade == 0)
                        avg = total / count;
                        System.out.println("The average is: " + df.format(avg));
                        System.exit(0);
    }output looks like:
    Please enter a grade: 100
    Please enter a grade: 50
    Please enter a grade: 0
    The average is: 75.00

  • Introduction and newbie question

    Hi all
    My name is Dave and I live and work in Yellowknife, NWT, Canada.
    I have only had CS5 for a couple of weeks now and during that time have been reading and watching tutorials online trying to learn the in's and out's of Priemer Pro.
    I am working on a project that is comprised of stills and video footage.
    I am trying to figure out why when I insert a group of stills into the project all of the stills are there (proper names and files) but when I play or scroll through the timeline all of the images seem to be copies of the first image (ie. when the default 5 seconds of the first image is up and it should transition to the second image the video continues to play (including audio) but the image doesn't change.
    I have done some searching for resolutions to this issue without any luck.
    Thanks in advance for any help you can offer.
    Dave

    My apologies Jayson
    The issue was indeed a file size issue, it just manifested it's self differently than it did for the OP in that post.  
    I did a batch resize in PS and all is good.
    I had resized those images already from very large files down to 1024X768 but I guess that was still to large for PP to deal with.
    Thanks again for the info. 
    Dave

  • A quick question about WebDynpro SLD and R/3 with concurrent users

    Hello ,
    I have a very quick question about Webdynpros and SLD connecting to an R/3 system, when you configure a webdynpro to connect to an R/3 system using SLD, you configure a user name and password from the R/3  for the SLD to use. What I would like to know is when I have concurrent users of my webdynpro, how can I know what one user did in R/3 and what another user did? Is there a way for the users of the web dynpro to use their R/3 credentials so SLD can access the R/3? Like dynamically configuring the SLD for each user?
    - I would like to avoid leaving their their passwords open in the code ( configuring two variable to get the users username and password and use these variables as JCO username and password )
    Thanks Ubergeeks,
    Guy

    Hi Guy
    You will have to use Single Sign On to achieve this. In the destination you have defined to connect to R/3 , there is an option to 'useSSO' instead of userid and password. This will ensure that calls to R/3 will be with the userid that has logged into WAS. You wont need to pass any passwords because  a login ticket is generated from WAS and passed on to R/3. The userid is derived from this ticket.
    For this to happen you will have to maintain a trust relation ship between R/3 and your WAS ,there is detailed documentation of this in help files. Configuration is very straight forward and is easy to perform
    Regards
    Pran

  • Quick Question: When to use ( ) and when to use [ ] and why the ( *)

    Hi all,
    A quick question that i'm sure is very simple but is slightly confusing me. I've just started trying to learn Objective-C and am a little confused by ( ) and [ ].
    I get that you use the [ ] brackets when you want something specific from an object, i.e.
    [ textField textColor ]
    and that you use ( ) brackets for things like:
    if ( x == y) {
    But I get confused when I see things like:
    NSLog(@"some text here");
    Why does that get ( ) brackets and why is it not [ ].
    Also another point of confusion, creating methods... Why are some methods done like:
    - (void)awakeFromNib
    And others done like (with the additional "*" added):
    - (NSString *)stringvalue
    As I said, I'm sure this is very simple and obvious, but it is confusing me slightly.
    Thanks in advance!

    Adam:
    As you already know, square brackets are used to send a message to an object, so if a object like myObject implements the method -doSomething, you can call it with:
    \[myObject doSomething\];
    The other use square for brackets have is to index C-style arrays, such as:
    aValue = anArray\[10\]; // Get the 10-element of an array
    However, because C-style arrays are rarely used in Cocoa applications (use NSArray instead) you will not see this situation often.
    Parenthesis in expressions are used to group and prioritize, such as:
    x = 10 * (3 + 5); // x = 80
    If () statements use it to delimit the test expression. Same with while (). for () uses it to enclose the limits and increment statements, etc.
    The other important use of parenthesis is in calling a C function:
    result = foo(3);
    means that you are calling the function named foo with the argument 3, and storing the the return value in the variable 'result'. This is different from a message because a C function is not a method of an object. They exist independently of any objects. NSLog() is a function defined within Cocoa but it is not a method. So, you call it with the traditional C function call syntax. Cocoa defines other functions like NSStringFromRect(), which takes an NSRect as argument and returns a pointer to an NSString.
    And that leads me to your last question. Some methods return simple types, like int, float, or void (i.e. returns no value). These methods will have prototypes like:
    \- \(void\)returnNothing;
    \- (int)returnInteger;
    Other methods return pointers to types, like:
    \- (int \*)returnPointerToInteger;
    \- (void \*)returnPointerToAnything; // In obj-C one typically uses id instead of void*
    Returning whole objects from methods has problems and it is better to just return a pointer (the address in memory) instead:
    \- (NSString *)makeAString;
    The method above returns a pointer to an NSString rather than the entire object.
    Good luck with your learning,
    Juan-Pablo
    Message was edited by: Juan Pablo Claude

  • Quick question regarding best practice and dedicating NIC's for traffic seperation.

    Hi all,
    I have a quick question regarding best practice and dedicating NIC's for traffic seperation for FT, NFS, ISCSI, VM traffic etc.  I get that its best practice to try and separate traffic where you can and especially for things like FT however I just wondered if there was a preferred method to achieving this.  What I mean is ...
    -     Is it OK to have everything on one switch but set each respective portgroup to having a primary and failover NIC i.e FT, ISCSI and all the others failover (this would sort of give you a backup in situations where you have limited physical NICs.
    -    Or should I always aim to separate things entirely with their own respective NICs and their own respective switches?
    During the VCAP exam for example (not knowing in advance how many physical NIC's will be available to me) how would I know which stuff I should segregate on its own separate switch?  Is there some sort of ranking order of priority /importance?  FT for example I would rather not stick on its own dedicated switch if I could only afford to give it a single NICs since this to me seems like a failover risk.

    I know the answer to this probably depends on however many physical NICs you have at your disposal however I wondered if there are any golden 100% rules for example FT must absolutely be on its own switch with its own NICs even at the expence of reduced resiliency should the absolute worst happen?  Obviously I know its also best practice to seperate NICs by vender and hosts by chassis and switch etc 

  • Quick Question about Cisco 3560 and the Web Device Manager

    Alright, I have a quick question that I am curious about but I haven't found any information
    about it.
    When I log into my Cisco 3560 using the web portal to get to the Device Manager. Below the
    diagram of the switch, then under the Dashboard there is section called Switch
    Health, Port Utilization.
    Under the Switch Health there is Bandwidth Used, Packet Error. Those two options just sit
    at zero and do not move. The Port tilization graph is also sitting at zero.
    Is there a way to make them functional?

    Anyone notice performance increase or decrease of their HD when using the nVidia IDE SW drivers?  particularly with a 74GB Raptor?  I've also heard of burner issues when installing the IDE SW but have not used my burner yet.

  • Quick question: how can I save my project and posted in Facebook?

    Quick question how can I save my project and posted in Facebook?

    By using File>Save As or File>Save for Web. You can choose jpg or png.

  • IMovie - quick questions about video files when importing and optimizing

    Hi, have some quick questions. I think they are simple.
    1. When I import a video (from say iPhoto), where does it get "Move" or "Copy" to?
    2. Why would I want to do "Copy" instead of "Move", because isn't it then taking up more space?
    3. I'm wondering if after I optimize a video, I can stash away the original (non-optimized video that I either "Move"d or "Copy"d earlier) into an external hd.
    4. By the way, what is the new file name of the optimized video?
    Though things are working fine in iMovie and iPhoto, I'm trying to manage hard disk space, and hope answers to these questions will help.
    Do you guys have a guideline on how to manage hard disk space when it comes to iphoto and imovie?
    Thanks.

    As has been suggested you can encourage people to download QuickTime player by doing something like this...
    http://www.mirroroftheuniverse.com/Songs.html
    You can also present your songs like this...
    http://roddymckay.com/Satellite/JukeBox.html
    This is a SnoCap jukebox and you need an account to use it but you'll get the link to ESnips on the above page.
    A 3 minute song has a file size of about 30 Mb in AIFF format. Converting it to MP3 reduces it to about 3.5 Mb and M4A to about 5.5 Mb.
    iTunes will do these conversions for you and M4A is far superior to MP3 as far as sound quality is concerned.

  • Quick Question: MobileMe and Info Tab in iTunes

    Hi All
    I'm new to the iPhone, but use a Macbook and MobileMe.
    My very quick question is...
    Should I be using the settings on the phone to sync to MobileMe while leaving the iTunes Info Tab settings unselected?
    Hope that makes sense.
    Thanks in advance.

    Hi,
    You can no longer sync contacts with iTunes 11.1.4 with mavericks OS X
    http://support.apple.com/kb/PH12117
    Jim

  • I have what is hopefully a quick and easy question. I kno...

    I have what is hopefully a quick and easy question. I know almost nothing about this stuff so go easy on me . All I need to do is find out if my DHCP is enabled. I'm having problems with my Xbox 360 and one of the possible problems is this DHCP thing. However I have no idea how to find the settings for my router on my computer. If it helps I have a Wirless model BEFW11S4. Thanks in advance for any help.

    You need to access your router to check if the DHCP is on.  To access the router open your browser and type in http://192.168.1.1 into the address field and hit enter.  That should open the routers log on screen and by default the user is left blank (some routers it is admin) and the password is abmin.  If you changed your routers password as you should for security reasons then use that password.  That will bring you to your routers user interface and on the main set up page should be your DHCP.
    Richard Aichner (Ikester)

  • A Quick and EZ question about Symbols

    Hi everyone! I have a really quick question:
    I'm making a cartoon movie at 30 fps. I've split up my
    cartoon character's body parts and I've made them into graphic
    symbols. I want the symbols to be as efficient and "right sized" as
    possible. So, as far as playback is concerned, what would you
    suggest I do:
    Make 1 symbol with 5 layers and 50 frames... (to be used by
    itself)
    OR
    Make 5 symbols with 1 layer and 50 frames?? (to be used all
    at once)
    Hopefully, my question is not too confusing. I'm basically
    asking what's better to do: use one large symbol by itself or many
    smaller symbols at once.
    It's important to me because eventually i could have all 7 of
    my cartoon characters on stage at once which would mean using 7
    large sized symbols at once or 35 smaller symbols at once
    The symbols are all mostly graphic symbols. And, when i'm
    done, my library will be containing hundreds of symbols.
    Note: I'll be converting the movie to video format so
    internet loading time isn't so much my concern as is general
    playback and avoiding "slowdown". I want to avoid lag at all costs.
    Thank you for the feedback in advance!!! :)
    Frank

    I really don't understand 100% what you are asking - when you
    say "large" what do you mean? file
    size or scale? And why would it matter? And what does "at
    once" mean? On the timeline at the same
    time? If so...why is that an issue?
    What do you want to do?
    If you are exporting to video then the issue of "slowdown and
    lag" is off the table as video is a
    fixed-frame rate format.
    Chris Georgenes / mudbubble.com / keyframer.com / Adobe
    Community Expert
    Fr8TrainAnim8tor wrote:
    > Hi everyone! I have a really quick question:
    >
    > I'm making a cartoon movie at 30 fps. I've split up my
    cartoon character's
    > body parts and I've made them into graphic symbols. I
    want the symbols to be as
    > efficient and "right sized" as possible. So, as far as
    playback is concerned,
    > what would you suggest I do:
    >
    > Make 1 symbol with 5 layers and 50 frames... (to be used
    by itself)
    > OR
    > Make 5 symbols with 1 layer and 50 frames?? (to be used
    all at once)
    >
    > Hopefully, my question is not too confusing. I'm
    basically asking what's
    > better to do: use one large symbol by itself or many
    smaller symbols at once.
    >
    > It's important to me because eventually i could have all
    7 of my cartoon
    > characters on stage at once which would mean using 7
    large sized symbols at
    > once or 35 smaller symbols at once
    >
    > The symbols are all mostly graphic symbols. And, when
    i'm done, my library
    > will be containing hundreds of symbols.
    >
    > Note: I'll be converting the movie to video format so
    internet loading time
    > isn't so much my concern as is general playback and
    avoiding "slowdown". I want
    > to avoid lag at all costs.
    >
    > Thank you for the feedback in advance!!! :)
    >
    > Frank
    >

  • Hi. Quick question I am working with Panasonic GH3 footage and it is playing back in slow motion?

    Hi. Quick question I am working with Panasonic GH3 footage shot using .MOV wrapper with their IPB 50mbps and All-Intra 72MBPS codecs and they are playing back in slow motion in Sg CC. The footage works fine in PP CC and I have no clue on how to fix it. Is this a bug or do I a have a setting wrong some place?

    Yes it turns red this is silly PP and AE have no problem with playback for these codecs. So it is indeed Sg not handling the codec correctly and not my system?
    What if I transcoded it to something else other than the previous what would you reccommend?
    I was going to transcode to ProRes but 5DtoRGB does not work on Windows with GH3 codecs.
    What is the correct time warp seting under clip properties? I screwed with it and forgot the default setting.
    Is there a way to reset Sg back to defaults settings globaly. I tried to many settings trying to fix the playback and may have left something in the wrong state.
    Thanks...

  • Quick (and urgent) Question about Intel G5's

    Just a quick question about the new intel G5's.
    I currently have bunch of software for my PPC G5 which is a Dual 2ghz. Software includes Adobe CS2, Macromedia Studio, Quark 6, etc, etc.
    If I purchase the new intel mac, would I be able to use the same software? or would I be forced to purchase a whole new set of everything I currently have?
    If the software will work on the intel G5, would it perform at the same rate/better than how it performs now on my PPC g5?
    Thanks in advance for any help.

    Rosetta:
    Most of the time you get a real 'hit' when a program first opens that is PPC. Very sluggish. They will require and use more memory than otherwise, too.
    Tests from last August aren't as helpful, there have been improvements, letting the Mac Pro pull even further ahead.
    http://www.barefeats.com/quad06.html
    Comparison Mac Models shows scores of all models. So there is 2x as much or more processing power, bandwidth, better video, as well as disk drives. A 'base' configuration would be 4-6GB RAM.
    And there are differences, more than between G4 and G5.
    People with experience would be Mac Pro Discussions
    Don't use Migration Assistant, and upgrade to CS3 etc. reinstall all your applications fresh.
    There are some drivers and plug-ins, that can be problems, and known.
    Mac Pro 2GHz 4GB 10K Raptor RAID Cinema HD   Mac OS X (10.4.9)   WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista

  • Quick question!!  Is it mandatory that I set up my DSL through the time capsule? I'd like to leave my current modem from my provider as the primary unit for networking.  So in other words can I just set up the time capsule as a back-up device for now and

    Quick question!!  Is it mandatory that I set up my time capsule as my DSL modem?  Based on the location of my iMAC right now it would be better to just leave the modem provided by my internet provider in place.  I really just want to use the time capsule as a back-up storage device for now and connnect the ethernet cable from my ISP at a later date.

    Generally it is easier to bridge the TC and plug it into the router.. it then lives on the network.. it is after all, a network drive.. and you can access it via your existing connection whether wireless or wired to the existing modem.
    If you really want a totally stand alone setup please tell me how you are presently accessing internet on the Mac you want to backup on the TC.

Maybe you are looking for

  • Paste text in table in a single row

    Hi, When I copy several paragraphs of text and paste it in a table, Pages automatically insert each paragraph in it's own row, adding rows as necessary. Most of the time, I don't want this and I have to merge the cells. Is there a way to paste text a

  • Fax printer fails to work

    Hi folks, The Fax_Printer fails to work after running "pacman -Syu". On; File --> Print --> Fax_Printer --> Print No response.  The dialer does not popup for typing phone number On browser localhost:631/printers Fax_Printer Warning: "recoverable: Net

  • L2440x support 24hz @ 1080p?

    Could someone try and see if the Lenovo ThinkVision L2440x can support 24hz/24p at 1920 x 1080. Thanks  Note from Moderator:  Please don't post the same message in multiple boards/threads as it splinters the discussion.  Duplicate(s) removed. Message

  • Trying to play Audiobooks with my Creative ZE

    Hi there!?I?ve downloaded a few Audiobooks from "Audible.co.uk" in format 4, and then got them into my Audible Manager program and set my device (creative ZEN Vission M), and I?ve imported them into my Device but When I try playing anyone of them a m

  • 17 inch MBP Loose screen verdict

    Today I exchanged my 15' MBP with a 17'. I love it! No Whine, and heat is very reasonable. The biggest problem I have is the loose display hinge! I know a lot of people are talking about this, but I really need to know, hopefully from someone at Appl