Can java interface with windows to do things

Good evening
I am a student and i am trying to do a project and i wanted to ask everyone here before i asked my teacher,
what i am trying to do is this . create a class that can be run from the desktop that will give me a window of option to do following things
1) install printer drivers
2) run a uninstall program
3) use keys like CTRL ALT SHIFT AND F6 to pop open windows, and is there a way that can have a password entered automatically?
4) change registry keys
5) call up reg keys
6) copy files from one computer ( laptop ) to my lab class over the network onto a specific profile?
if someone out there can just tell me weather or not Java has the capiablity of interfacing with windows control panel, or any of the above stuff let me know and just give me a push in the right direction Please.
Derek

Speaking of Java itself.
1) install printer driversNo
2) run a uninstall programNo
3) use keys like CTRL ALT SHIFT AND F6 to pop open windows, and is there a way that can have a password entered automatically?Depends what you mean but you might be able to do this using the Robot (in the awt package.)
4) change registry keysNo
5) call up reg keysNo
6) copy files from one computer ( laptop ) to my lab class over the network onto a specific profile?Depends on what you mean. Java can be used to send files to other computers. Doing that requires that you understand how the other computer (not your compute) processes are controlled.
You can of course do all of the above with windows API (not java) calls. And this is the forum about the JNI interface which allows a Java program to access native APIs, like the Windows one. It does however require quite a bit of detail work in a language besides Java, like C or C++. It is going to be easier if you have quite a bit of experience with those. If not then plan on spending a lot of time learning (factor that into how long it will take to do your project.) And of course you would need to research the APIs for all of the above.
If it matters the registry one is rather easy in terms of the windows API. And you can find many examples of C/C++ code to access it.

