Screen Scraper in Java
If I have a checkbox on Line 1 and Line 2 and to the right of these I have text, is there anyway to "scrap" or get this text depending on whether the checkbox has been clicked on (visable) ?
I assume I have to have some sort of listener for this and somehow check within the listener ?
Thanks for the help, but I tried it and see the following, when my GUI comes up and this listener is invoked (via the Send button), the box is not checked, yet it still returns a true statement....I don't understand why ?..Unless my syntax is wrong and I should be checking something else ?..
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class SendButtonListener implements ActionListener
DrawGUI x;
boolean test1;
SendButtonListener(DrawGUI a)
System.out.println
("SendButtonListener Constructor...");
x = a;
public void actionPerformed(ActionEvent e)
test1 = x.chkTestbox.isSelected();
if (true)
System.out.println("True");
else
System.out.println("False");
Similar Messages
-
Anybody help me on java screen scrapping.
Svk wrote:
I am asking the best way to screen Scrapping in java !!If you want to scrap your screen, take it to an electronics recycling.
If you want to do screen scraping, you could provide some more detail about what you actually are trying to accomplish. Note: exclamation points aren't details.
I'll bet what you want to do isn't even screen scraping. It's becoming increasingly rare these days. -
I am working on a project that requires a good bit of HTML screen scaping.
I would like to read the contents of a page , post to it etc. For this purpose, I use HTTPURLConnection class.
One of the pages I would like to screen scrape, has an applet. I would like to read the contents of the applet in my java program. Could some help me get started on that?
It seems that I would need to mimick a web browser in my code. Any help is much appreciated.
ThanksWell, you wanna do something like this:
URLClassLoader loader = new URLClassLoader(...);
Applet applet = (Applet) loader.loadClass("AppletName", true).newInstance();
applet.setStub(new YourStub());
//add Applet to a component so you can see it
applet.init();
applet.start();I don't know if it works though. -
I am looking for a screen scraper software that works with Forte in the
middle tier. I've only come across a product called Expresso from
Conextions. My questions are:
1. Are there other tools out there that works well with Forte in the middle
tier ?
2. For people who've used Expresso, are there any issues/advice/comments ?
Thanks in advance.
Stuart.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>Have you looked at CNT's (formerly Apertus Technology) Enterprise
Connect product [screen scraper on steroids]?
It's been tested in a few protos and has a very scalable architecture
for UNIX, and NT platforms.
It follows the concept of mapping regions of screens and storing the
meta data to abstract away from hard-coding into application logic.
At runtime there are a number of ways to retrieve the data from
green-screens/char mode apps:
1. Use the c source code generator executables for driving the screens
2. Combine forte wrapper
3. Dispatch their web server CGI gateway in combination w/ Forte WEB
4. [Maybe] have their code gen technology create TOOL / Java service
If you want more info, let me know.
-jim
Ngai, Stuart wrote:
>
I am looking for a screen scraper software that works with Forte in the
middle tier. I've only come across a product called Expresso from
Conextions. My questions are:
1. Are there other tools out there that works well with Forte in the middle
tier ?
2. For people who've used Expresso, are there any issues/advice/comments ?
Thanks in advance.
Stuart.
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>--
Jim Rice mailto:[email protected]
Forte Software, Inc. http://www.forte.com
National Tech Services Work#: 301-721-1910
To unsubscribe, email '[email protected]' with
'unsubscribe forte-users' as the body of the message.
Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/> -
Screen scrape Oracle 9iAS web based forms
Hello Friends,
We are currently in the coding stage of a screen scraping application.But we are facing a serious problem,that might cause us to abandon this project altogather.We are supposed to screen scrape Oracle 9iAS based Oracle Forms,precisely speaking we have to trace the Msgboxes and Statusbar warnings,which are thrown at runtime during any transaction by the system.Could anyone help?
Please reply ASAP.
Thanks and Regards,
Samir P
BangaloreHi,
though this is not security related: You can use JavaBeans within a Bean Container in Oracle Forms. This allows you to add any Java you like to the Forms front end. However, you may have to dig a bit into the Forms client for this.
Frank -
Hi, I am trying to determine the current resolution om my monitor. I remember there was a function waaaaaay back when I programmed with Borland C++, which was getWidth, or getScreenWidth... how can I get the screen resolution in Java? Does anyone know?
You can get the screen dimensions using the toolkit.
Eg.
Toolkit kit = Toolkit.getDefaultToolkit();
Dimension screenSize = kit.getScreenSize();
int screenHeight = screenSize.height;
int screenWidth = screenSize.width;
The toolkit is in java.awt package.
Hope this helps
Regards
Graham Humphries -
Is anyone aware of the basic method for creating screen savers in java?
I wrote some code that displays falling matrix code in a window, but I would like to convert the graphic window into a full screen graphic installable as a screen saver.
Thanks...deAppel wrote:
Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); to get your screensize.Then how would you make it full-screen, with no frame around it? -
I would like to make a screen saver in java. But i do not find in the appropriate documentation classes.
Can you help me.
My screen saver may ask a password when the user want to exit it.1. start thread, start timer for 2 minutes. (search forum )
2. put flag variable in key listener, set true if pressed.
3. after timer goes off, check flag you created for keypress, if still false, show login. -
I would like to make a screen saver in java.
I would like to make a screen saver in java. But i do not find in the appropriate documentation classes.
Can you help me.
My screen saver may ask a password when the user want to exit it.https://jdic.dev.java.net/documentation/incubator/screensaver/
"The SaverBeans Screensaver SDK (Early Access) is a Java screensaver development kit, enabling developers to create cross-platform screensavers. The developer writes a set of Java classes along with an XML description of the screensaver settings, and uses the tools in this development kit to produce a screensaver for any Java-supported OS. The resulting screensavers behave just like a native screensaver (i.e. with preview capabilities and control over settings)."
This was found as the first result of a simple google search. You should try it sometime. -
Colour of the screen in SSHR (Java pages)
Hi All.
Please let me know how to change the colour of the screen in SSHR (Java pages)?
ThanksYou will need to create a custom cascading style sheet to do this. Pl see the App Framework Personalization Guide for 11i and 12 on how to do this.
HTH
Srini Chavali
http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115fwkpg.pdf -
How Can I Take Print Screen With in java Application
Hello Every One,
Hope U all r fine.
How can i take print screen with in java code,
Please Help me outhttp://search.java.sun.com/search/java/index.jsp?qp=&nh=10&qt=%2Btitle%3A%22print+screen%22&col=javaforums
-
Screen scraper java applet.
Can anyone help me??
Actually i have to read some data from java applet website.Reply me soonUse clearRect(x,y,w,h) method
-XL -
Screen capture in Java 1.1
I am programming an application that needs to be in Java 1.1, and I want to capture the screen client area into an Image object. I can't find how to do it. Does anyone know how to do that?
I am curious about this also.
-
Screen capture in java ?
i want to capture a Screen in java and save it as a video file now.
later i want to make like video streaming software for lan or wan.
means
any one can see what going on that pc where this Screen capture java software was installed.
so any help regarding this problem ?
i want to make a software like www.gotomeeting.com
Edited by: myharshdesigner on Dec 1, 2007 11:44 AMSo what have you done so far and where are you stuck?
See
{color:0000ff}http://catb.org/~esr/faqs/smart-questions.html
mindprod.com/jgloss/sscce.html
http://java.sun.com/docs/codeconv/html/CodeConvTOC.doc.html
http://www.codebeach.com/tutorials/screenshots-java.asp
https://aptframework.dev.java.net/gooey/screenCapture.html{color}
db -
Hello.
I am writing an application for school, when executing the application on the command line, I want to clear the screen. (CLS in DOS)
Would someone tell the format of the command to issue DOS Coomand through Java?
ThanksFJSeminario wrote:
Hello.
I am writing an application for school, when executing the application on the command line, I want to clear the screen. (CLS in DOS)
Would someone tell the format of the command to issue DOS Coomand through Java?
ThanksIf you only need to clear the screen once before running the Java program you could put the CLS and the java command in a .bat file and execute the batch file at the command line.
Maybe you are looking for
-
Failure to launch - can't publish through iweb
HELP!!!!!!! Neiter the genius bar nor the .mac support can help with the following: I'm a .mac account holder and can't seem to publish my website through iweb. Every time I hit publish, the system asks me to log in with my mac user name and password
-
AnyConnect version: 2.5.2001 Mac OS versions: 10.7.2 and 10.6.8 We used to invoke Cisco AnyConnect VPN via the Safari browser for the SSL URL and it used to work fine on Mac OS 10.6 and 10.7. Apple released a security update on 8/Nov/2011 (see: http:
-
Adapter Framework File Adapter Message on hold
Hello, we have a problem with the Adapter Framework and their the File Adapter / Messaging System. We process one HR IDOC from R/3 through XI and send it to 7 file adapters. The SXMB_MONI tells us that all messages have been processed without errors
-
JAAS-Seciruty without j_security_check
Hi, I would like to change my JAAS-based J2EE Application, so that the authentication is no more made using the standard servlet j_security_check, because I would like to get control of the login-context, for instance for logout. Is this possible ? H
-
Hi everyone! I'm having a problem with the out-box on my mail. After trying to send an email, I'm getting a message that says the mail servers are not connected and that my sent mail timed out. Inbox is working fine. Anyone experience this before?