"cropping" vector data

I have some nautical charts I'm working with (NOAA ENCs that were converted to SVG then to Illustrator). I'm in CS2.
While the file sizes aren't too bad, the files are apparently very complex and are making things extremely slow and unresponsive, even in outline mode.
I would like to "crop" the charts into more manageable portions, but am finding it difficult using the selection tool to try and select objects outside of a given area that I want to preserve.
Is there a way to create a box or boundary and delete all data outside that box?
The problem I've been having is that if an object within the box extends beyond it, I cannot select the portion of the object outside the box without selecting the entire object.
Thanks.

> I can't believe here isn't a simple way to draw a rectangular shape in an Illustrator file and remove everything that doesn't fall within the bounds of the crop area.
Believe it.
Illustrator has three cutting tools now residing in the main toolbox and all of them have serious flaws/limitations compared to simpler and fewer cutting tools in all its competing programs. The Scissor can only cut one path at a time. The Knife can cut across multiple paths at once, but in doing so can't cut open unfilled paths. The new Eraser can't be set to zero width, and unpredictably distorts the shape of the UNerased remains.
Pathfinders are all affected by a confused array of caveats regarding the treatment of strokes and/or open paths. So while some of them can cut and/or allow you to afterward delete the unwanted deadwood, you will likey have to re-apply stroke/fill attributes to individual objects in the results.
The problems center around Illustrator's seemingly foundational inability to handle open paths and strokes as expected. If the artwork is not simple enough for you to keep track of which paths should have particular stroke/fill attributes, Pathfinders are only reliable as cutting/cropping/trimming tools if you first outline all strokes-- especially of open paths--so that they become closed, filled, unstroked paths. But that is often unacceptable to me, especially in projects like maps.
I have long puzzled over why Illustrator is so awkwardly limited in this regard. Other programs handle these triming tasks intuitively, whether the content paths are open/closed/stroked/unstroked.
JET