Similar Messages

  • Java interface with xml communication

    Hello everybody,
    For a project i need to make a java interface with xml communication.
    For example ; from 1 laptop I press on a java button and then i need to get a text message on the other laptop.
    The java interface is already created now the xml code for communication.
    I hope someone can help me how to start with the xml code.
    Are there any templates that i can use?

    I need to use XML for this, cause it is in the
    assignment.As far as communication is concerned, it doesn't matter that you are sending XML. You can send any kind of data. So first find out how to send data, then send data which is XML.
    I only want to know if its possible to send data/text
    from 1 laptop (windowsxp prof) to the other laptop
    (also windows xp prof).Provided the other laptop is running a server that can receive that data.
    Maybe its easier if I send data to a specific IP
    address?Provided there is a server running at that IP address that can receive that data. You can use an IP address to connect to a server but that has nothing to do with sending the data.
    Its important that the communication between 2 system
    is in XML language.XML is not a programming language. XML is a format for storing data. You can certainly send XML-formatted data between two computers.
    So i hope u have a solution for my problem.The solution would be for you to learn how communication between two computers works in the real world. If you have an assignment that says you have to make communication work, surely there was something taught to you before about how to do it?

  • I currently have a PC with Windows Outlook.  If I add an iPad to the mix, how does the iPad interface with Windows Outlook?

    I currently have a PC with Windows Outlook.  If I add an iPad to the mix, how does the iPad interface with Windows Outlook?

    Isn't Outlook simply an email client or a software application on a computer? You can add an email account - whatever email provider that you use - right on the iPad. You can sync your Outlook contacts and calendar if that is what you are asking about, but Outlook itself has nothing to do with the iPad.
    Message was edited by: Demo

  • I have an iTunes account set up long ago on my home pc. My pc at home is antiquated and I can't interface with my account to edit acc. Info. Now I have other devices, iPhone 4 and iPad. I need to reset email apple Id and pw from iPad. How?

    I have an iTunes account set up long ago on my home pc. My pc at home is antiquated and I can't interface with my account to edit acc. Info. Now I have other devices, iPhone 4 and iPad. I need to reset email apple Id and pw from iPad. How? Should I just create new account? Don't want to lose 1500 songs.

    Hey Frankgates!
    I have an article here that can tell you how to do this:
    Apple ID: If you forget your password
    http://support.apple.com/kb/HT5787
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • What version of firefox can I use with windows me?

    What version of Firefox can I use with windows me? Where can I get it?

    Firefox 3.0 versions and later do not work on the Windows 98/ME platform
    *http://www.mozilla.com/en-US/firefox/system-requirements.html - Mozilla Firefox 3.6 System Requirements
    Firefox 2.0.0.20 is the last release that runs on the Windows 98 and Windows ME platform.
    * https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0.0.20/win32/en-US/

  • What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?

    What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?
    a. PowerShell
    b. isql
    c. osql
    d. sqlcmd

    All questions seem to be from the interview or a test. I think I even took this test once, it's KForce test.
    For every expert, there is an equal and opposite expert. - Becker's Law
    My blog
    My TechNet articles

  • Java interface with Crystal Reports

    Post Author: [email protected]
    CA Forum: JAVA
    Hello everyone,I need to build a Java interface for JSP to interact with crystal reports.Could anyone recommend any book or forward me the url's where I can find the related material with examples. Eagerly Waiting for reply!Thanks,Prathima.

    Post Author: MJ@BOBJ
    CA Forum: JAVA
    The latest version of the Java Report Component (JRC) is available from the Diamond website.  This download is actually a plugin for Eclipse but you can still use the JRC runtime jars to use the SDK APIs in your JSP page.  You will also find lots of resources such as samples, videos, and forums to help you get started.  You can also refer to the DevLibrary for more information.

  • Iphone interface with Windows Live (Mail, Contact and Calendar)

    I use Windows Live Free Download Client for my mail, calendar and contacts. (Just did not want to pay Microsoft for Outlook).
    My iPhone does not interface with any of the above. I am not able to view my calendar or contacts on iphone. For contacts I have to go in a round about way of copying to Windows Contacts and then copying to iPhone.
    Any easy solutions available or in sight ?

    Hi, you just need to add your Windows Live Calendar as a new account.  Go to Settings/Mail, Contacts, Calendars/Add Account/Microsoft Hotmail... and then add your Windows Live account and select the option to sync your calendar.  Your Windows Live caldendar will then be viewable on your iPhone calendar (click Calendars in upper left corner to verify).  You can now edit your Windows Live calendar on your iPhone and it will update on your Windows Live desktop client, and vice versa.  Hope this helps!

  • Can I share with Windows Without storing password?

    Hello Apple Community. I purchased a Mac Mini and am running OS X 10.8.3 with OS X Server on it. I have enabled Open Directory and File sharring using both AFP and SMB so that I can communicate with both my Apple Laptop and my Windows 8 workstation. However, I am quite frustrated with the need to Share files and folders using SMB (windows) and having to keep a password there for my account and my wifes account. I was hoping that using Open Directory I could use as an LDAP server and just have windows authenticate to that. The only other option I can think of is to create a third account and use it for netwok sharing only. Is there way to share with Windows clients using Open Directory where I do not have to store the password?
    Links to articles or suggestions greatly appreciated. I use a mixed environment as there are more game options on Windows then OS X, so saying repace the Windows computer is not an option.
    Thanks in Advance.

    home sharing works between two (or more) computers on the same network. if iTunes on his machine is running, you can transfer content without needing to touch his computer.
    if you have your content on an iPod, you can repopulate a new (empty) library with the files from there. check out this post by Zevoneer.
    or, you can Download past purchases from the App Store, iBookstore, and iTunes Store (the music feature is currently available in the US only).

  • Question about mapping a JAVA Interface with Flex

    I am using Granite Data Services (Java backend) with my Flex
    client.
    The Java server has an Interface called
    public interface IService {String getServiceName();}
    The flex client makes a remote service call on the server
    POJO which returns any implementation of the specified interface.
    On the flex side I have an interface
    [Bindable]
    [RemoteClass(alias="com.*****.proxy.pojo.IService")]
    public interface IService{function getServiceName():String;}
    As shown i am binding it to the server interface.
    From the client I make a call to the server and handle the
    result as shown below
    var serviceInstance:IService =
    (remoteO.testInterface.lastResult as IService);
    Alert.show("Service Name :
    "+serviceInstance.getServiceName());
    The call reaches the server and the remote method is being
    called however the Alert is not working.
    Please Help !!

    //Start other thread closeT
    System.exit(0)
    //code for thread closeT
    //wait 10 s
    Runtime.getRuntime().halt()
    Gil

  • 1. Will CAL Licenses works if i use Windows Server 2012? 2. What GB of RAM can be used with Windows Server 2008 Standard Edition?

    I have been using Windows Server 2008 Standard Edition for my business purpose and there are at-least 30 Users who logged in into the server Via Remotely from different location. I want to upgrade my server with latest one with some extra cores and RAM for
    better and smooth operations for all users. So, i have a doubt whether my CAL Licenses will works with Windows Server 2012 or i need to purchase the new one for the same? 
    Moreover, if i don't upgrade my Windows to any 2012 edition and stay on 2008 Standard Edition how much maximum RAM can be installed at a time? is there any limitations? if Yes, please let me know how do i upgrade my Windows 2008 Standard Edition to any other
    business edition to avoid such limitations of RAM?
    Waiting for your favorable and quick response. 

    Hi again,
    th eupgrade optiuon from Standard 2008 to Enterprise 2008 was only available for customers with open value contract with activ esoftware assurance then they can purchase the step up license from Standard to Enterprise.
    the only way to have the Enterprise 2008 Edition is to make th edowngrad efrom 2012 Standard to 2008 Enterprise. it means that if you purchase the 2012 R2 Standard Edition, you may downgarde to Enterprise 2008/2008 R2. th ebest way to make the downgrade
    to 2008 R2 Enterprise is to purchase the current Version 2012 R2 Standard in volume licensing than you can download diretly from VLSC the Enterprise Edition.
    with your downgrade you can still using the 2008 CALs.
    thanks
    diramoh

  • Can not sync with windows 8

    Can not see iphone 5s with windows 8.. New computer and new phone, so  I dont know if the new phone, new computer or updated ios broke it.  Tried restarting services and deleting the temp files.  No luck.  I can see all my apple tv devices.  Thanks, Bill

    Here is the troubleshooter:
    http://support.apple.com/kb/TS1538

  • Can captivate work with windows application automate tools

    Hi,
    I am assigned a task to create demos of some web
    applications, I do not want to run the application then click and
    input manually and am willing to use some windows automate tools to
    record my action first, then capture the screen while doing
    automation playback.
    I've recorded some actions with rational robot, but the
    playback is freezed while Captivate is recording. If I stop
    Captivate recording, the automation continues flawlessly.
    So my question is whether captivate can work with windows
    automation tools, if rational robot is not the choice, can anyone
    give me some suggestions?
    Thanks very much!

    Hi, Larry,
    Rational robot is a general-purpose test automation tool (
    http://www.ibm.com/software/awdtools/tester/robot/index.html).
    It can be used to record user input (mouse clicks, keystrokes,
    etc.) and automatically plays back scripts that emulate user
    actions interacting with the GUI of applications under test.
    There are many other applications doing the same work,
    including this one which is written by myself :-) (
    http://swat.sourceforge.net).
    Using Captivate with automation tools is an ideal way to
    create application demos because the automation scripts can be
    easily created. stored and edited. Once I created an automation
    script, It can be played as many times as I want.
    My purpose is to create demos in the following steps:
    1) record user actions interacting with the GUI by an
    automation tool;
    2) edit automation scripts manually to modify something (ie.
    time interval between some actions)
    3) start captivate recording;
    4) use the automation tool to play back automation scripts
    and record the screen by Captivate
    5) edit the demo with Captivate
    6) finish
    But it seems that Captivate is incompatible with all of the
    automation tools I've tested (not only Captivate, Turbodemo,
    TechSmith Camtasia Studio are also incompatible). The automation
    playback is freezed while Captivate is recording. If I stop
    Captivate recording, the playback continues flawlessly.
    I guess it's something related to windows events processing.
    As you can figure out, the automation tools need to capture all the
    windows events generated by target applications, it looks like
    Captivate also captures some windows events of the target
    application and it prevents automation tools from receiving those
    events, so the automation playback is freezed.
    Thanks for you reply and I am looking forward for soon
    hearing from you.

  • How are Adobe products (Photoshop CS, Illustrator, etc.) going to interface with Windows 8?

    I'm already bristling at the "apps" terminology--does anybody know how professional software is going to be integrated with Windows 8? I heard a horrible rumor today that only 2 programs could be open at a time with that OS--can you imagine? Eeks! I'd like to know what Adobe is planning for this--I might just have to hop over to Apple, even though that would be a pain.

    Windows 8 still has a "Desktop", on which legacy applications like Photoshop and everything you run today in Windows 7 or earlier will still run, though Microsoft seems to be actively moving away from that metaphor.  They've made the desktop far less pretty to use, ditching all the visual styles.
    Photoshop CS6 works just fine on the Windows 8 desktop.  I've tested it.
    However, your "Eeks!" comment is quite an appropriate response to Windows 8's "Metro" environment, where the focus is on running an "app" full screen, or at best tiled with one other app sharing the screen.  The system basically has a dual personality - Metro and Desktop - and the two are NOT integrated well at all.
    You'd think Microsoft would just come out with a separate product for tablets.  What they're doing makes little sense for the half a billion or so folks using desktop computers.
    -Noel

  • Are there any third party pacakages for plant maintenance that can be interfaced with

    are there any third party plant maintenance packages that interface with OPM? does Oracle apps have a module for plant maintenance?

    I'm working for a leading Food Industry in Kuwait (The Kuwaiti Danish Dairy Co.) We have a massive implementation of OPM with 24 modules, BI tools (OSA, OFA) and Maximo (The only third party package) integrated with Oracle. OPM version is 11.0.3 on database 8.0.5. Now you have option of 11i (eAM) with POC (PM) or Maximo 5i integrated with 11i (and of course any other 3rd party solution which can be integrated with OPM).
    You can write to me on: [email protected] or call me on: +965-9650172 for details.
    All the best.

Maybe you are looking for