How to take input in one frame and display it in other frame of same page?
I need to take input (text) for the comment field in one of the frames and when submit button is pressed it should be displayed in the other frame on the same page.
I am able to get the input from the user but its not reflected in the other frame which basically is a table...............so let me know if you guys have any suggestions
I used following code
<form name="input" action="<%= base_url %>/index.jsp?yr=<%= y %>&mon=<%= m %>&day=<%= d %>" method="post">
Comment:
<input type="text" name="comment" size="20"/>
The trick is to define paintComponent to all applicable panels and pass the Graphics parameter to a separate method which does the drawing for you.
class Component1 extends JPanel
//blah blah blah - put your code here
public void paintComponent(Graphics g)
//insert setup functions here
paintStuff(g);
//more arbitary code
public void paintStuff(Graphics g)
//do your drawing here
}And you would usually want to separate your UI components from the drawing so it doesn't intefere with the client's perception of the program. In other words, don't draw on the content pane, draw on a custom panel and add it to an appropriate part of the content pane.
Stephen
Similar Messages
-
hi-i need help- when i try to print a cd jewel case insert(i did this many times)the songs side will print out on top of each other like one big glob-and the other half the photo of album comes out correct-i thought it was my old printer so of course got a new one-still does the same crap-help me
I believe that insufficient RAM may be the source of some of your problems. If you have a RAM of somewhere 4 to 8GB, you will experience smoother computing. 3GB doesn't seem right, so you might want to learn more by going to this site:
http://www.crucial.com/store/drammemory.aspx
I don't know what know what's happening with your optical drive, but it seems you use your drive quite a bit. In that case, look into a lens cleaner for your machine. It's inexpensive, works quite well.
I hope you'll post here with your results! -
I have an extensive aperture library on my computer's hard drive and I want to break it up into separate smaller libraries on external hard drives. How do I take projects from one library and add them to another one?
Coastal,
Frank gave you the exact answer to your question.
However, I would like to ask if you are indeed asking the right question. Do you really want different libraries? The implications are that you have to "switch" libraries to see what's in the others, and so that your searches don't work across all of your pictures? If so, then you asked the right question. If not, you may be more interested in relocating your masters to multiple hard drives so your library gets smaller, instead of breaking up the library.
nathan -
How do you take pictures from one library and put in another library??
How do you take pictures from one library and put in another library??
Options:
1. Export from iPhoto A to the Finder, then import to iPhoto B
This gets the photo over, but no versions, no edit history and not all the metadata
2. Use iPhoto Library Manager
This gets everything: versions, edit history and all the metadata.
Regards
TD -
How can i take photoshop off one computer and put it on another
How can I take photoshop off one couputer and put it on another?
Hi Beth, welcome to the discussions!
Might be a good idea to also post over in the iPhoto forum if you haven't tried this yet as this is a common topic on their boards.
You may be able to get your iPhoto library back by rebuilding it. I've done it, but's it's been a long time, so don't want to mislead you on anything. The guys over in the iPhoto forum are real experts and should have some fixes for you. -
I had a MobileMe account and when Apple switched to iCloud I now have two mail accounts: @mac and @me. Additionally my folders in iCloud no longer show up in my Mail program on my iMac. How do I return to one account and see my iCloud folders on my mac?
I went to Notes. Showed all notes. Three notes are duplicated, one on iCloud and one on Icloud. I deleted one of the notes and checked to see if the other still existed. It did. I deleted the other two notes. I check all notes and found that the three notes were deleted on both accounts. The only notes on this device are under On My iPad.
I went into system settings and tried to delete the Icloud account. The warning comes up: This will delete all IMAP notes on your device. Will this also delete the notes in On My iPad? -
I have an iPod Video. (30GB 5th gen) The headphone jack only works if I push the headphone cable input to one side and hold it t here. If I leave it alone it either doesnt play at all or I hear a crackling sound. Any suggestions? Thanks.
There are threads ongoing on similar topics. This is not a suitable topic for this forum.
I will pass on any comments from the other threads and original post in this one, but I'm closing this topic and any further petitions like this as it will just result in "Creative-bashing" and unproducti've comments.
Cat -
How to take flash archive zoned system and how to deployee from jumpstart s
Hi All
How to take flash archive zoned system and that flash archive how to deployee from Jumpstart server
please help me in this,it is very urgent for me
Thanks
Muraliwhen you've created the flar image just setup the jumpstart server accordingly
1) create a profile for a flash installation
install_type flash_install
archive_location nfs js1:/data/server.flar
partitioning explicit
filesys c0t0d0s0 2000 /
filesys c0t0d0s3 6000 /usr
filesys c0t0d0s4 2000 /var
filesys c0t0d0s5 2000 /export/home
filesys c0t0d0s6 520000 /export/zones
2) create the jumpstart client just as you would normally
3) jumpstart the server
As far as i know this should work -
I have an iphone and a New ipad. When I set up my ipad, I had already had my iphone backed up on iCloud. I didn't however, use the backup to set up the iPad, so some of the apps don't have the same data on both devices. This is mostly fine with me. I was able to sync my games so that I can play the games on both devices and not lose any data or progress in the game. There is only one game that I haven't been able to get onto the ipad with the progress that I have made, even though it's been backed up on the iCloud. Now both devices are being backed up on the iCloud. Some information is shared between them, some not. I have no idea why it's arbitrary which info is shared. But I would like to get the one game (and perhaps a few other apps) to sync between the devices. Is there a way to do this by targeting specific apps and their respective data?
The game that we are playing is called Swordigo ... A Zelda type game just FYI. When I installed the app I went into the Settings>Swordigo>sync saves to iCloud>On. That set it up to sync up to three different saves in iCloud because that is what this game offers.
Then my daughter downloaded the app to her iPad ( the original one that I gave her when I upgraded to the new one). We share an Apple ID for purchases.
When either of us launches the game on our iPads - the option to start from either save is already available in the game. The game supports this. Not all games will support it but you make it sound like your game does sync saves to iCloud.
There is a difference between saving data to iCloud and syncing game saves. The beauty of the syncing of saves is that I could download this game to my iPod touch as well and still pick up my "saved" game from iCloud, -
How export a report in Excel where show Page Header in one sheet and the Body in other sheet?
Hi,
I need help!, because I need export a report in Excel where the Page Header shows in one sheet and the Body in other sheet. I have SQL 2008 R2, is it possible?
Thanks a lot for your answers.
Sukey Nakasima
Sukey NakasimaHi Sukey,
If I understand correctly, you hope the Page Header shows in one sheet, the body and hidden page headers in another sheet when exports a report to Excel. To achieve this goal, we can put page header content into a rectangle, then set the visibility of rectangle
using expressions. For more details, please refer to the following steps:
1. Add a rectangle to the page header, then drag the page header content into it.
2. Click the rectangle, in the Properties window, click Visibility, in the Hidden text box, click Expression, type the following expression:
=IIf(Globals!RenderFormat.Name="EXCEL" and Globals!PageNumber <>1,true,false)
3. In the Report Body, right click the Table Header row of the first tablix and select Tablix Properties, check Add a page break before check box.
4. Click the tablix, in the Properties window, click PageBreak, in the Disabled text box, click Expression, type the following expression:
=IIf(Globals!RenderFormat.Name="EXCEL",TRUE,FALSE)
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu -
In private browsing not working in Firefox 3.6.12 If I open yahoomail one session for one account and if I open other session for yahoomail, it automatically opens the earlier mail account. But if I want to use more than one yahoomail accounts, in private browsing is not working. Please suggest.
That problem isn't related to Private Browsing specifically, that's how Firefox works with regards to multiple "sessions" with the same server - only one logon is allowed at any time. Try using one of these extensions to be able to run multiple session cookies.
Multifox: <br />
http://br.mozdev.org/multifox/ <br />
Cookie Swap extension: <br />
https://addons.mozilla.org/firefox/3255/ <br />
Cookie Pie extension: <br />
http://www.nektra.com/oss/firefox/extensions/cookiepie/ -
Payment to one vendor and charge TDS for other no.of vendors against same invoice
Is it possible to book invoice and payment to one vendor and charge TDS for other 3-4 vendors against same invoice.
Is there any config require and any such process exist?Hi,
Please go through the following process and see whether it suffice your requirement
1. Create Vendor Invoice.
2. Go to transaction code F-53
Click on
Click on
Click on
Click on Document - Simulate
If entry is found O.K. Click on
Hope, this solves your issue else revert.
Regards,
Tejas -
trying to find out which adapter to buy which has 30pin socket on one end and lightening plug on other - any help really valued - thanks
Many thanks - I was typing in the wrong keywords - fr your time and trouble.
Dave -
My I Phone 4 keeps putting me on hold or mute or hanging up on me from my face touching the screen. returned one phone and now my replacement is doing the same thing. this is crazy. my iphone 3 didn't do this! the screen is suppose to turn black when it is near my ear so that you can not do this and then turn on again when you pull it away. This phone is not doing this.
Are you using a case around your phone? If yes, did you make sure the proximity sensor is not covered?
Try without the cover to make sure the sensor is working.
A protection film on your screen can also cover the sensor and result in a dysfunction of the sensor. -
Hide and Display submit button on the Simple search page.
Heading 1: h1 Hide and Display submit button on the Simple search page.
I'm trying to set the enabled property of the submit button on the simple search page. The business case is to disable the button if the VO has not returned any rows.
The Submit button is on the page button bar.
regards
AbhiHi,
I have already added this in my ProcessRequest, the issue I am facing is it the submit button is disabled while I load >the page which is fine. but when I do a search and the query returns rows still the submit button is disabled.---Will nt reuired SPEL here..
---On go button click setsession value.
Follow below steps:
CO PR:*
OASubmitButtonBean continueBtn=(OASubmitButtonBean)flowLayout.findChildRecursive("continueBtn");
if(continueBtn != null && "D".equals(oapagecontext.getSessionValue("Flag"))
continueBtn.setDisabled(false);
else if(continueBtn != null )
continueBtn.setDisabled(true);
CO PFR:_
if(pageContext.getParameter("Go") != null)
oapagecontext.putSessionValue("Flag","D");
Regards
Meher Irk
Edited by: Meher Irk on Mar 22, 2011 7:48 PM
Edited by: Meher Irk on Mar 22, 2011 7:48 PM
Maybe you are looking for
-
OS command working but file not moved
HI All, I am facing an issue with receiver File adapter OS command. OS command will move file from folder A to B and after remove It was working previously fine.But now it is not moving file. In CC logs it is showing as successfull ececution of OS co
-
Mutli channel audio output via usb?
Hi there I've had a browse through the support forums and can't find an answer to my question, so here it is: I want to split the audio channels through the internal soundcard (I have an ibook g4) so that I can use audio mixing software. Before I go
-
Hi, I have a requirement of generating monthly balances Report, Can some one guide me as to how to accomplish this? I have key fig called balance and Time char: posting period, Fiscal year, Fiscal year/Period. need to write any customer exit or ??? P
-
Features in SAP Cloud for Customer
Hi All, We have the possibility of enabling transaction launcher within SAP CRM on premise to kind of embed the backend SAP ERP screen within CRM UI. Can those options be configured/developed within SAP Cloud for Customer? If so, what are the optio
-
Quicklook doesn't show PDF files
OSX 10.10.2 Quicklook does not show PDF files and Preview doesn't open PDF files. When I select file => open, all PDF files are grey and cannot be selected. In Finder I select a PDF file and press CMD-i. In the information window I select open with P