Similar Messages

  • How do i prevent [] from appearing in output when reading vector data?

    Here's the code:
    public void saveFile(File file)
    try
    PrintWriter out = new PrintWriter(new FileOutputStream(file),true);
    Vector line = null;
    int i =0;
    while (i < data.size())
    line = (Vector)data.get(i);
    System.out.println("What is line ? " +line);
    i++;
    Sysem.out.println("Before write ");
    out.println(line);
    System.out.println("After write ");
    out.close();
    Here is the result of the line:System.out.println("What is line ? " +line);
    [Name ,  adres ,  Zip code,  City ,  Phone ,  email]
    I do not want to write the [  ] to my output file, because they appear in my table when i read the file again.
    Thanks in advance.
    regards,
    Barry

    Hi Chuck,
    Thanks for your answer but I do not know what you mean.
    I assume you mean that I have to change something in the next line:
    line = (Vector)data.get(i);
    But I have no clue how to do that. So "simply examine the contents and print each of them how you want them to appear." sounds good but I do not know how to do that.
    Could you please be a litlle more specific?
    Thanks.
    Barry

  • Hw can I generate XY graphs directly in a vector data format for printing ie pdf

    A further question re. Printing of Graphs
    There are many similar questions but none where the answers are acceptably adiquite or two or three were the link was broken,
    "Developer exchange forums have been moved" and a pointer to the new
    site, unfort it was hard to find or guess the rest of the link.
    So here is my angle on this problem;
    So far I have tried;
    Using property node: "App.  Printing.Default Printer" to select the printer to use, then
    Using Report Functions to print controls;
    New Report, to generate a new report reference
    Set Report Orientation
    Set Report Margins
    Set Report Font
    Set Report Header Text
    Set Report Font
    Set Report Footer Text
    loop for each page
    Set Report Footer Text,     With page number
    Append Control Image to Report,      several times
    New Report Page
    Until the end of the last page
    Print Report
    Dispose Report
    Initially using existing XY-Graph controls from the front panel.  These
    are on a page of a Tab control to hide these controls while not in use
    and allow them to be hidden while generating the printout. 
    Unfortunately when this page is hidden any graph scales set to
    autoscale don't, (normally don't need to and would otherwise be a waste
    of processor time), resulting in graph plots going off scale or
    becoming a line along the axis.
    An issue is that what is printed appears to be read from the screen, so resolution is much
    lower than required for for printing, resulting in rather pixellated
    printed versions. These prints will usually be emailed, so tried the
    pdf995 "printer driver" but the resulting pdf file size is rather large.
     Currently trying Plot-XY on a much larger picture so as to get
    adequate resolution for printing, however suspect this will result in
    much larger pdf files and probably cause other problems. 
    The preferred solution in this case will probably be to generate print
    output, instead of based on raster images (ie jpg or png), but on a
    vector format, maybe via postscript or directly in pdf format.
    Similar graphs currently printed from Excel via pdf995
    (or OpenOffice) result in files around 20 kb per page. these can be printed at any size
    (at least upto 64 times) without becoming pixellated, so assume these
    are vector based.
    Currently a page with 4 XY Graph controls uses around 40 to 45 kb per
    page but resolution is poor and overcoming that may push file size up
    to 150 to 200 kb per page, and the whole job can be 50 to 100 pages.
    Are there any functions to generate XY graphs directly in a vector data format preferably in pdf or via PostScript format.
    Cheers
    Darryl

    Hi Darryl,
    I was able to reproduce the issue you were seeing, in which a report generation was taking up a large amount of space per page in a PDF utility. I found; however, using my attached VI (notice that it is set to *.png) and the CutePDF utility (free download at http://www.cutepdf.com/) I was able to get a per page size of about 10 KB. Also using the png I found that the image quality seemed to be quite high.
    Please try incorporating this solution into your application and see if it reduces your file sizes.
    Thanks and have a good evening!
    Cheers,
    Jonah
    Applications Engineer
    National Instruments
    Jonah Paul
    Marketing Manager, Embedded Software
    Evaluate the LabVIEW RIO Platform! - ni.com/rioeval
    Attachments:
    print_XY Graph.vi ‏23 KB

  • Save as EPS - Include Vector Data - Printing problems

    Hey everyone
    I'm having an issue with PDFs that I send to a specific newspaper and only them. The problem only occurs in the vector data that is saved in the EPS to be distilled.
    Here's an overview of my workflow
    *Build ad in Photoshop CS3
    *Save EPS with Preview:Macintosh(8Bits);Encoding: ASCII85; Include Vector Data; all other options not checked
    *Distill EPS to Press Quality PDF
    *Send to newspaper
    The problem looks like their RIP is choking on the vector data (primarily text) in the ad. It appears to start to print the text and then just stops or prints a bunch of garbage where the text should be.
    I have their in-house Distiller settings and use those now instead of Press Quality. This should rule out any problems with the Distiller settings.
    I send dozens of PDFs a week to multiple publications and only have trouble with this one. Is it possible that the "Preview" and/or "Encoding" in the EPS is the problem? Any suggestions what the bare bones settings should be for "Preview" and "Encoding" for the EPS? I want to keep the Vector Data b/c the outputted text remains crisp.
    Thanks!

    I agree with Mike.
    A lot of newspapers are not making a lot of profit and, as a result, may not have up-to-date RIPs. This is demonstrated by your statement that this is the only publication you have problems with.
    If your only concern is file size, know that either way, you're dealing with small files. Try the direct-from-Photoshop route with the paper and see what happens. Get the production guru at the paper to work with you on solving the problem.
    Also, what happens if you Distill the file as an industry-standard PDF/X-1a file. If you see that the file is compliant, you shouldn't have a problem.
    Neil

  • How to define DefaultTableModel to use vector data?

    Hi ...
    I want to show files data in a jtable which consist of files (Name,size,path) I want to use vectors for remove and add methods. The problem is with data vector I tried to define it as
    Vector <Vector[][]>data;I get always an error when I tried to add data to data vector so where is my problem?
    Thanks.
    Feras

    Vector <Vector[][]>data;You are confusing 2Dimensional arrays with Vectors. When using Vectors you need to create a Vector of Vectors. The code should be something like this;
    Vector<Vector> data = new Vector<Vector>();
    Vector<Object> row1 = new Vector<Object>();
    row1.add(name);
    row1.add(size);
    row1.add(path);
    data.add(row);Presumably the code to add the rows would be in a loop.

  • How to add Vector data to JTextArea ????

    Hi All,
    I have a JTExtArea where i want Vecor data to get display.
    Suppose i have Vector data as 1,2,3,4,5 then i want these number to be displayed in JTextArea as seperate rows.
    Thanks

    How about iterating over the collection, adding each value and a line break to the text area?
    myTextArea.setText("");
    for(Iterator iterator = myVector.iterator(); iterator.hasNext(); ) {
      Object value = iterator.next();
      String text = String.valueOf(value); // or format it somehow
      myTextArea.append(text);
      myTextArea.append("\r\n");
    }Hope this helps.

  • Copy and Paste Vector Data

    Is it possible to copy and paste vector data from one anchor point to another?

    See the pair of scripts here named JET_HandlesCopy.jsx and JET_HandlesPaste.jsx.
    JET

  • Need help trying to "include Vector Data" when saving as an EPS? Anyone?

    Although I have done this many times before, I cannot seem to figure out why the check box "include vector data" is greyed out.  I am working in CMYK - I have placed my corporate logo as a smart object as usual - and none of my layers have effects applied.  Scratching my head right now.  This is a large format poster so I will definately need to resolve this somehow.  Any guidance would be greatly appreciated.

    Mike Ornellas wrote:
    You have to have a layer with a vector mask applied to it for the feature to show up.
    Or live text or a clipping path.
    Copy the logo from Illustrator to Photoshop. When asked, say you want a Shape Layer (I forget the exact wording). If the logo must be more than one colour, duplicate the layer for each additional colour and, on each layer, delete all path segments that are not needed for that particular colour. Group the layers in a folder for easy moving and scaling.
    And why are you using EPS format? Is there a reason you aren't using the far superior in every way Photoshop PDF format?

  • Affine transformation with vector data

    I want to use the SDO_UTIL.AFFINETRANSFORMS method to transform vector data in a sql statement.
    The example in the Spatial Developer's Guide is working so far. But if I change the SCALING parameter to TRUE I got a exception:
    Fehler beim Start in Zeile 2 in Befehl:
    SELECT SDO_UTIL.AFFINETRANSFORMS(
    geometry => MDSYS.SDO_GEOMETRY(2003, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),
    MDSYS.SDO_ORDINATE_ARRAY(
    1.5,0,
    2.5,1,
    1.5,2,
    0.5,2,
    0.5,0,
    1.5,0)),
    translation => 'FALSE',
    tx => 0.0,
    ty => 0.0,
    tz => 0.0,
    scaling => 'TRUE',
    psc1 => NULL,
    sx => 0.5,
    sy => 0.5,
    sz => null,
    rotation => 'FALSE',
    p1 => NULL,
    line1 => NULL,
    angle => 0.0,
    dir => 0,
    shearing => 'FALSE',
    shxy => 0.0,
    shyx => 0.0,
    shxz => 0.0,
    shzx => 0.0,
    shyz => 0.0,
    shzy => 0.0,
    reflection => 'FALSE',
    pref => NULL,
    lineR => MDSYS.SDO_GEOMETRY(2002,0,NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),
    MDSYS.SDO_ORDINATE_ARRAY(2.5,0.0,2.5,2.0)),
    dirR => 0,
    planeR => 'FALSE',
    n => NULL,
    bigD => NULL
    ) FROM DUAL
    Fehlerbericht:
    SQL-Fehler: ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
    ORA-06512: at "MDSYS.SDO_UTIL", line 265
    29532. 00000 -  "Java call terminated by uncaught Java exception: %s"
    *Cause:    A Java exception or error was signaled and could not be
               resolved by the Java code.
    *Action:   Modify Java code, if this behavior is not intended.The methods TRANSLATION and REFLECTION are working - SCALING, ROTATION and SHEARING are not working.
    I test it on Oracle 11.1.0.7 on Windows XP and Windows Server 2003 R2.
    Maybe it's a similar problem which is described in Bug 9146920 on My Oracle Support.
    Has anybody had a similar problem?
    Regards,
    Cord

    Hi,-
    Please define psc1 instead of psc1 => NULL like:
    psc1 =>MDSYS.SDO_GEOMETRY(2001, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1),
    MDSYS.SDO_ORDINATE_ARRAY(0,0)),if you want scaling with respect to origin.
    Define psc1 like:
    psc1 =>MDSYS.SDO_GEOMETRY(2001, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1),
    MDSYS.SDO_ORDINATE_ARRAY(0.6,0)),if you want scaling with respect to another point (i.e., point *(0.6, 0)* which is) on your geometry.
    Please note that psc1 has to be on the geometry, and it can be any point
    other than the vertices of your geometry.
    Next, note also that you should _specify sz as zero even if you donot use it for 2D_ as you will see in the below examples.
    Hope that this helps and please let us know if you have further problems.
    I tried with (0,0) point for psc1 as follows:
    SELECT SDO_UTIL.AFFINETRANSFORMS(
    geometry => MDSYS.SDO_GEOMETRY(2003, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),
    MDSYS.SDO_ORDINATE_ARRAY(
    1.5,0,
    2.5,1,
    1.5,2,
    0.5,2,
    0.5,0,
    1.5,0)),
    translation => 'FALSE',
    tx => 0.0,
    ty => 0.0,
    tz => 0.0,
    scaling => 'TRUE',
    psc1 =>MDSYS.SDO_GEOMETRY(2001, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1),
    MDSYS.SDO_ORDINATE_ARRAY(0,0)),
    sx => 0.5,
    sy => 0.5,
    sz => 0.0,
    rotation => 'FALSE',
    p1 => NULL,
    line1 => NULL,
    angle => 0.0,
    dir => 0,
    shearing => 'FALSE',
    shxy => 0.0,
    shyx => 0.0,
    shxz => 0.0,
    shzx => 0.0,
    shyz => 0.0,
    shzy => 0.0,
    reflection => 'FALSE',
    pref => NULL,
    lineR => MDSYS.SDO_GEOMETRY(2002,0,NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),
    MDSYS.SDO_ORDINATE_ARRAY(2.5,0.0,2.5,2.0)),
    dirR => 0,
    planeR => 'FALSE',
    n => NULL,
    bigD => NULL
    ) FROM DUAL;
    SDO_UTIL.AFFINETRANSFORMS(GEOMETRY=>MDSYS.SDO_GEOMETRY(2003,NULL,NULL,MDSYS.SDO_
    SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    SDO_ORDINATE_ARRAY(.75, 0, 1.25, .5, .75, 1, .25, 1, .25, 0, .75, 0))
    With (0.6,0) point for psc1, you will get:
    SELECT SDO_UTIL.AFFINETRANSFORMS(
    geometry => MDSYS.SDO_GEOMETRY(2003, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1003,1),
    MDSYS.SDO_ORDINATE_ARRAY(
    1.5,0,
    2.5,1,
    1.5,2,
    0.5,2,
    0.5,0,
    1.5,0)),
    translation => 'FALSE',
    tx => 0.0,
    ty => 0.0,
    tz => 0.0,
    scaling => 'TRUE',
    psc1 =>MDSYS.SDO_GEOMETRY(2001, NULL, NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,1,1),
    MDSYS.SDO_ORDINATE_ARRAY(0.6,0)),
    sx => 0.5,
    sy => 0.5,
    sz => 0.0,
    rotation => 'FALSE',
    p1 => NULL,
    line1 => NULL,
    angle => 0.0,
    dir => 0,
    shearing => 'FALSE',
    shxy => 0.0,
    shyx => 0.0,
    shxz => 0.0,
    shzx => 0.0,
    shyz => 0.0,
    shzy => 0.0,
    reflection => 'FALSE',
    pref => NULL,
    lineR => MDSYS.SDO_GEOMETRY(2002,0,NULL,
    MDSYS.SDO_ELEM_INFO_ARRAY(1,2,1),
    MDSYS.SDO_ORDINATE_ARRAY(2.5,0.0,2.5,2.0)),
    dirR => 0,
    planeR => 'FALSE',
    n => NULL,
    bigD => NULL
    ) FROM DUAL;
    SDO_UTIL.AFFINETRANSFORMS(GEOMETRY=>MDSYS.SDO_GEOMETRY(2003,NULL,NULL,MDSYS.SDO_
    SDO_GEOMETRY(2003, NULL, NULL, SDO_ELEM_INFO_ARRAY(1, 1003, 1),
    SDO_ORDINATE_ARRAY(1.05, 0, 1.55, .5, 1.05, 1, .55, 1, .55, 0, 1.05, 0))Best regards
    baris

  • Photoshop EPS not saving vector data?

    I have a Photoshop CS3 file with 2 layers that use vector masks. I saved the file as an .eps and checked "Include Vector Data." I placed the .eps in an InDesign document. On screen everything looks fine, but if I print to PDF the vector mask layers are missing; likewise if I open/rasterize the .eps file in Photoshop the vector mask layers are gone. It prints fine if I place the original .psd file in the InDesign doc. Any ideas why .eps doesn't appear to save the vector data? Thanks...

    I understand that eps doesn't support layers, and that vector data will be rasterized if I open the eps in photoshop. That's not the issue; the issue is the vector layer data is being *discarded* and is not making it through the workflow: eps placed into an InDesign document and distilled to PDF.
    Update: I merged all layers in the psd file except for 1 vector layer & saved as an eps. When I reopened the eps in photoshop, it tells me it's rasterizing eps data, but when the file opens the imagery from the vector layer is missing. Likewise, if I place the eps in InDesign and distill a pdf, the imagery from the vector layer is missing, even though it appears in the onscreen preview in InDesign. Maybe something is screwy with that mask?

  • Importing PDF with vectora data into PS CS5?

    Hello,
    I've done some research, and have the feeling that what I'm asking for is not possible, but I just wanted to make sure, and see what other options there may be.
    Here's my situation:
    I'm trying to get an Excel sheet into a brochure-type document that I'm making in PS CS5. I would like the Excel data to still have that crisp look of the vector data, and be able to be scaled up or down, searched for, etc. I've got the Excel sheet saved as a PDF, looks fine when opened in Acrobat, etc... all the text is there, etc. When I go and open it in PS, it is all rasterized and loses it's clean look and the ability to size it up / down without losing the quality.
    Is there any way in Photoshop to make this possible? If not, what other options should I look into? I believe it's doable in Illustrator, but I'm not sure, and I'm just looking for some other options.
    Any help is much appreciated!
    Trevor

    Would I need both of these programs (Inkscape and Scribus) in order to do this? If so, are there any tutorials or anything that can help me out with it? I'm playing with the Inkscape program at the moment, but I'm new to it, so I'm not sure exactly what to do.
    Unfortunately, my 30 day trial of InDesign and Illustrator have expired, and I just don't have any real use other than getting a PDF into a Photoshop (psd) file. I'm hoping that as I progress, InDesign and Illustrator will be beneficial for me in other ways, which would justify the purchase a little further.
    If this is possible with the mentioned programs
    If you could give me any more insight, it would be much appreciated... Thanks a bunch!
    Trevor

  • BUFFERIMAGE AND VECTOR DATA FILE DRAWING PROBLEM

    THERE IS A VECTOR DATA FILE OF A COUNTRY/REGION OF CERTAIN PORTION. THAT IS FILE CONTAINS ONLY DATA IN (X,Y,Z) FORMAT OR ITS COLOR CODING OR WHAT TYPE OF SHAPE IT IS GIVEN BELOW
    shape: Line, Color: red
    no of vertices: 3
    (234,543,45)
    (34,567,345)
    (76,234,345)
    like above. a vector file exists. file is very heavy with lot of information. one needs to read the file and draw in java.
    My problem is: i am reading the file properly, in paint function i have created BufferedImgae, createGraphics all necessary actions. i have also used rubber binding. using rubber binding when i select few portion of the map i found it is taking
    lots of time to draw. once it is drawn when next time i am using RUBBER BAND SELECTION EXCEPTION occurs saying HEAP OUT OF MEMORY like.
    one more thing if i used affinetransform it is simply zooming completely distorting my map defeating entire purpose.
    how i can solve above problem using bufferedimage such that i can draw vector data file which should be faster when redrawing also using rubber band as well.
    thanks in Advance
    Roy

    I have completely no idea what you mean by rubber banding. But you shouldn't be creating a BufferedImage and parsing a file inside of a gui component's paint function.
    one more thing if i used affinetransform it is simply zooming completely distorting my map defeating entire purpose.AffineTransform is a transformation from one 2D coordinate system to another. It probably wont be as useful in a 3D environment such as your vector data file.

  • Help to save Vector data into a disk and load it back again

    Hi all
    I�m still need help to solve the problem of saving vector data object into disk and load it aging whenever I restart the program. I used one central design for the project. The codes below is most important part of the project.
    I stored data into vector collection through the GUI. My problem is, where should I put the FileOutputStream and ObjectInputStream in the steps below before the data that I stored in the Vector can be save in a disk and also to be loaded back to the vector when I restart program automatically. Pls I need help. Any assistance will be appreciate
    Step1:
    import java.io.*;
    public class UserP implements Serializable{
    private String staffNo;
    private String passW;
    public UserP(String staffNo,String passW){
    this.staffNo= staffNo;
    this.passW= passW;
    public String getUserCode(){
    return staffNo;
    public void setPassW(String passW ){
    //Use to change user password .
    this.passW= passW;
    public String getPassW(){
    return passW;
    Step2:
    import java.util.*;
    import java.io.*;
    public class UserPs implements Serializable{
    private Vector pUsers;
    public UserPS(){
    //initialize collection Object.
    this.pUsers= new Vector(10,10);
    //Helper method.
    private int getIndexFor(String staffNo){
    //Find the position index of User in the collection
    //Only used by the following method(getPUserFor, Add).
    for(int i=0; i< pUsers.size(); i++){
    UserP aUserP= (UserP) pUsers.elementAt(i);
    if(aUserP.getUserCode().equals(staffNo))
    return i;
    return -1;
    public UserP getPUserFor(String staffNo){
    int i= getIndexFor(staffNo);
    if(i < 0)
    return null;
    UserP aUserP= (UserPatient) pUsers.elementAt(i);
    return aUserP;
    public synchronized UserP add(UserP aUserP){
    //add the given prescription object to this collection but only if not already in.
    if(aUserP==null)
    return null;
    if(getIndexFor(aUserP.getUserCode()) >= 0)
    return null;
    pUsers.addElement(aUserP);
    return aUserP;
    public Enumeration list(){
    //returns the enumeration collection of UserP.
    return pUsers.elements();
    Step3:
    import java.io.*;
    //Every UserP has a collection of UserPs,a reference to such
    //collection is held by the instance variable 'userPs'.
    public class Hosp implements Serializable{
    private UserPs userPs;
    public Hosp(){
    userPs= new UserPs();
    public UserPs getUserPs(){
    // return a reference to the UserPatients collection
    return userPs;
    Step4 :
    public interface GateKeeper{
    public String addUserP(String staffNo,String passW);
    public String retrieveAllUserP();
    Step5:
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class GateKeeperImpl implements GateKeeper, Serializable {
    private Hosp hosp;
    public GateKeeperImpl(){ //CONSTRUCTION
    //Make an Hosp.
    hosp= new Hosp();
    public String addUserPs(String staffNo,String passW){
    if(stafNo == null)
    return("The staff is required.");
    if(passW.equals(""))
    return("Password is required.");
    UserP userP= new UserP(staffNo,passW);
    UserPs uPs =hosp.getUserPs();
    UserP collet= uPs.add(userP);
    if(collet == null)
    return ("This user is already in the collection.");
    else
    return ("The user has been added to the collection.");
    public String retrieveAllUserP(){
    UserPs uPs =hosp.getUserPs();
    String allUser="User informations:";
    Enumeration e= uPs.list();
    while(e.hasMoreElements()){
    UserP user =(UserP)e.nextElement();
    allUser = allUser +"\n"+"\n"+"UserCode:"+user.getUserCode()+" "+" "+"UserPassword:"+user.getPassW()+"\n";
    return allUser;
    Step 6:
    import java.util.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class HospFrame1 extends Jframe, implements Serializable {
    private GateKeeperImpl gate= new GateKeeperImpl();
    private JButton jButton1 = new JButton();
    private JButton jButton2 = new JButton();
    private JTextField sSfied = new JTextField();
    private JTextField pWfied = new JTextField();
    //Construct the frame
    public HospFrame1() {
    //The rest of the code comes here
    //The rest of the action method that used to implement also comes here.
    Step 7:
    import java.util.*;
    import java.io.*;
    import javax.swing.UIManager;
    public class Testing{
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    catch(Exception e) {
    e.printStackTrace();
    HospFrame1 hops=new HospFrame1();
    try
         // to save data to afile
    FileOutputStream sFile = new FileOutputStream("theData.dat");
    ObjectOutputStream oos = new ObjectOutputStream(sFile);
    oos.writeObject(hops);
    oos.close();
    catch (Exception e){
    e.printStackTrace();
    try {
    //to read data from previous save file
    FileInputStream fin = new FileInputStream("theData.dat");
    ObjectInputStream yess = new ObjectInputStream(fin);
    hops =(HospFrame1) yess.readObject();
    yess.close();
    catch(Exception e){
    e.printStackTrace();

    Stop multi-posting and cross-posting your questions.

  • Access vector data from AI or EPS

    Hi!
    Does anyone know if we can access vector data from AI or EPS files, to be used with an effect plugin? Shachar may be?
    I've looked at Streams and DynamicStreams, but couldn't find anything...
    Thanx,
    François

    again, i find myself the bearer of bad news...
    AE deson't offer any in-depth access of the format parsers. you can only ask AE to fetch you a rendered image via it's parsers. (i.e. IO and FBIO plug-ins)
    but since you can find the path to the origin file using AE's suites, you can parse it yourself. (NOT going to be easy)
    from what i gathered, Ghostscript is the API to go with.
    http://www.ghostscript.com/doc/current/API.htm
    has been discussed here:
    http://forums.adobe.com/message/4246544?tstart=0
    it's just one of these days where i'm not too helpful... :-(

  • How to export vector data?

    In Fireworks, is there a way to save as or export files to EPS format, while maintaining vector data?
    If not, what are my options for exporting vector data? AI?

    Additional to File > Save As > .ai, if you have Illustrator, you can select your vector data in Fw, then Edit > Copy As Vectors, then Paste into Illustrator.
    h

Maybe you are looking for

  • Local Vs Global Index on partitioned table?

    Hello All, DESC PS_P1_EMP_QRYSCRTY Name Null? Type EMPLID NOT NULL VARCHAR2(11) EMPL_RCD NOT NULL NUMBER(38) ROWSECCLASS NOT NULL VARCHAR2(30) ACCESS_CD CHAR(1) MY SQL QUERY IS:- SELECT DISTINCT OPR.OPRID , EMP.EMPLID ,EMP.EMPL_RCD , OPR.CLASSID ,'Y'

  • Content Server Backup Procedure

    Dears, We are using Content Server with MaxDB database.As we know in SAP with Oracle database we have brtools to configure backup to take it automatically on a regular basis. So now my issue in the same way we need to configure backup for my Content

  • Previous month end based on prompted values

    Hello All, I need to create a SR report that shows: Received in current month: count of Service requests recorded in current month selected. For instance if date prompt selection was March 2010 then count of SR recorded from Mar 1- 31,2010 Open Servi

  • ERROR - "The formula contains a number outside of the valid range"

    Hello, I am using an equation that is returning the error "the formula contains a number outside of the valid range" when the constituent cells of the equation contain a negative number. I have tried using the inspector to format the problem cell(s)

  • QuickTime 7 Audio Issue (Won't play audio in certain video clips)

    I'm having a problem getting audio to play with clips in QuickTime 7, and it doesn't play at all in iDVD when I drag a clip in to burn a DVD. I'm also having problems getting Final Cut Pro to play audio from time to time. Is this being caused by a re