Writting Tools for Java (Very new to java HELP!!!!)

It's hard to write a java applet using a windows notepad, because I must to save as a *.java files, open a msdos prompt type (javac *.java), and run it (very inefficinet :( ).
Doesn't like Vb, notepad didn't alert me if I make a mistake like this :.
--System.out.println("good")
--Sistem.out.println(":( wrong)
HELP ME PLEASEEEEE!!!!

Forte, where can I download it from?Link to Forte (now called Sun One Studio 4):
http://wwws.sun.com/software/sundev/jde/index.html
Link to JCreator (a text editor):
http://www.jcreator.com/
Link to search results on Google.com:
http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=java+ide%2Ceditor

Similar Messages

  • Very New to Jave, need to do totals/subtotals

    Hi, (I hope this is the right place)
    I'm VERY new to Java (I mainly do wourk with php interfaces for MyAQL databases).
    Up until now, there hasn't been anything I couldn't do with PHP that I needed to...
    My boss recently requested subtotals/totals at various points on an input sheet. The sheet inputs numbers of people, so I'm not worried about rounding (The php already takes care of people trying to input parts of people....) or tax.
    It's a rather large form (~144 lines) and the math is already in place to do the subtotaling (among other things) before entering the information into the database.
    How would I go about writing script that would display sub totals, and recalculate them every time one of the boxes value's is modified?
    Is this something javascript is designed to do? Is there a better language out there for this task?
    I've found sites out there that have canned subtotal/total scripts, but I don't want something pre-made unless it comes with a detailed explaination of what everything does; if I'm going to maintain it, I have to understand it.
    Thanks

    Is this a web form? e.g. a html form with input fields?
    You can add onchange or onblur events to your input fields to detect changes. Then you can use javascript to retrieve the values from the form and do the calculation.
    -S

  • Very New To Java

    Hi, I'm very new to java - 2nd day. Trying to move from Visual FoxPro.
    In testing statements to learn java, I can't seem to get java.util.Scanner.nextInt or nextDouble ... etc. to wait for a keyborad input. Is there something I have to configure before utilizing ...Scanner.nextWhatever?
    I'm using the latest java (just downloaded 2 day ago) and TextPad as my editor.
    Thanks you.

    Hi Petes1234:
    Thanks for you quick response!!!!
    The following is the code very simple ... still my "Hello World!" phase of learning.
    import java.util.Scanner;
    public class ScannerApp
         static Scanner sc = new Scanner(System.in);
         public static void main(String[] args)
              System.out.print("Enter an integer: ");
              int x = sc.nextInt();
              System.out.println("You entered " + x + ".");
    }The above code complies fine. But when I try to run it, it errors out with the following error:
    Enter an integer: Exception in thread "main" java.util.NoSuchElementException
         at java.util.Scanner.throwFor(Scanner.java:838)
         at java.util.Scanner.next(Scanner.java:1461)
         at java.util.Scanner.nextInt(Scanner.java:2091)
         at java.util.Scanner.nextInt(Scanner.java:2050)
         at ScannerApp.main(ScannerApp.java:11)
    See anyting I'm doing wrong here?

  • Very new to java please help

    i'm very new to java and i'm getting an error in my application. i took 4 applications that compiled and worked separatly and i tried to combine them into one application. i'm getting the error: unreported exception java.io.IOException; must be caught or declared to be thrown, in lines 73,78,83,88,120,146,149,152,155 in the and it points at the keyboard.readLine() but everything i've tried just gives me more errors. please help anything and everything will be greatly appreciated. here it is, sorry about format i dunno how to straighten it in here:
    // ^ ^
    //               (0)(0) A Happy Piggy Application
    // Problems: 2.6,2.8,2.9,2.12 (oo)
    // An application finds the total number of hours, minutes, & seconds, finds the distance
    // between two points, finds the volume and surface area of a sphere, and adds up the change
    // in a jar. First, the total hours, minutes, and seconds problem.
    import java.io.*;
    import java.text.DecimalFormat;
    import java.text.NumberFormat;
    public class twoptsix
         static BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in));
         static PrintWriter screen = new PrintWriter(System.out, true);
         public static void main (String[] args) throws IOException
              double hoursa, minutesa, secondsa;
              String hours;
              System.out.print ("Please enter a number of hours: ");
    hours = keyboard.readLine();
    hoursa = Double.parseDouble(hours); //asks programmer friendly user to enter hours
    String minutes;
    System.out.print ("Please enter a number of minutes: ");
    minutes=keyboard.readLine();
    minutesa = Double.parseDouble(minutes); //asks programmer friendly user to enter minutes
    String seconds;
    System.out.print ("Pretty please enter a number of seconds: ");
    seconds = keyboard.readLine();
    secondsa = Double.parseDouble(seconds); //asks programmer friendly user to enter seconds
    double allseconds;
    allseconds = (hoursa * 3600) + (minutesa * 60) + secondsa; //adds up all the seconds of the time entered
    System.out.println ("You have: " + hours + " hours..."); //displays hours
    System.out.println ("" + minutes + " minutes..."); //displays minutes
    System.out.println ("and " + seconds + " seconds..."); //displays seconds
              System.out.println ("to get whatever you need to done!"); //witty attempt at humor
    System.out.println ("The total amount of seconds is: " + allseconds + " seconds."); //displays total seconds
    // An application that finds the distance between two points when the points
    // are given by the user.
              double x1, x2, y1, y2, total, distance;
              String xa;
              System.out.print ("Please enter the 'x' coordinate of first point: ");
              xa = keyboard.readLine();
              x1 = Double.parseDouble(xa); //asks programmer friendly user to enter first x value
              String ya;
              System.out.print ("...also need the 'y' coordinate of first point: ");
              ya = keyboard.readLine();
              y1= Double.parseDouble(ya); //asks programmer friendly user to enter first y value
              String xb;
              System.out.print ("...and the 'x' coordinate of the second point: ");
              xb = keyboard.readLine();
              x2 = Double.parseDouble(xb); //asks programmer friendly user to enter second x value
              String yb;
              System.out.print ("...don't forget the 'y' coordinate of the second point: ");
              yb = keyboard.readLine();
              y2 = Double.parseDouble(yb); //asks programmer friendly user to enter second y value
              total = Math.pow(x2 - x1, 2.0) + Math.pow(y2 - y1, 2.0); //squares the differences of values
              distance = Math.sqrt(total); //finds the square root of the sum of the differences of the values
              System.out.print ("E=mc^2...oh and,");
              System.out.print ("the distance between point (" + xa +"," + ya +") and point("+
              xb + "," + yb + ") is : " + distance);
    // An application that takes the radius of a sphere and finds and prints
    // the spheres volume and surface area.
              double radius,volume,area;
              String rad;
              System.out.print("Please enter the radius of a sphere: ");
              rad = keyboard.readLine();
              radius = Double.parseDouble(rad); //asks programmer friendly user to enter the radius of a sphere
    DecimalFormat fmt = new DecimalFormat ("0.####");
              volume = ((4 * Math.PI * Math.pow(radius,3.0)) / 3) ;
              System.out.println (" The sphere has a volume of:" + fmt.format(volume)); //finds and displays volume
              area = ( 4 * Math.PI * Math.pow(radius, 2.0)) ;
              System.out.print (" The Surface Area of the sphere is: " + fmt.format(area)); //finds and displays surface area
    // An application that finds the total, in dollars and cents, of a number of quarters,
    // nickels, dimes, and pennies in your piggy bank.
              int pennies, nickels, dimes, quarters;
              double money1;
              screen.println("Empty your piggy bank and count the change, how many quarters ya have?: ");
              int q = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of quarters
              screen.println("How many dimes?: ");
              int d = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of dimes
              screen.println("How many nickels?: ");
              int n = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of nickels
              screen.println("How many pennies?: ");
              int p = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of pennies
              NumberFormat money = NumberFormat.getCurrencyInstance();
              money1 = (.25 * q) + (.1 * d) + (.05 * n) + (.01 * p);
              screen.println("You're rich! Total, you've got: " + money.format(money1));//finds and displays total money

    Ok here is the working code as one long function:
    // ^ ^
    // (0)(0) A Happy Piggy Application
    // Problems: 2.6,2.8,2.9,2.12 (oo)
    // An application finds the total number of hours, minutes, & seconds, finds the distance
    // between two points, finds the volume and surface area of a sphere, and adds up the change
    // in a jar. First, the total hours, minutes, and seconds problem.
    import java.io.*;
    import java.text.DecimalFormat;
    import java.text.NumberFormat;
    public class twoptsix
        static BufferedReader keyboard = new BufferedReader(new InputStreamReader(System.in));
        static PrintWriter screen = new PrintWriter(System.out, true);
        public static void main (String[] args) throws IOException
    double hoursa, minutesa, secondsa;
    String hours;
    System.out.print ("Please enter a number of hours: ");
    hours = keyboard.readLine();
    hoursa = Double.parseDouble(hours); //asks programmer friendly user to enter hours
    String minutes;
    System.out.print ("Please enter a number of minutes: ");
    minutes=keyboard.readLine();
    minutesa = Double.parseDouble(minutes); //asks programmer friendly user to enter minutes
    String seconds;
    System.out.print ("Pretty please enter a number of seconds: ");
    seconds = keyboard.readLine();
    secondsa = Double.parseDouble(seconds); //asks programmer friendly user to enter seconds
    double allseconds;
    allseconds = (hoursa * 3600) + (minutesa * 60) + secondsa; //adds up all the seconds of the time entered
    System.out.println ("You have: " + hours + " hours..."); //displays hours
    System.out.println ("" + minutes + " minutes..."); //displays minutes
    System.out.println ("and " + seconds + " seconds..."); //displays seconds
    System.out.println ("to get whatever you need to done!"); //witty attempt at humor
    System.out.println ("The total amount of seconds is: " + allseconds + " seconds."); //displays total seconds
    // }  <----- MAIN FUNCTION USED TO END HERE!!!
    //but we want to keep going so remove the bracket!
    // An application that finds the distance between two points when the points
    // are given by the user.
    // {  <-- other function used to start here, but now it continues
    double x1, x2, y1, y2, total, distance;
    String xa;
    System.out.print ("Please enter the 'x' coordinate of first point: ");
    xa = keyboard.readLine();
    x1 = Double.parseDouble(xa); //asks programmer friendly user to enter first x value
    String ya;
    System.out.print ("...also need the 'y' coordinate of first point: ");
    ya = keyboard.readLine();
    y1= Double.parseDouble(ya); //asks programmer friendly user to enter first y value
    String xb;
    System.out.print ("...and the 'x' coordinate of the second point: ");
    xb = keyboard.readLine();
    x2 = Double.parseDouble(xb); //asks programmer friendly user to enter second x value
    String yb;
    System.out.print ("...don't forget the 'y' coordinate of the second point: ");
    yb = keyboard.readLine();
    y2 = Double.parseDouble(yb); //asks programmer friendly user to enter second y value
    total = Math.pow(x2 - x1, 2.0) + Math.pow(y2 - y1, 2.0); //squares the differences of values
    distance = Math.sqrt(total); //finds the square root of the sum of the differences of the values
    System.out.print ("E=mc^2...oh and,");
    System.out.print ("the distance between point (" + xa +"," + ya +") and point("+
         xb + "," + yb + ") is : " + distance);
    //second function used to end here...
    //} <--- COMMENT OUT BRACKET SO WE CONTINUE
    // An application that takes the radius of a sphere and finds and prints
    // the spheres volume and surface area.
    //{ <--- ANOTHER ONE TO COMMENT OUT
    double radius,volume,area;
    String rad;
    System.out.print("Please enter the radius of a sphere: ");
    rad = keyboard.readLine();
    radius = Double.parseDouble(rad); //asks programmer friendly user to enter the radius of a sphere
    DecimalFormat fmt = new DecimalFormat ("0.####");
    volume = ((4 * Math.PI * Math.pow(radius,3.0)) / 3) ;
    System.out.println (" The sphere has a volume of:" + fmt.format(volume)); //finds and displays volume
    area = ( 4 * Math.PI * Math.pow(radius, 2.0)) ;
    System.out.print (" The Surface Area of the sphere is: " + fmt.format(area)); //finds and displays surface area
    // } <----- COMMENTED OUT FOR THE SAME REASON
    // An application that finds the total, in dollars and cents, of a number of quarters,
    // nickels, dimes, and pennies in your piggy bank.
    //{ <----AND ANOTHER
    int pennies, nickels, dimes, quarters;
    double money1;
    screen.println("Empty your piggy bank and count the change, how many quarters ya have?: ");
    int q = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of quarters
    screen.println("How many dimes?: ");
    int d = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of dimes
    screen.println("How many nickels?: ");
    int n = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of nickels
    screen.println("How many pennies?: ");
    int p = (new Integer(keyboard.readLine())).intValue();//asks programmer friendly user to enter a number of pennies
    NumberFormat money = NumberFormat.getCurrencyInstance();
    money1 = (.25 * q) + (.1 * d) + (.05 * n) + (.01 * p);
    screen.println("You're rich! Total, you've got: " + money.format(money1));//finds and displays total money
    }P.S. To make the code formatted better put [ code ] before and [ /code ] after. It's not perfect, but a little better...

  • TS3276 Mail has started sending duplicates of a message, especially group messages.  It also opens 2 windows for writing a new email.  Help.

    Mail has started sending duplicates of a message, especially group messages.  It also opens 2 windows for writing a new email.  Help. How do I fix this?

    Unfortunately there isn't official commercial support for Mozilla Thunderbird from Mozilla Corp.. I believe some contributors here ([http://mozilla.magicfab.ca myself included]) do offer such support, though.
    ''Before doing anything else, please do exit Thunderbird completely and [https://support.mozilla.org/en-US/kb/profiles-tb#w_backing-up-a-profile backup the profile folder] - it contains all your email, settings, filters, etc.''
    Regarding your issue, it looks like the mail folder information may be corrupt. In the left pane, in the folder list, right-click on the Sent folder and select '''Properties'''. Choose "'''Rebuild Index'''" or "'''Repair Folder'''" - do you even have that option? Once done, exit TB completely and restart it.
    Updating to a newer version will help anyone help you, if only because some of the documentation for older Thunderbird versions is a bit harder to find and testing to try & reproduce your problem will be harder. Don't do this just yet, though :)
    After this issue has been addressed I would suggest considering using IMAP if your provider allows you to, and of course archiving your email to Local Folders and doing regular backups of your profile.
    If you want to arrange commercial support, contact me via the link I provided above and we can discuss rapidly. Otherwise I am fine continuing here, however I can only reply as time permits. I am in Montreal (so, EST time zone).

  • Tools for user interface development in java

    Can some tools be used to develop user interface in java..like net beans or somethins..pls let me know..am new to this
    thanks

    Of course it can. Notepad can be used for UI development.

  • Very new to Java!!! HELP!!!!

    very simple, how do I set everything up in Windows XP????
    it doesn't seem to work for me!
    I tried to run javac.exe and java.exe it just goes to command prompt and then disappears!!!!!!! AHHHHHHHHHH!!! help!
    thanks

    i get the error when I run the helloworldapp
    this: C:\documents and settings\hanamachi\java stuff>
    java HelloWorldApp
    Exception in thread "main"
    java.lang.NoClassDefFoundError: HelloWorldApp
    huh???You didn't follow the directions carefully, particularly the part about setting your classpath. You can remedy this in the short term by using the following command:
    java -cp . HelloWorldAppI highly recommend you go back through the instructions, though, and follow them very carefully.

  • Very new at Java

    Hello,
    I have am new also to Java and would like to know what to download first. I want to work with databases and use java as the front end. The databases I use are MySql. I am really excited about this language because I have a Apple at home and a PC at work. By the way I have read this I can use both and not have to worry about different OS. This sounds great.

    Hi
    Welcome to Java!
    I don't know much about Macs, but for PC you need the following:
    -The JDK (Java Development Kit)
    JDK 5 is the current version (jdk 6 due before end of year).
    http://java.sun.com/javase/downloads/index.jsp
    -A Java IDE (Integrated Development Environment - in case you didn't know ;) )
    I recommend Netbeans as your IDE. Check out:
    www.netbeans.org
    It's free and runs on Mac too, assuming you have jdk5.0 for Mac. Netbeans 5.5 is the latest version (released a few days ago) and requires jdk5.0, Netbeans 5.0 requires only JDK1.4.2 if you only have on older JDK on your mac. Various plugins are available on the netbeans site too.

  • Very new in Java

    I go start my course in Java programming,but first, because i need start from the beggining i need make one module wich gonna take me around 1 nad a half month. Because i want star more soon understand about programming i bought "Java A beginner's guide. Note i never make any kind of programming in my life. I start read the book and not found any problem my problem appears when i reach the first simple program. I get the J2SE 5 and they say the program run in command prompt but my command prompt when i open always appears c:\>documents and settings>nuno blanc i just ca,t take out that .documents and settings. i try everything what i know.
    They say is well for i use Word Pad. i use the word pad and after i dont know how to run the program witch i made. If someone able to help-me please help me here or in my mail [email protected] i want start enter in programming.
    Please!
    Thank's

    I go start my course in Java programming,but first,
    because i need start from the beggining i need make
    one module wich gonna take me around 1 nad a half
    month. Because i want star more soon understand about
    programming i bought "Java A beginner's guide. Note i
    never make any kind of programming in my life. I
    start read the book and not found any problem my
    problem appears when i reach the first simple
    program. I get the J2SE 5 and they say the program
    run in command prompt but my command prompt when i
    open always appears c:\>documents and settings>nuno
    blanc i just ca,t take out that .documents and
    settings. i try everything what i know.
    They say is well for i use Word Pad. i use the word
    pad and after i dont know how to run the program
    witch i made. If someone able to help-me please help
    me here or in my mail [email protected] i want start
    enter in programming.
    Please!
    Thank'sHi,
    Unfortunately, it's fairly difficult to get Java set up on your computer and learn to run programs. You should read the tutorial, "Your first Cup of Java":
    http://java.sun.com/docs/books/tutorial/getStarted/cupojava/
    It will lead you through the steps of installing Java and running your first program.
    Because i want star more soon understand about
    programming i bought "Java A beginner's guide. I've read the 2nd edition of that book, and I thought it was a good book. I do have previous programming experience, though. I thought it was a good, short overview of Java. Other beginning books are much longer and can get pretty complicated.
    Good luck.

  • Very New To Java, Using Sun One Studio

    I am doing a small work project for a company and they would like me to do a small project using the JavaMail API and the Java One Studio.
    Now I have some experience with Java, It is installing the JavaBeansTM Activation Framework and the JavaMail API to my Classpath.
    How do I figure out what my class path is?
    Thanks Mike

    If on windows or unix, in a shell, type set.
    If on mac OS, then I don't know. Sorry.

  • Very new in Java pls help!!!!!!

    hello,
    i just started to learn java and trying to do my first program, but dont know why i cant do that! it asking me to set my PATH in sdk bin folder with jdk and i dont know how to do that, couse i install it in diferent folders! im trying to set c:\jdk1.6\bin;%PATH% but writing "environment variable c:jdk1.6\bin;C:\windows\system32;C:\windows;C:\windowasystem32\wbem;C;\program files\cyberlink\power2Go\C:\sun\SDK\bin not defined" help me please!!!

    - Right click 'my computer', select 'properties'.
    - Click the 'advanced' tab.
    - click the 'environmental variables' button
    Here you will find the PATH environmental variable, most likely under system variables. Add the path to the JDK bin directory here.
    Note: If you have a command prompt open while you are doing this, open a new one as the old one will not see the changes you make. To make sure the PATH is valid, open a command prompt and type:
    echo %PATH%

  • Very new to Java, trying to make a jar file run on WM6

    Ok so i downloaded this java progam that is supposed to work on "java-enabled" phones. So i have windows mobile 6, which is able to run java but i think its limited to the browser. when i try to run it on a virtual java machine i recieve the following error.
    java.lang.Exception: No Main-Class attribute in \My Documents\TrafficPilot.jar
    at java.lang.VMMainThread$1.run(VMMainThread.java)
    at java.lang.VMThread.run(VMThread.java:120)
    JVM exit
    what is needed to make this work? or is it even possible?

    Hi, welcome to the Sun Java forums.
    Pester the person who gave you the JAR, s/he did something wrong.
    Pass this information on to them:
    Add a MANIFEST.MF file in the JAR's META-INF directory (all names case-sensitive) and put this line in it, with two Enters after it:
    Main-Class: mypackage.MainClassName
    Though if the JAR contains an applet (which would explain why it only works in a browser), it might not have a main class.

  • Good example games for a very new game programmer

    I would very much like it if some people would post some very very (i mean very) simple games with source code. I just started programming games about two days ago. Any post would be helpful.
    Thanks.

    Well if you know java as in the syntax and stuff then check out http://www.geocities.com/jvp02/BreakOut.html ( you must type into browser) you need 1.4 to run it, and i'm pretty (yes i am) sure that the source is in the jar at: http://www.geocities.com/jvp02/downloads/breakout.jar
    have fun.

  • What are the best tools for opening very large XML files and examining the tree and confirming they are valid?

    I am generating some very large XML files (600,000+ lines, 50MB+ characters). I finally have them all being valid XML and valid UTF-8.
    But the files are so large Safari and Chrome will often not open them. FireFox will though.
    Instead of these browsers, I was wondering if there are there any other recommended apps for the Mac for opening and viewing the XML, getting an error message if they are not valid for some reason and examing the XML tree?
    I opened the file in the default app for XML which is Xcode, but that is just like opening it in a plain text editor. You can't expand/collapse the XML tree like you can with a browser, and it doesn't report errors.
    Thanks,
    Doug

    Hi Tom,
    I had not seen that list. I'll look it over.
    I'm also in touch with the developer of BBEdit (they are quite responsive) and they are willing to look at the file in question and see why it is not reporting UTF-8 errors while Chrome is.
    For now I have all the invalid characters quashed and things are working. But it would be useful in the future.
    By the by, some of those editors are quite pricey!
    doug

  • Tips or tools for handling very large file uploads and downloads?

    I am working on a site that has a document repository feature. The documents are stored as BLOBs in an Oracle database and for reasonably sized files its not problem to stream the files out directly from the database. For file uploads, I am using the Struts module to get them on disk and am then putting the blob in the database.
    We are now being asked to support very large files of 250MB+. I am concerned about problems I've heard of with HTTP not being reliable for files over 256MB. I'd also like a solution that would give the user a status bar and allow for restarts of broken uploads or downloads.
    Does anyone know of an off-the-shelf module that might help in this regard? I suspect an ActiveX control or Applet on the client side would be necessary. Freeware or Commercial software would be ok.
    Thanks in advance for any help/ideas.

    Hi. There is nothing wrong with HTTP handling 250MB+ files (per se).
    However, connections can get reset.
    Consider offering the files via FTP. Most FTP clients are good about resuming transfers.
    Or if you want to keep using HTTP, try supporting chunked encoding. Then a user can use something like 'GetRight' to auto resume HTTP downloads.
    Hope that helps,
    Peter
    http://rimuhosting.com - JBoss EJB/JSP hosting specialists

Maybe you are looking for

  • A/R and A/P Invoice Draft - Post - Status Tracking

    We post an A/R or A/P Invoice as an Draft Document using DI API, we do this for the convinience of the User to change the Tax components accordingly. Once this is done the draft document is posted as an Invoice and the draft document to be deleted. C

  • Using the same Credit Card on two different iPhones

    Wanted to know if it's possible to use the same credit card on two different iPhones. There have been times that I wished I had a card that was in my wife's possession for certain "Points Purchases" It would be so handy to share a single card on two

  • How to block manual PR

    Dear All, We are using plant level MRP and in MRP all requirement will generate like PR& Planned order but users are creating manual PR .Now my question is how to block manual PR even though  MRP PR exist in the system for particular material. Thanks

  • Content Organizer Rule - route new doc to auto created folder

    I have set up a content organizer rule and used the "Automatically create a folder for each unique value of a property:" Check box.  The folders are created properly but I now want to set up a rule that will route documents to folders that have been

  • Send current displayed browserpage/iview via link as email-attachment

    Hello, I´m new in this forum and have a question concerning an iView / page which is displayed in the browser. Can I set a link in the iView (JSP) which sends the current displayed browserpage as email-attachment? I know how to do "normal" e-mail-lin