Need some idea about evnt handler
Hi
I am developing an application, the GUI part is like yahoo messenger.
So while execution,first the mainwindow appears, from that window1 appears, from window1 window2 appears.window2 has a textfield, that takes userinput(string) by textfield.getText() method.
My requirement is: how can I use the inputted textfield string to be used as label of a button in mainwindow.
I know the technique of returning the string from window2 to mainwindow,
but don't know how to use eventhandler, sothat during runtime only the mainwindow will be updated with that button getting the string from textfield of window2
Are you willing to pay for unemployed engineer to help you with this?
Similar Messages
-
I need some idea for my last project about Java
Hi my name is suzanna from Indonesia. I have lots of interest with Java programming and I want make something about it for my last project. It's very important and I need some idea...could u give me some topic? I'm sorry if my english is very bad.thx,bye
Here's some popular ideas:
image steganography, chat client/server, spyware, client/server file transfer, forum content management/enforcement, anything with reflection, anything with communicating with an external device such as camera or modem or robot, writing your own replacement for the java.util.Calendar class, anything with custom class loaders, splitting a string into a string[]
And for an extra challenge:
dominition-based repetition, implementing a JVM which represents 'null' values internally using some other integer value than 0 -
I need some advice about the macbook pro and iPhone 5.
I took a video on my iPhone and tried to email it it said it was too big to send? So i downloaded it to my macbook pro and tried to mail it to no avail? The macbook tells me the server won't let it through other mail goes through any ideas how to resize it or what it might take to send it?I agree with LowLister, the best option for you to share the video online is to upload it to your online storage account for example : Box, Dropbox, SkyDrive (All of them provide free storage beginning from 2GB).
You can upload the files which you want to share in this online storage and then they have sharing options in which you'll will get the link of the file to be sent and send the email. You're good to go!
Tip : You can store multiple files for backup purposes. -
Need some Idea for my final year project to increase buffer size
hi...i need some idea from someone to give some idea, advice or some excersice/toturial about " how to increase buffer size" on my final year project, i have try find the solution..but it's still have problem on my oscilloscope.VI. I was design my final year project using LabVIEW 8.6 and now i state my design for someone to refer my project.
Thank You
Attachments:
Oscilloscope A.llb 166 KBDon't know if this is what you're searching for, and I don't know if there is such a function in LV 8.6, but I'm using LV 2010 and under DAQmx Pallete, you go to "Advanced Task Options", there is a function "Configure Output Buffer", in which you can configure the buffer size you want.
-
I need some information about jre 1.5 and jre 1.6.
Hello guys,
I need some information about jre 1.5 and jre 1.6.
Suppose if i have jre 1.5 customized with "additional language support" installed in my my desktop, and later on i install jre 1.6. will this jre over write all the esisting settings which was present in jre 1.5?
In short will the version upgrades disable the features of the old Version even though the old version is present in the desktop?
Thanks in advance for your answers.In <2j_j3.1889$[email protected]> =?iso-8859-1?B?VG9t4XMgU3XhcmV6?= writes:
> Hi all, I am developing an acquisition data system for biomedical
>signals and I need to transmit this data from my hardware to PC using the
>USB port. For this, I am writing a device driver for Windows 98
^^^^^^ ^^^^^^ ^^^^^^^ ^^
That's not a trivial step. I would write a small C/C++ program that
exercises your driver (for robustness) just to be sure it's working
right first without crashing your system.
>The problem is that I don't know to use this driver in LabView.
>For now, I think to use a "code interface node" with code writen in C or a
>"call library function" with a DLL.
That's correct. _After_ you got your C/C
++ test program (and USB
driver) above working, then you can convert this little test program
into a DLL or CIN, which can interface with LabView. A DLL might be
easier (slightly) to write, but the CIN will work faster with LabView
and can be designed to be reentrant. The Code Interface Reference
Manual should guide you. Remember, this is a task for an _experienced_
C programmer. You'll need to use handles to pointers into all your
dynamic arrays and such passed into LabView.
After you got your CIN or DLL written, you can use a special CIN
function node to "link" (or bind) your CIN object into LabView's VI
diagram.
SOME THOUGHTS:
There are many hardware devices already on the market today that come
with Windows 98 drivers and DLL (or even CIN) libraries that would work
immediately with LabView. Why don't you save yourself three months of
work and simply buy one of these?
/\ Mark M Mehl, alias Superticker (Supertickler to some)
<><> Internet: [email protected]
\/ Preferred
UUCP: uunet!iastate.edu!mehl
Disclaimer: You got to be kidding; who would want to claim anything I said? -
I do not know if this is the right place to ask for but i need some ideas and help.I need to work on a project to develop a Web Service, that receives data from 2 remote machines at different places , compare them and then return the result to first one.I am not a good java programmer so could anybody tell me please which part of the Java i must learn and what areother topics i must know.
thanksWell I would say:
Java Server Pages + Struts
and maybe even
J2EEJSP/Struts are probably unnecessary for this project. Other J2EE (a superset of JSP/Struts) may be overkill as well, depending your needs. I'd recommend starting here:
The Java™ Tutorial - Lesson: All About Sockets
Sockets programming in Java: A tutorial
If, however, you're "not a good Java programmer", network programming may be a bit challenging, and you may want to start at a lower level of difficulty before diving in. To that end, I recommend the following resources:
The Java™ Tutorial - A practical guide for programmers
Essentials, Part 1, Lesson 1: Compiling & Running a Simple Program
New to Java Center
How To Think Like A Computer Scientist
Introduction to Computer Science using Java
The Java Developers Almanac 1.4
JavaRanch: a friendly place for Java greenhorns
jGuru
Bruce Eckel's Thinking in Java
Joshua Bloch's Effective Java
Bert Bates and Kathy Sierra's Head First Java -
I need some information about File Download & File Upload
Hi All,
Can any one help me on this, I need some information about File Download & File Upload.
I read tutorial abt file upload and download but some of methods in tutorial are deprecated so i need clear information abt File upload and Download, if possible Code examples.
Thanks
Ragards
Ravi GollaHi Ravi
Check out thses links for examples:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71
/docs/DOC-8661#22 [original link is broken]
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/202a850a-58e0-2910-eeb3-bfc3e081257f
Otherwise you can simply follow this code for file download
Use the code like this.
1) Create the button and bind the action for it.
2)then write this code in the action.
3) do not write any thing in the init method.
try {
final byte[] content = this.getByteArrayFromResourcePath("C:
xyz.properties");
final IWDCachedWebResource resource = WDWebResource.getWebResource(content, WDWebResourceType.UNKNOWN);
try {
final IWDWindow window = wdComponentAPI.getWindowManager().createExternalWindow(resource.getAbsoluteURL(), "WD_Filedownload", false);
window.open();
catch(Exception e)
wdComponentAPI.getMessageManager().reportException(new WDNonFatalException(e), false);
5) writr the method getByteArrayFromResourcePath
//@@begin others
private byte[] getByteArrayFromResourcePath(String resourcePath)
throws FileNotFoundException, IOException {
FileInputStream in = new FileInputStream(new File(resourcePath));
ByteArrayOutputStream out = new ByteArrayOutputStream();
int len;
byte[] part = new byte[10 * 1024];
while ((len = in.read(part)) != -1) {
out.write(part, 0, len);
in.close();
return out.toByteArray();
//end
Similarly for file upload
Similarly for upload in to server path also do the same
IWDAttributeInfo attInfo =
wdContext.getNodeInfo().getAttribute("upload");
binaryType =
(IWDModifiableBinaryType) attInfo.getModifiableSimpleType();
uploadedName = binaryType.getFileName();
File filename =new File("
<server name>
<folder name>
"+uploadedName ); );
try {
FileOutputStream out = new FileOutputStream(filename);
out.write(b);
out.close();
} catch (FileNotFoundException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace(); -
I need some resources about flash effects
Hello,everybody,I'think I need some resources about flash effects.
Hope someone can provide me some useful site about this.thanks!!> Its taking a lot of space in my HDD, like i mentioned earlier i was trying to edit a 6 second intro and it took 20GB on my HDD. What the hell is that... Is that normal???
See this:
FAQ: Why is my output file huge, and why doesn't it play back smoothly in a media player?
Start here to learn After Effects:
http://adobe.ly/AE_basics
As the others have said, your computer barely meets the minimum system requirements, so you'll need to be patient and organized when working with video software like After Effects. Rick gave some good advice along these lines. Here is more: http://adobe.ly/eV2zE7 -
To get some idea about central instance, dialog instance, load balancer etc
Hi,
I want to get some idea about central instance, dialog instance, load balancer, cluster nodes etc.
can any one help with some links or blogs or docs.
Thanks
JhansiHi jhansi
Follow this pdf this will answer all your questions
http://help.sap.com/search/highlightContent.jsp
also this is a very good book on ABAP which contains answer of your all questions
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Thanks
Sandeep
PS: if helpful kindly reward points -
Hello please i need some information about the blackberr...
hello please i need some information about the blackberry instant messenger is how does it work , i heard that i send messages for free from a blackberry to a blackberry is it true ? does it need internet ? and does it matter if the other phone is in another country'
thank you alotHello,
Here is a page with much information about BBM:
http://na.blackberry.com/eng/devices/features/im/blackberry_messenger.jsp
Hope that helps! If not, Please come to:
http://supportforums.blackberry.com/rim/
and register an account. Then post to the applicable forum.
Thanks!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
I need some info about the Document Class.
Hi,
I need some information about the Document Class, can anybody
tell me where I can find it.
thanksEmad Zedan,
> I need some information about the Document Class, can
> anybody tell me where I can find it.
The concept of the document class was introduced in Flash
CS3. What it
does is allow you to optionally associate a custom AS3 class
with your FLA
in the Flash authoring tool. Your document class effectively
*becomes* the
main timeline. This is your chance to influence the
underlying behavior of
the MovieClip or Sprite instance that serves as the
foundation for your SWF.
If you don't associate a custom document class with your
FLA, the FLA is
associated automatically with a default document class called
MainTimeline,
which extends MovieClip.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Give some idea about sql tracer
hi ,
guru.
please give some idea about exactly what is the use of sql tracer.
thank u.
subhaHi,
Worth to click below links,
http://help.sap.com/saphelp_erp2005/helpdata/en/d1/801f89454211d189710000e8322d00/content.htm
Re: Runtime Analysis vs SQL Trace
http://www.sapbrain.com/TOOLS/SQLTRACE/SQL_TRACE.html
Urgent : How to do the SQL trace analysis
http://www.sapdevelopment.co.uk/perform/perform_sqltrace.htm
Regards,
Suresh -
Need some info about getting started with the GE70 2PC Apache
Hi guys!
I'm about to getting the new GE70 2PC Apache gaming notebook from MSI and since I'm really putting alot of money in this I really wanna handle it gently :p So I got some questions about this, since It'll be the first time I'd but a gaming notebook.
1) 1st of all, what do I do when I've first started the laptop? Do I place in the CD and install all the newest drivers from that CD? Afterwards install an anti virus and then I should be good to go?
2) I heard the Haswell i7 processors from Intel produce a hell of a lot heat. When I turn on turbo fan and turbo boost and I reach temperatures of around 90°C, would it harm the hardware of my laptop? Could any damage take place? Or would my processor/graphic card have a shorter life expectancy?
3) The graphic card would be the GTX 850m. Now I'm wondering, is on this particular laptop -> (MSI-ge70-2pc-019be-apache-azerty), is the graphic card the DDR3 version or the GDDR5 version? Because I heard even the GTX 765m can outperform the 850m DDR3. But I also heard that the GDDR5 version of this graphic card is noticeably better than the 765M graphic card.
4)Is it wise to keep the processor going on turbo boost (3,4 Ghz) forever?
5) Will I have internet problems? I heard alot of people having internet problems with the killer lan drivers lately..
6) What laptop do you think I should pick in overall? The 2PC Apache version or the GE70 2OE version (the one without SSD) ?
8) My Brother has the GE70 2OE which has the 765m graphics card, but he only has around 60 fps when he's playing League Of Legends, and LoL isn't the most demanding game right.. The FPS sometimes even drops to 40 (even when he's ALONE with no one around him). It feels like his FPS is capped at 60? Because most of the time it's just 60. But when I look at the settings I saw the FPS is uncapped.. I believe with this graphics card he must atleast achieve a constant 70-80 fps on this game right? Might something be wrong in the settings of the graphics card?
7) Is there anything I should know before I start gaming on this laptop? (something I should do to have best performance or something..?)
GrtzWell...
1. When you get the laptop, use MSI Burn Recovery and make the backup disks (I prefer DVD's myself...). This way if something happens, you can reinstall all the software like you just bought it.
2. Haswell does produce quite a bit of heat. As long as you don't get much higher than 90C you should be ok. If you're getting into the high 90's or even 100C range, you probably need to replace the heatsink compound. MSI has had a number of issues with that aspect on notebooks. It is easily done though.
3. The only way to really answer that question is probably to contact MSI about it. >>How to contact MSI.<<
4. Turbo boost isn't really user controlled. I wouldn't worry about it.
5. You might have issues. I'm honestly not too sure. I know most people haven't had issues recently, but that's all relative. The drivers seem to be working rather well right now to be honest.
6. Depends what you want and what is available. Maybe the GE70 20E + buy an SSD will be cheaper than just buying the Apache version. I don't really know, but you could always look into it.
8. The 765M is a decent card....but remember, it's NOT the same as a 760 on a desktop. It's roughly equivalent to a 750 in the desktop world. That's not a bad card by any means, but you aren't going to be able to get 60+ FPS at 1920x1080 in many games. LOL is rather demanding as a game though to be perfectly honest. (throwing my personal opinion in on this, I always buy the highest end item I can in this case, because you won't be able to get any better really in the end until the next laptop comes out).
7. I would setup all your games in the NVidia control panel to use the NVidia high performance graphics processor. That way there is no confusion and it will use the right video card.
You don't really need to update drivers UNLESS you're having an issue (like BSoD's or game freezes or something similar).
The MSI customer service in the EU really seems to be hit or miss. Some people seem to get good service, some people get really crappy service. I'm honestly not sure what the problem is over there. =/ -
I need some information about drivers
Hi all, I am developing an acquisition data system for biomedical
signals and I need to transmit this data from my hardware to PC using the
USB port. For this, I am writing a device driver for Windows 98 that receive
data and put it in a memory buffer. I have a VI which graphs this data in
LabView 5.0. The problem is that I don´t know to use this driver in LabView.
For now, I think to use a "code interface node" with code writen in C or a
"call library function" with a DLL. But I need some help with the "code
interface node" because this VI don´t use a .c file. Shortly, I apreciate
some help with this VI or some idea for use the USB port in LabView. Thanks.
TomásIn <2j_j3.1889$[email protected]> =?iso-8859-1?B?VG9t4XMgU3XhcmV6?= writes:
> Hi all, I am developing an acquisition data system for biomedical
>signals and I need to transmit this data from my hardware to PC using the
>USB port. For this, I am writing a device driver for Windows 98
^^^^^^ ^^^^^^ ^^^^^^^ ^^
That's not a trivial step. I would write a small C/C++ program that
exercises your driver (for robustness) just to be sure it's working
right first without crashing your system.
>The problem is that I don't know to use this driver in LabView.
>For now, I think to use a "code interface node" with code writen in C or a
>"call library function" with a DLL.
That's correct. _After_ you got your C/C
++ test program (and USB
driver) above working, then you can convert this little test program
into a DLL or CIN, which can interface with LabView. A DLL might be
easier (slightly) to write, but the CIN will work faster with LabView
and can be designed to be reentrant. The Code Interface Reference
Manual should guide you. Remember, this is a task for an _experienced_
C programmer. You'll need to use handles to pointers into all your
dynamic arrays and such passed into LabView.
After you got your CIN or DLL written, you can use a special CIN
function node to "link" (or bind) your CIN object into LabView's VI
diagram.
SOME THOUGHTS:
There are many hardware devices already on the market today that come
with Windows 98 drivers and DLL (or even CIN) libraries that would work
immediately with LabView. Why don't you save yourself three months of
work and simply buy one of these?
/\ Mark M Mehl, alias Superticker (Supertickler to some)
<><> Internet: [email protected]
\/ Preferred
UUCP: uunet!iastate.edu!mehl
Disclaimer: You got to be kidding; who would want to claim anything I said? -
I would appreciate any suggestions or ideas as to any additional features I could possibly implement in my program. This is part of my final year degree project.
The program is intended to be an OO Documentation Tool and its main function is to convert Java source code to UML Class diagrams.
The UML Class diagram will include Inheritance and Associations.
Other features that I have decided to implement are:
- Facility to generate custom HTML documentation ( tables listing the variables, methods (including parameter details, visibility etc) etc for each class). I have also managed to convert the java source code into HTML, with colored keywords etc.
- facility to view the source code of each java class in the main program, alongside the diagram.
- facility to save the uml class diagram as a GIF and JPEG image file.
That's just about it at the moment, I'm scratching my head trying to think of other possible ideas.
One idea I have thought about is possibly extending the system to cater for C++ classes but I think that might turn out to be a little over ambitious.
Please please give me some ideas, I need them.. :)
PS. Can someone suggest me a good name for this program?
I was thinking of calling it VisualJ or ModelJ but I notice there are already existing programs with this name.
The best nomination for the program name will get a star prize. :) 10 DD points.design pattern identification.. hmm, I'll have to read up on that.
jUMbLe , that sounds good..
Please keep the ideas coming, folks. :)
Much appreciated,
Regards,
Tony.
Maybe you are looking for
-
I have two desktop macs, a macbook air, two iPads, and two iPhones. I have one Apple account that I use for all music - including music my college aged kids download. My problem is that I would like to get all the music into one library, delete the
-
How can I configure one of the gateway NI9792 Ethernet port to communicate with a cRIO PAC ?
Hi NI Engineers, I intend to use my gateway NI9792 the following way: 1. One Ethernet port for network connection. That's how I'll develop it, download software and monitor my application through my PC at my desk. 2. Can the other port be used to com
-
Problems with the delivery of my ipod
On Jan 29, 2013 I took mi ipod nano 6th generation to an Apple Store here in my city, Valencia, Venezuela since I had some issues with the bottom home. They told me it was on warranty and they sent an order to Apple in Miami to replace my ipod for a
-
Once a day, Firefox Update 3.6.12 wants to install and "Restart Firefox". I have now installed it multiple times and the update keeps on appearing. How do I get this to stop?
-
I look at my iTunes sync front page and see that I have 1.19 GB dedicated to songs and 1.21 GB dedicated to "other." Exactly what is "other" and how do I get rid of those files? It's eating up all my space. Even though my phone is 8 GB, I still don't