Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #21897 > unrolled thread
| Started by | Patrick Rutledge <patrickrutledge47@gmail.com> |
|---|---|
| First post | 2013-01-30 18:27 -0800 |
| Last post | 2013-01-31 14:11 -0800 |
| Articles | 9 — 7 participants |
Back to article view | Back to comp.lang.java.programmer
Getting an html file from a online html document and converting it back to code. Patrick Rutledge <patrickrutledge47@gmail.com> - 2013-01-30 18:27 -0800
Re: Getting an html file from a online html document and converting it back to code. Lew <lewbloch@gmail.com> - 2013-01-30 19:10 -0800
Re: Getting an html file from a online html document and converting it back to code. Jim Gibson <jimsgibson@gmail.com> - 2013-01-31 10:51 -0800
Re: Getting an html file from a online html document and converting it back to code. "John B. Matthews" <nospam@nospam.invalid> - 2013-01-31 17:00 -0500
Re: Getting an html file from a online html document and converting it back to code. Roedy Green <see_website@mindprod.com.invalid> - 2013-01-31 04:18 -0800
Re: Getting an html file from a online html document and converting it back to code. Patrick Rutledge <patrickrutledge47@gmail.com> - 2013-01-31 10:47 -0800
Re: Getting an html file from a online html document and converting it back to code. lipska the kat <"nospam at neversurrender dot co dot uk"> - 2013-01-31 19:06 +0000
Re: Getting an html file from a online html document and converting it back to code. FredK <fred.l.kleinschmidt@gmail.com> - 2013-01-31 11:10 -0800
Re: Getting an html file from a online html document and converting it back to code. Roedy Green <see_website@mindprod.com.invalid> - 2013-01-31 14:11 -0800
| From | Patrick Rutledge <patrickrutledge47@gmail.com> |
|---|---|
| Date | 2013-01-30 18:27 -0800 |
| Subject | Getting an html file from a online html document and converting it back to code. |
| Message-ID | <cc234760-dc9e-4cec-8100-1bf52a537092@googlegroups.com> |
Hi there, I'm taking an object oriented programming class and my professor assigned an assignment in which the skeleton is given in an online html document. We are using the BlueJ IDE. I am not sure how to get the code from the html document online. Any help would be appreciated.
[toc] | [next] | [standalone]
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Date | 2013-01-30 19:10 -0800 |
| Message-ID | <579ddd6c-7797-4114-831b-c62713785267@googlegroups.com> |
| In reply to | #21897 |
On Wednesday, January 30, 2013 6:27:48 PM UTC-8, Patrick Rutledge wrote:
> I'm taking an object oriented programming class and my professor assigned an assignment
> in which the skeleton is given in an online html document.>
>
> We are using the BlueJ IDE.
>
> I am not sure how to get the code from the html document online.
Open your editor or IDE editor window.
Create an editor window for your code.
Open the assignment document in a browser.
Using your mouse or keyboard (shift+arrows), in the browser window
highlight the code you want to paste into your editor.
Press Control-C ("apple"-C on Macs), or use the context menu and select "Copy".
This will copy the text into your system clipboard.
Click into your editor window.
Press Control-V ("apple"-V on Macs), or use the context menu and select "Paste".
The code is now in your editor window.
Use your editor's "Save" feature.
--
Lew
[toc] | [prev] | [next] | [standalone]
| From | Jim Gibson <jimsgibson@gmail.com> |
|---|---|
| Date | 2013-01-31 10:51 -0800 |
| Message-ID | <310120131051247563%jimsgibson@gmail.com> |
| In reply to | #21905 |
In article <579ddd6c-7797-4114-831b-c62713785267@googlegroups.com>, Lew
<lewbloch@gmail.com> wrote:
> Press Control-C ("apple"-C on Macs), or use the context menu and select
> "Copy".
> This will copy the text into your system clipboard.
>
> Click into your editor window.
>
> Press Control-V ("apple"-V on Macs), or use the context menu and select
> "Paste".
It is now generally called the "Command" key (?, U+2318, clover-leaf,
or "splat" symbol) on Apple keyboards. No more Apple key.
--
Jim Gibson
[toc] | [prev] | [next] | [standalone]
| From | "John B. Matthews" <nospam@nospam.invalid> |
|---|---|
| Date | 2013-01-31 17:00 -0500 |
| Message-ID | <nospam-823410.17005431012013@news.aioe.org> |
| In reply to | #21936 |
In article <310120131051247563%jimsgibson@gmail.com>,
Jim Gibson <jimsgibson@gmail.com> wrote:
> In article <579ddd6c-7797-4114-831b-c62713785267@googlegroups.com>, Lew
> <lewbloch@gmail.com> wrote:
>
> > Press Control-C ("apple"-C on Macs), or use the context menu
> > and select "Copy". This will copy the text into your system
> > clipboard.
> >
> > Click into your editor window.
> >
> > Press Control-V ("apple"-V on Macs), or use the context menu
> > and select "Paste".
>
> It is now generally called the "Command" key (?, U+2318, clover-
> leaf, or "splat" symbol) on Apple keyboards. No more Apple key.
In Java, the Toolkit method, getMenuShortcutKeyMask(), returns
Event.META_MASK on Mac OS X; it returns Event.CTRL_MASK on Windows
and Linux.
The Unicode code point U+2318 is named 'PLACE OF INTEREST SIGN':
<http://www.fileformat.info/info/unicode/char/2318/index.htm>
More than a few locals call it "pretzel", as in "Try pretzel-
option-8 to zoom in," but I can see the appeal of "splat."
My old, full-travel, mechanical Apple keyboard has an apple and a
splat on each meta key.
--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-01-31 04:18 -0800 |
| Message-ID | <66okg85m3ju9btlaeoorvkj161qglk71fq@4ax.com> |
| In reply to | #21897 |
On Wed, 30 Jan 2013 18:27:48 -0800 (PST), Patrick Rutledge <patrickrutledge47@gmail.com> wrote, quoted or indirectly quoted someone who said : >I am not sure how to get the code from the html document online. you can look at the code in a browser, then copy paste it into your IDE and save it in a *.java file. -- Roedy Green Canadian Mind Products http://mindprod.com The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time. ~ Tom Cargill Ninety-ninety Law
[toc] | [prev] | [next] | [standalone]
| From | Patrick Rutledge <patrickrutledge47@gmail.com> |
|---|---|
| Date | 2013-01-31 10:47 -0800 |
| Message-ID | <bfddb23c-55a8-4ad1-a106-3b5e231c28d9@googlegroups.com> |
| In reply to | #21897 |
The code supplied is not simply code, it is in the form of documentation(I think that is the right term). It appears in the form represented in the linked image. http://www.time-tripper.com/uipatterns/Patterns/Titled_Sections/javadoc.gif
[toc] | [prev] | [next] | [standalone]
| From | lipska the kat <"nospam at neversurrender dot co dot uk"> |
|---|---|
| Date | 2013-01-31 19:06 +0000 |
| Message-ID | <58qdnRpwUOozXZfMnZ2dnUVZ8iKdnZ2d@bt.com> |
| In reply to | #21934 |
On 31/01/13 18:47, Patrick Rutledge wrote: > The code supplied is not simply code, it is in the form of documentation(I think that is the right term). It appears in the form represented in the linked image. > http://www.time-tripper.com/uipatterns/Patterns/Titled_Sections/javadoc.gif This isn't Java code, it's an image of section of the Java API documentation. It looks like a resource from a site discussing UI development. I think you may have the wrong URL. AFAIK you can't extract Java code from a gif image :-) What *exactly* did your professor ask you to do ? lipska -- Lipska the Kat©: Troll hunter, sandbox destroyer and farscape dreamer of Aeryn Sun
[toc] | [prev] | [next] | [standalone]
| From | FredK <fred.l.kleinschmidt@gmail.com> |
|---|---|
| Date | 2013-01-31 11:10 -0800 |
| Message-ID | <f48261e7-9f5b-4966-b4c3-cdd80eb88adb@googlegroups.com> |
| In reply to | #21934 |
On Thursday, January 31, 2013 10:47:18 AM UTC-8, Patrick wrote: > The code supplied is not simply code, it is in the form of documentation(I think that is the right term). It appears in the form represented in the linked image. http://www.time-tripper.com/uipatterns/Patterns/Titled_Sections/javadoc.gif Your professor has given you the API; it is your task to write the code
[toc] | [prev] | [next] | [standalone]
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2013-01-31 14:11 -0800 |
| Message-ID | <5sqlg8hq027otdigtrf58uvvs3t894e45d@4ax.com> |
| In reply to | #21934 |
On Thu, 31 Jan 2013 10:47:18 -0800 (PST), Patrick Rutledge <patrickrutledge47@gmail.com> wrote, quoted or indirectly quoted someone who said : >http://www.time-tripper.com/uipatterns/Patterns/Titled_Sections/javadoc.gif that looks like Javadoc. It is not code but detailed documentation on how to use some class. You still need a jar or the *.java files before your code can use those described methods. -- Roedy Green Canadian Mind Products http://mindprod.com The first 90% of the code accounts for the first 90% of the development time. The remaining 10% of the code accounts for the other 90% of the development time. ~ Tom Cargill Ninety-ninety Law
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.programmer
csiph-web