HELP! - I NEED HELP WITH JAVA

Hi everyone!
I'm really desperate here! I have coursework to hand this Friday 3rd May and I'm really stuck!
I'm trying to design a program very much like Microsoft Word and I need to add the SaveAs and Open Function in the appropriate buttons.
What I need it to do is as soon as someone starts using the window frame i.e. drawing pictures or/and drawing the SaveAs button must activate and obviously I've got to be able to save whatever is in the window.
I've tried everything I know, which is obviously not enough!, and nothing works.
Can anybody help? I can send the files I'm working on if it helps :-)
Any help very VERY MUCH APPRECIATED
Thanks

Let's see the work you've already done...

Similar Messages

  • Help in getting started with java 3d

    Hi everyone,
    I am very new to java3d and I started learning it from few books and online tutorial.
    However, in my very first program that I trying to code, I get error when I try to import following:-
    import com.sun.j3d.utils.universe.SimpleUniverse;
    The compilation error that I am getting is that "com.sun.j3d cannot be resolved". I have already installed java 3d. I can see java3d package in the Program Files/java directory.
    Any suggestions would be greatly appreciated.
    Thanks!

    On the instalation you have to use the default location, or the location where your SDK is installed.
    Also, check if the CLASSPATH is defined correctly in your Environment Variables for JAVA_HOME and PATH.
    You can also try to define the Java 3D jar files in you classpath before you try to run your file. Or can also try to use an IDE like NetBeans or Eclipse, it will help you a lot with your import declarations.

  • Need help, I am terrible with Java, can someone help.

    Please can someone help me with this program. I am in a JAVA programming class and I am having a heck of a time. I am still having a problem with the basic concepts of JAVA but the teacher continues to give us difficult assignments with out any help. Here is the assignment:
    Write a class named 'Player' that has two attributes, 'name' (which has to be a 'Sting') and 'rating' (which has to be a 'int'). Then write an application class named "PlayerRating" that first creates an array consisting of 5 player objects, then display the list three times; first unsorted, then sorted by Name and finally sorted by rating.
    Must use the Bubble Sort Program and do NOT use Array.sort.
    Example output:
    Unsorted
    Name: Rating:
    Mickey Mantle 5
    Ty Cobb 3
    Babe Ruth 4
    Pete Rose 3
    Sammy Sosa 1
    Sorted by Name
    Name: Rating:
    Babe Ruth 4
    Mickey Mantle 5
    Pete Rose 3
    Sammy Sosa 1
    Ty Cobb 3
    Sorted by Rating
    Name: Rating:
    Sammy Sosa 1
    Pete Rose 3
    Ty Cobb 3
    Babe Ruth 4
    Mickey Mantle 5
    Here is what I have and it is not much, cause I am so lost:
    1 import java.io.*;
    2 import javax.swing.*;
    3 import java.text.*;
    4 import java.lang.*;//String[][];
    5 import java.util.*; //ArrayList;
    6
    7
    8 public class Player
    9 {
    10 public static void main (String [][]args)
    11 {
    12
    13 int maxSize = 100; //array size
    14 // String[][] s = new String[100][100]; //Default values: null
    15 boolean [] b = new boolean[4]; //default values: false
    16 int[][] i = new int[10][10]; //default values: 0
    17
    18
    19 PlayerRating arr; //reference to array
    20 //arr = new PlayerRating(maxSize);
    21 Sting player[]={"Mickey Mantle 5","Ty Cobb 3"
    22 ,"Babe Ruth 4","Pete Rose 3","Sammy Sosa 1"};
    23
    24
    25 }
    26 }
    Here is all I have on the second program:
    public class PlayerRating
    public void PlayerRating (int Max)
    int[][] i = new int[10][10];
    Please help I am totally lost.

    You repeat code, you should do a generic bubble sort with comparators, or declare class as Comparable. You can see how String class is Comparable, furthermore it has a final static Comparator for CASE_INTENSENSITIVE_ORDER.
    class User implements Comparable<User>{
      public static final java.util.Comparator<Cliente> RATING_COMPARATION=new java.util.Comparator<Cliente>(){
        public int compare(User u1,User u2){
               int comp=u1.rating-u2.rating;
               return comp==0?u1.name.compareTo(u2.name):comp;
         private String name;
         private int rating;
         public User(String name, int rating){
              setName(name);
              setRating(rating);
         public String getName(){
              return name;
         public void setName(String name){
              this.name = name;
         public int getRating(){
              return rating;
         public void setRating(int rating){
              this.rating = rating;
            // Compare users first by name and last by rating;
            public int compareTo(User anotherUser){
               int comp=name.compareTo(anotherUser.name);
               return comp==0?rating-anotherUser.rating:comp;
             public void equals(Object o){
              if(this==o)
                return true;
              if(o instanceof User){}
                 User anotherUser=(User)o;
                 return name.equals(anotherUser.name)&&rating==anotherUser.rating;
              return false;
               public int hashCode(){
                  return name.hashCode()+rating<<16;
    public class Sorting{
         public <E extends Comparable<E>>static void bubleSort(E[] arr){
              for(int i = 0; i < arr.length - 1; i++){
                   for(int j = arr.length - 1; j > i; j--){
                        if(arr[j].compareTo(arr[j - 1])<0)
                                     swap(arr,j,j-1);
         public static<E> void bubleSort(E[] arr,Comparator<E> cmp){
              for(int i = 0; i < arr.length - 1; i++){
                   for(int j = arr.length - 1; j > i; j--){
                        if(cmp.compare(arr[j],arr[j-1]) < 0)
                                      swap(arr,j,j-1);
            private static void swap(Object[] arr,int x,int y){
               Object tmp=arr[x];
               arr[x]=arr[y];
               arr[y]=tmp;
         public static void main(String[] args){
              User[] arr = new User[5];
              arr[0] = new User("Mickey Mantle", 5);
              arr[1] = new User("Ty Cobb", 3);
              arr[2] = new User("Babe Ruth", 4);
              arr[3] = new User("Pete Rose", 3);
              arr[4] = new User("Sammy Sosa", 1);
              System.out.println("Sorting by Name : ");
              bubleSort(arr)
              System.out.println(Arrays.toString(arr));
              System.out.println("Sorting by Rating : ");
              bubleSort(arr,User.RATING_COMPARATION);
              System.out.println(Arrays.toString(arr));
    }

  • Help please need to install java update 3

    Just updated to java update 4. I have medical software on the computer and it breaks. I need to roll back one version. Can anyone help me out with this? 10.6.6 OS

    OK, there is a method, but it is risky at best. Backup your data before proceeding*:
    http://www.macmaps.com/backup.html
    Note where it says on these instructions rm -rf:
    http://weblogs.java.net/blog/joshy/archive/2007/11/howto_removej.html
    Change that "f" instruction to i (the letter I as in I am).
    So you would say:
    sudo rm -ri /System/Library/Frameworks/JavaVM.framework/Versions/(whatever the version is that is newer)
    If you are unsure of the version, look it up first by typing:
    ls -aF /System/Library/Frameworks/JavaVM.framework/Versions/
    And determine which ones are newer.
    Answer 'n' to the rm once files are listed that you don't want. Careful not to go trigger happy with the 'y' as it automatically takes every 'y' response as an affirmative.
    - * Links to my pages may give me compensation.
    Message was edited by: a brody

  • Help! Need help with transferring Ipod to new computer

    After it took me forever just to figure out how to ask a question...eerr!
    My old computer crashed and I need to move all my files, purchased, photos, and music that were imported. I know with the new Itunes you can transfer the purchased items, but will that erase everything else on my Ipod...ie: my photos and imported files?
    I have downloaded a Ipod copier..but not really sure how to do this all. Any help from anyone would be so greatly appreciated.

    Check this site out www.findleydesigns.com
    you can download whatever you need to recover all photos and music files from Ipod to mac.

  • Who can help me :)--a problem with java program(reset problem in java )

    I do not know how to make the button reset,my program only could reset diagram but button.If any one who could help me to solve this problem.The problem is When the reset button is pressed, the image should immediately revert to the black square, and the 4 widgets listed above should show values that
    correspond to the black square.The code like this,first one is shapes:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class shapes extends JFrame {
         private JPanel buttonPanel; // panel for buttons
         private DrawPanel myPanel;  // panel for shapes
         private JButton resetButton;
        private JComboBox colorComboBox;
         private JRadioButton circleButton, squareButton;
         private ButtonGroup radioGroup;
         private JCheckBox filledButton;
        private JSlider sizeSlider;
         private boolean isShow;
         private int shape;
         private boolean isFill=true;
        private String colorNames[] = {"black", "blue", "cyan", "darkGray", "gray",
                                   "green", "lightgray", "magenta", "orange",
                                   "pink", "red", "white", "yellow"};   // color names list in ComboBox
        private Color colors[] = {Color.black, Color.blue, Color.cyan, Color.darkGray,
                              Color.gray, Color.green, Color.lightGray, Color.magenta,
                              Color.orange, Color.pink, Color.red, Color.white, Color.yellow};
         public shapes() {
             super("Draw Shapes");
             // creat custom drawing panel
            myPanel = new DrawPanel(); // instantiate a DrawPanel object
            myPanel.setBackground(Color.white);
             // set up resetButton
            // register an event handler for resetButton's ActionEvent
            resetButton = new JButton ("reset");
             resetButton.addActionListener(
              // anonymous inner class to handle resetButton events
                 new ActionListener() {
                       // draw a black filled square shape after clicking resetButton
                     public void actionPerformed (ActionEvent event) {
                             // call DrawPanel method setShowStatus and pass an parameter
                          // to decide if show the shape
                         myPanel.setShowStatus(true);
                             isShow = myPanel.getShowStatus();
                             shape = DrawPanel.SQUARE;
                         // call DrawPanel method setShape to indicate shape to draw
                             myPanel.setShape(shape);
                         // call DrawPanel method setFill to indicate to draw a filled shape
                             myPanel.setFill(true);
                         // call DrawPanel method draw
                             myPanel.draw();
                             myPanel.setFill(true);
                             myPanel.setForeground(Color.black);
                   }// end anonymous inner class
             );// end call to addActionListener
            // set up colorComboBox
            // register event handlers for colorComboBox's ItemEvent
            colorComboBox = new JComboBox(colorNames);
            colorComboBox.setMaximumRowCount(5);
            colorComboBox.addItemListener(
                 // anonymous inner class to handle colorComboBox events
                 new ItemListener() {
                     // select shape's color
                     public void itemStateChanged(ItemEvent event) {
                         if(event.getStateChange() == ItemEvent.SELECTED)
                             // call DrawPanel method setForeground
                             // and pass an element value of colors array
                             myPanel.setForeground(colors[colorComboBox.getSelectedIndex()]);
                        myPanel.draw();
                }// end anonymous inner class
            ); // end call to addItemListener
            // set up a pair of RadioButtons
            // register an event handler for RadioButtons' ItemEvent
             squareButton = new JRadioButton ("Square", true);
             circleButton = new JRadioButton ("Circle", false);
             radioGroup = new ButtonGroup();
             radioGroup.add(squareButton);
             radioGroup.add(circleButton);
            squareButton.addItemListener(
                // anonymous inner class to handle squareButton events
                new ItemListener() {
                       public void itemStateChanged (ItemEvent event) {
                           if (isShow==true) {
                                 shape = DrawPanel.SQUARE;
                                 myPanel.setShape(shape);
                                 myPanel.draw();
                   }// end anonymous inner class
             );// end call to addItemListener
             circleButton.addItemListener(
                   // anonymous inner class to handle circleButton events
                new ItemListener() {
                       public void itemStateChanged (ItemEvent event) {
                             if (isShow==true) {
                                 shape = DrawPanel.CIRCLE;
                                 myPanel.setShape(shape);
                                 myPanel.draw();
                             else
                                 System.out.println("Please click Reset button first");
                   }// end anonymous inner class
             );// end call to addItemListener
             // set up filledButton
            // register an event handler for filledButton's ItemEvent
            filledButton = new JCheckBox("Filled", true);
             filledButton.addItemListener(
              // anonymous inner class to handle filledButton events
            new ItemListener() {
                  public void itemStateChanged (ItemEvent event) {
                    if (isShow==true) {
                            if (event.getStateChange() == ItemEvent.SELECTED) {
                                  isFill=true;
                                  myPanel.setFill(isFill);
                                  myPanel.draw();
                            else {
                                isFill=false;
                                  myPanel.setFill(isFill);
                                  myPanel.draw();
                    else
                        System.out.println("Please click Reset button first");
              }// end anonymous inner class
             );// end call to addItemListener
            // set up sizeSlider
            // register an event handler for sizeSlider's ChangeEvent
            sizeSlider = new JSlider(SwingConstants.HORIZONTAL, 0, 300, 100);
            sizeSlider.setMajorTickSpacing(10);
            sizeSlider.setPaintTicks(true);
            sizeSlider.addChangeListener(
                 // anonymous inner class to handle sizeSlider events
                 new ChangeListener() {
                      public void stateChanged(ChangeEvent event) {
                          myPanel.setShapeSize(sizeSlider.getValue());
                             myPanel.draw();
                 }// end anonymous inner class
             );// end call to addChangeListener
            // set up panel containing buttons
             buttonPanel = new JPanel();
            buttonPanel.setLayout(new GridLayout(4, 1, 0, 50));
             buttonPanel.add(resetButton);
             buttonPanel.add(filledButton);
            buttonPanel.add(colorComboBox);
            JPanel radioButtonPanel = new JPanel();
            radioButtonPanel.setLayout(new GridLayout(2, 1, 0, 20));
            radioButtonPanel.add(squareButton);
            radioButtonPanel.add(circleButton);
            buttonPanel.add(radioButtonPanel);
            // attach button panel & draw panel to content panel
            Container container = getContentPane();
            container.setLayout(new BorderLayout(10,10));
            container.add(myPanel, BorderLayout.CENTER);
             container.add(buttonPanel, BorderLayout.EAST);
            container.add(sizeSlider, BorderLayout.SOUTH);
            setSize(500, 400);
             setVisible(true);
         public static void main(String args[]) {
             shapes application = new shapes();
             application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }second one is drawpanel:
    import java.awt.*;
    import javax.swing.*;
    public class DrawPanel extends JPanel {
         public final static int CIRCLE = 1, SQUARE = 2;
         private int shape;
         private boolean fill;
         private boolean showStatus;
        private int shapeSize = 100;
        private Color foreground;
         // draw a specified shape
        public void paintComponent (Graphics g){
              super.paintComponent(g);
              // find center
            int x=(getSize().width-shapeSize)/2;
              int y=(getSize().height-shapeSize)/2;
              if (shape == CIRCLE) {
                 if (fill == true){
                     g.setColor(foreground);
                      g.fillOval(x, y, shapeSize, shapeSize);
                else{
                       g.setColor(foreground);
                    g.drawOval(x, y, shapeSize, shapeSize);
              else if (shape == SQUARE){
                 if (fill == true){
                     g.setColor(foreground);
                        g.fillRect(x, y, shapeSize, shapeSize);
                else{
                        g.setColor(foreground);
                    g.drawRect(x, y, shapeSize, shapeSize);
        // set showStatus value
        public void setShowStatus (boolean s) {
              showStatus = s;
         // return showstatus value
        public boolean getShowStatus () {
              return showStatus;
         // set fill value
        public void setFill(boolean isFill) {
              fill = isFill;
         // set shape value
        public void setShape(int shapeToDraw) {
              shape = shapeToDraw;
        // set shapeSize value
        public void setShapeSize(int newShapeSize) {
              shapeSize = newShapeSize;
        // set foreground value
        public void setForeground(Color newColor) {
              foreground = newColor;
         // repaint DrawPanel
        public void draw (){
              if(showStatus == true)
              repaint();
    }If any kind people who can help me.
    many thanks to you!

    4 widgets???
    maybe this is what you mean.
    add this inside your actionPerformed method for the reset action
    squareButton.setSelected(true);
    colorComboBox.setSelectedIndex(0);
    if not be more clear in your post.

  • HELP I Need Help With Photoshop CS5

    I have CS% for school. I have Photoshop 64 bit. Every time I open Photoshop to do an assignment it crashes. I have talked to other people who are experiencing the same thing with 64 bit. Everyone I have spoken to with 32 bit seems to be doing fine. Anyone else having that problem? Is there a way to go from 64 bit to 32 bit only in Photoshop. All other parts of CS5 work fine with the 64 bit. HELP PLEASE!!! email me at [email protected]

    You are in the wrong forum. To save you time, here is the page with the info on how to get CS5 to switch between 32 and 64.
    http://kb2.adobe.com/cps/828/cpsid_82824.html
    For Photoshop CS5 questions, you should be in either the Windows or Mac Photoshop forum. Here is a link.
    http://forums.adobe.com/community/photoshop

  • Please help - I need help working with a "curved" scanned image!

    Hello --
    I've been looking here for a while and finally got around to registering because I have a question. I'm sure I have this posted in the wrong place, so don't jump me for that - I'm just not sure WHERE I should post a question / plea for help.
    I have a shape (kind of a wavy 3/4" stripe) that I need to reproduce in photoshop. I was able to take the original and scan it into my computer. Upon scanning, though, the color it no longer solid but actually looks a quite a bit speckled, and the edges of this stripe tend to not be 'crisp" and it need to redfine the edges. I need to repaint the stripe, and it has to remain the same 3/4" diameter all through it's length.
    If anyone can suggest a way that I can take this scanned image and redefine the edges so I'll have a "new" crisp, solid colored stripe, that I can keep the same 3/4" width and then will be able to highlight it and repaint it would be appreciated. I tried highlighting the shape and applying a thick "stroke" around the edge but this just made it worse -- kind of like using a pen on a piece of paper on top of glass -- almost impossible to write or draw smooth! It's for a small model airplane decal, so the edge needs to be sharp and crisp.
    Thanks for any help in advance!
    --Henry

    ¨Hi Henry,
    I'd use the Pen tool and trace around the shape in order to create a Vector Path or a Vector Shape. But, you'd need to study the black art of Bezier curves first.

  • HELP I need help with Visual voice mail

    I need someone who has done it before to tell me how to use a prerecorded voice mail greeting.Or at-lest how to use one for my greeting on my VVM downloaded from the web in MP3 format.

    Hello,
    Please follow the steps outlined below to change your voicemail personal greeting. You will not be able to use an mp3 file as your greeting.
    With your device, dial *86 + send
    Enter your password
    Press 4 (personal options)
    Press 3 (record greetings)
    Press 1 (to change your personal greeting)
    Choose the type of greeting you want. Press 1 for your cell number to be announced, Press 2 for your name to be announced or Press 3 for a personal greeting 
    For more information on voicemail, please visit the link below:
    Voice Mail
    For information about Visual Voicemail, please visit:
    Visual Voicemail
    Thank you.
    KellyW@VZWSupport

  • Help! Need help with preflight package script

    I am trying to write a package with Iceberg to push Office 2004 to 250 Macs. I need a preflight script with a condition that will stop my script if /Applications/Microsoft Office 2004 exists OR if OFFICE 2004 exists. Don't know if searching on the folder name is the best or if there is better way
    If it doesn't exist I want it to continue with with placing Office 2004 in the /Applications folder.
    I don't know how to do conditions (If, then, end)
    PREFLIGHT SCRIPT
    IF /Applications/Microsoft Office 2004 folder exist = STOP
    IF /Applications/Microsoft Office 2004 folder doesn't exist continue with laying down files/folder in the package.
    LAYDOWN FILES
    LAY DOWN FILES IN ICEBERG FILE SECTION OF THE PACKAGE
    POSTFLIGHT SCRIPT
    #!/bin/sh
    #Change to root directory
    cd /
    # Move Microsoft Office X folder to Messages Received folder
    mv /Applications/Microsoft\ Office\ X /Messages\ Received
    #Open Office 2004 Installer
    open /Applications/Utilities/Installers/Office2004Installer
    ALL Mac OS X (10.4.6)
    ALL Mac OS X (10.4.6)
    ALL   Mac OS X (10.4.6)  

    A simple condition (not using iceberg) would be:
    #!/bin/sh
    if [ -e "/Applications/Microsoft Office 2004.app" ]
    then
    echo "Microsoft Office 2004 exists, aborting installation"
    exit 1
    fi
    open -a "/Applications/Utilities/Installers/Office2004Installer"
    If Microsoft Office 2004 is installed then the script will exit with a message. If Microsoft Office 2004 is not there then the last line will be executed and the installer will open.
    PowerBook G4   Mac OS X (10.4.8)   MacBook Pro

  • Help Please need help with a motherboard

    I have an Ideacentere A310 ALL IN ONE AND iM LOOKING TO MAYBE GET A REPLACEMENT MOTHERBOARD BECAUSE THE POWER SWITCH IS BROKEN. i HAVE NO IDEA HOW TO FIGURE OUT WHAT TO LOOK FOR ON COMPUTER PARTS WEBSITES IT IS WAY OVER MY HEAD. CAN ANYONE EXPLAIN TO ME IN VERY SIMPLE TERMS HOW TO FIND A REPLACEMENT MOTHERBOARD BECASUSE i have absolutely no clue. thank you

    http://www.manualowl.com/m/Lenovo/IdeaCentre-A310/Manual/118029 shows the repair manual, but first why don't you describe what your unit is doing/not doing, there are several things that might be wrong other than your switch.
    If the switch is physically broken then it can probably be replaced.
    More info might help someone help you.

  • Help running an application with java

    public void actionPerformed(ActionEvent event)
          if (event.getActionCommand().equals("Application"))
              getContentPane().runApplication(Application);
    }What would replace "runApplication(Application)"?
    Thanks.

    What on earth are you trying to do with that code?
    Do you just want to execute an external application via java, such as with the Runtime.exec() method?
    try {
       Runtime.getRuntime().exec(...);
    } catch ( ... )Something similar to that?

  • HELP ! Need help with the MyZenChecker. (Zen Vision:M isn't charging for first ti

    I bought a Zen Vision : M some days ago. It won't charge. I?have WinXP,Service Pack and WMP0. I got GOOD on everything on MyZenChecker. I use the USB at the back. I've also tried with a USB charger which I put into the wall, but that didn't work either. I tried fix2, but I didn't get everything on how to get it work.
    I download it. Double click the .bat file. It comes a black route. It's written that it was succesful. Then after that what should I do in details, please ?
    I tried to restart the computer right after getting successful on the .bat file with the Zen connected. Nothing happens after I turn it on again. No blue light or anything. The computer can't detect it. Am i supposed to connect the Zen after restart ? Should it come a blue light right after restart or should I let charge for 5+ hours without the blue light and then connect it again to get blue light.
    Please tell me what to do in details step by step. Thx
    Message Edited by perry_09 on 07-29-200706:56 AM

    you shd connect it and reboot your PC. the myzenusb.bat is to amend your open up your USB permission. no blue LED light flashing means its not charging. I suggest you exchange this with your retailer since you just bought it

  • HELP! Need help with converting text to shape.

    Each time I hit "Convert to shape" I get paths all over the text character. (See image below)
    Rather than a bounding box I can transform. (see below)
    It's almost as if the text is being converted to a work path even though I'm selecting "convert to shape". Not sure what's "off" or "wrong" but hopefully someone out there can point me in the right direction.
    Thanks!

    Really? Wow. No wonder.
    Ok, here's the thing. I'm watching a YouTube video on making bracket frames and the direction is to do what I've been attempting. Should have known better. Check out the video, link below, at about the 2min mark through 2:48ish. Can you let me know if this is accurate instruction?
    If you have time of course! Thank You Thank You Thank You!!
    Photoshop - Bracket Frames - YouTube

  • Help! Need help with Interactive PDF

    I seems to work fine when I view it in my InDesign CS6 folio Builder. But when I click folio producer to view it, it shows up fragmented when I click on "open" in the  Digital Publishing organizer.

    You've posted here and the DPS forum and neither one of your posts makes any
    sense at all. Please back up and provide full details including screenshots.
    If this is a DPS issue and not PDF then please post there.

  • HELP! Need help generating TEXT-ONLY portal page...

    Text Only Portal Question:
    PLATFORM:
    =================================================================
    Sun Solaris (5.2 if memory serves) for db and mid-tier, running
    8.1.7 DB and 3.0.9 (1.0.2.2) portal.
    THE NEED:
    =================================================================
    I need to display text only portal pages. Some of the more
    detailed concerns at this point are below. Also, I've had an open
    tar on Metalink for about two weeks, and after research from
    their end has resulted in no help.
    THE ISSUES (so far):
    =================================================================
    IMAGES:
    If an anchor [A HREF=...] tag uses an image as it's "text", I
    need to strip out the ALT= text to show inside the anchor. If no
    ALT text is available, then I would like to show the image name
    as a default.
    For example:
    <img src=home.gif
    alt=Home>
    should display as:
    Home
    FORMS:
    How do I get the resulting page from a form (which include the
    login inputs and submit button, search box, advanced search page,
    etc.) to be displayed by the text only page?
    For example:
    When a form is called, the <FORM> elements are as follows:
    METHOD=GET or POST
    ACTION=url (relative or absolute) to the script.
    In this case, the action value is:
    ACTION=/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30.
    This calls the advanced search API.
    I would expect that to redirect the browser back to some
    text-only version, the ACTION= element would have to be changed
    to be something like:
    ACTION=[pathscraper]?/servlet/page?
    pageid=6&dad=portal30&_schema=PORTAL30
    REDIRECTION:
    What happens when portal pages redirect internally? How do you
    get back to the text-only page?
    For example:
    The login link on the standard Oracle Portal home page flips
    from url to url to get to the actual login page. Our
    implementation of Oracle portal goes from
    [DOMAIN]/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    to [domain]/pls/portal30_sso/portal30_sso.login_page.
    Since this is standard Oracle redirection, how can it be
    intercepted so the portal30_sso.login_page can be presented as
    text only?
    TRIED SO FAR:
    =================================================================
    I've written a socket/text scraper in Perl, running it from a web
    server. The problems mentioned above are really causing problems,
    plus the whole cookie thing. Since Oracle Portal tries to push a
    cookie to the client, when the client is another UNIX server,
    the cookie thing doesn't work.
    POSSIBLE OTHER SOLUTIONS:
    =================================================================
    Something...anything. I've tried to think of some method to
    create some sort of PL/SQL procedure to catch the content then
    strip out the HTML calls.
    An Applet to do the same thing, but on the client side, but
    since time is an issue, coding a complete Java applet isn't
    really an option.
    THE CONCLUSION:
    =================================================================
    HELP! I need some help. This is for a client that is government
    funded, and to meet Section 508 (part of the Americans with
    Disabilities Act that states web sites and applications must be
    made accessible. A text-only page is one of the requirements for
    an accessible page.
    Thanks,
    Ryan Stefani
    ps: feel free to contact me via [email protected] or
    [email protected]

    Use Find/Change and the GREP tab.
    Search for .+ and set the Find formatting to find the charcteristics you want.
    What will you do with this text once found? You'll need something to "change" to, either new text or Change Formatting options...

Maybe you are looking for

  • Error in starting OEM

    Hi, I am getting the below error while starting OEM in oracle 11g. Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved. https://ipa27dor.i-flex.com:5502/em/console/aboutApplication Starting Oracle Enterprise Manager 11g Database Control

  • Mac won't read USB from Camera

    I have an older camera that doesn't have a 4 pin firewire port. So I'm using a USB connector to upload my video outside of IMovie (unfortunately I don't have Final Cut yet). However, my computer won't recognize the camera. I've tried turning the came

  • How to populate the application server data on screen

    Hi.. In my present requirement... I need to give the vehicle no field on my custom screen...then i will press the capture weight button.... then it needs to fetch the weight from app server file (columns in file...1.date 2.time 3.weight...4.key.)and

  • Clip sound when i send files to trash macbook pro early 2008

    Hi.I need to ask a question. Nowdays when i send a file to trash,i hear random a clip sound.Not always but often.I suppose, this short clip is coming from the HD.I'm also hearing this sound  when i save a screenshot or dublicate a file, but again the

  • Creating a DNS Record for a Host with Two or More IP???

    Can we create DNS A Record for a Host with Two or More IP ... ( we like to use my website  "mysite.com" pointing to two Ips ) Please help...