|
The simple answer is that you can't.
Java runs an an application so it doesn't have access to the 'screen'. It is possible to share the application with another application though.
One could do something with Java but it would require writing something in another language besides Java (like C++) and then have the java app interact with the C++ code. Although I suspect in such a case the java code itself might be only a small part of the overall solution.
|
|
|
|
|
I've never done this before but maybe I might be of help if I just gave you the layout.
For the simplest, you could capture the screen into a PNG and stream it to the other party. Bitmaps are "heavy" when it comes to this. If you want to try it with me we can do it.
God's life services are free of charge.
|
|
|
|
|
chx101B wrote: and stream it to the other party.
I don't suspect that this would work for 'sharing'. Viewing perhaps. The problem is that the target computer would then need to analyze each picture to identify components, such as icons, windows, etc, before the target user could interact with it.
|
|
|
|
|
Interaction is not done on the visual level. The visual level is just feedback or presentation of what is happening underneath. You'd want to stream mouse state packets containing the mouse data(i.e, location, keys pressed etc).
|
|
|
|
|
|
You might want to start first by investigating which container (what EE runs in) you want to use.
The container should dictate which VM version you should target.
|
|
|
|
|
I am having some issues using eclipselink 2.3.2 with a foxpro database. Connecting and using the database isn't the problem. The problem is that we use another foxpro application on the same database and there are times when the other app can't update a record. The java app that uses eclipselink doesn't have a problem updating. But the only way to fix the problem in the foxpro app is to actually close the java app. So the question is, is there something that might not be obvious that I am missing that either eclipselink or jdbc:odbc does that would cause a lock on a table?
Here is the persistance.xml setup
<property name="eclipselink.target-database" value="org.eclipse.persistence.platform.database.DatabasePlatform"/>
<property name="javax.persistence.jdbc.url" value="jdbc:odbc:MyODBC"/>
<property name="javax.persistence.jdbc.password" value=""/>
<property name="javax.persistence.jdbc.driver" value="sun.jdbc.odbc.JdbcOdbcDriver"/>
<property name="javax.persistence.jdbc.user" value=""/>
The frustrating part is that we are not able to reproduce any of the errors our client is getting in-house.
Our clients are running on Java 1.7, Windows Server 2008R2 running on a Virtual Server.
Any help would be appreciated. Thanks.
|
|
|
|
|
Chad Curtis wrote: with a foxpro database
Presumably you are aware that that product is no longer supported and has been discontinued. The last support release was in 2007. So creating a migration strategy is probably going to be a good idea.
And I wouldn't be surprised if at some time in the future you will no longer be able to get a ODBC driver for it for newer windows versions (although maybe a commercial third party will supply it.)
Chad Curtis wrote: there are times when the other app can't update a record.
It would help to know exactly what that means.
|
|
|
|
|
Yes, i would love nothing more to move away from foxpro. But unfortunately we won't be able to migrate for a while. One of our main products is stuck in VFP for the foreseeable future.
|
|
|
|
|
actually sir i know it to u wat is java
|
|
|
|
|
|
|
Java is an island in the Indonesian archipelago. It is part of an island arc behind the subduction trench of the Indian Ocean underneath the Pacific plate, resulting in hydrothermal activity, vulcanism and large earthquakes. More about Java.[^]
(Really, what is it that possesses people to post nonsense questions like this?)
|
|
|
|
|
I always wondered where it was.
In answer to your secondary: well, you already know the answer.
|
|
|
|
|
Well done!
I like to mention that "JAVA" is also a slang word for coffee - I don't know if that is the cause of the extensive use, but to my point of view coffee really helps.
|
|
|
|
|
TorstenH. wrote: "JAVA" is also a slang word for coffee
IIRC that's what they named the language after.
|
|
|
|
|
Originally it was called Oak but there was a copyright conflict so it changed to Java because they drank so much.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
That's right. In between they tried to name it "Green" but then moved to the much better term JAVA.
|
|
|
|
|
Hi,
Iam new to Java.I have a requirement in my project to retrive the data from the table and display in grid format. The grid should support the below mentioned
1)Thumbli Image display
2)On Mouse Over we should zoom the Thumbli Image
3)Edit
4)Delete
5)Sorting
6)Pagination
7)Grid Searching
8)Hyperlinks(To display a Popup & To download a image from table)
Request you to help me on the same at the earlist.
Help on the above is highly apprichated.
Thanks & Regards,
Hari
|
|
|
|
|
No one is going to provide a full solution in this way, you need to start by doing your own research into the classes and Java frameworks that will help you. Start here[^] and see which of these can be of use to you.
|
|
|
|
|
How do I decide what types to make and what responsibilities to give them, given a design concept? Should I base myself on user stories/functional requirements in order to decide which responsibilities my classes need?
It's not easy to adhere to the SOLID principle.
For example I have this.. 'make a blog' assignment. I wrote down one of those functional requirements: "a blog entry has to have a title and a body". Does that mean I have to write a class Post with members Body and Title?
Should a Post (BlogEntry) class only have a body and the title is supposed to be the responsibility of another class?
Kind of confusing.
There must be a set of rules that tell programmers how to decide on which objects to make and what responsibilities and implementation to give them.
Any ideas on this?
Thanks
|
|
|
|
|
This is something that gets easier the more you practice. Start by writing down in PROPER prose what the software will do. Now take all the nouns out, they are your candidate classes.
Firstly find the items that are synonyms - blog, post, posting and entry will most likely be used to reference the same thing. Then have a look at what is left and if the items actually perform anything or if they just record a state. If all they are recording is state, then they are probably attributes rather than classes. In your case, I think you'll find the body and title are probably just attributes.
However, there is not a single way to do these things and it is an experience thing that will tell you which is best. Alas there is not really enough here for me to give you a fuller answer.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Hmm.. I learned that the method of taking out nouns and looking at verbs is incorrect. It is more abstract.
|
|
|
|
|
So your 1 semester class trumps my 25 years of experience, well done.
I said it is a starting point. With EXPERIENCE you don't need to bother and you can see the classes inherent in a system easily, but that comes with practice. Lots and lots of practice.
Panic, Chaos, Destruction. My work here is done.
Drink. Get drunk. Fall over - P O'H
OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre
I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer
Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett
|
|
|
|
|
Excuse me? I come from a university with one of the highest reputations there are. We program and work the qualitative way. This isn't one semester. It's my graduate year. I'm actually going to be an Application Developer. There's only so far you can get with 'practice' and 'experience'. Fundamental concepts and methods are far more important. That's why the top engineers get higher ranked without doing the work. Didn't you ever learn that? The tons of math and logic theory I had to process before I came to this point. The years of lectures on Software Engineering. Never underestimate the importance of scholar theory.
|
|
|
|