How to destroy instance - navigation
how to destroy instance ?
eg
class screen1
runprgm() {
screen2 s2 = new screen2()
class screen2
frame.removeall();
//do all database work
//load all components
frame.add (components);
button_click() {
screen3 s3 = new screen3();
now screen2 is loaded..
class screen3
frame.removeall();
//do all database work
//load all components
frame.add (components)
now on the button_click on screen2 to screen3 i want to remove the memory occupied by screen1. ?
one more question
when there is a back button, what is the normal way of programming (create an instance again) or any other caching mechanism is there ?
to free the memory you got to kill the reference to the object
screen1 s1 = new screen1(); //memory is allocated to the object s1
s1 = null; //the reference to the object s1 is killedfrom time to time the garbage collector will show in and release all the memory that stores object without any references.
Of course you can call the garbage collector yourself if you like that better.
For Your question with the 'back button'. I would say: it depends...
If you got enough free memory just keep the objects you want to have in your history. If you don't have enough memory... well it seems like you have to think about something else to store your data: database, filesystem, (have a look at the Object.toString() method), compress your data,...
hope this helps
Similar Messages
-
How to customize top navigation css in SharePoint 2013?
Hi All,
How to customize top navigation css in SharePoint 2013?(Want to add colors for each link in the navigation)
My current page is like-
Expected-Hi Sam,
Please check the following article about how to style the top navigation with custom css.
How to: Brand snippets by using CSS in SharePoint 2013
Thanks
Daniel Yang
TechNet Community Support -
How to add a navigation Panel and Zoom Slider Bar using Java API
Hello,
I am using Mapviewer Java bean as I have to use Oracle Mapviewer in Java Stanalone application.Please can anyone tell me how to add a Navigation panel and Zoom Slider in Java API. I found the API s for same in Java Script but not in Java.Kindly help.
I am using Oracle Mapviewer 11g.This is forum sponsored by Adobe make of Acrobat and Reader. Since Chrome and FireFox web browser have chosen to use their own viewer you might get more help in their forums or customer support.
-
Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now ?
Is their any tutorials on how to make a navigation bar with drop downs in Dreamweaver CC now that they do not have the spry option?
bbull2005 wrote:
Preran, why wouldn't Dreamweaver include it's own menu/navigation bar widget?
I can't answer on Preran's or Adobe's behalf, but I think you'll find at least part of the answer here: http://wiki.jqueryui.com/w/page/38666403/Menubar
Adobe decided to discontinue development of Spry in August last year, and Dreamweaver CC made the switch to using jQuery UI widgets and effects. One reason for dropping Spry was that it failed to work correctly in some browsers. Judging from the fact that the jQuery UI menubar is now "on ice", creating a flyout menu that works reliably across all devices is proving more difficult than originally envisaged.
Because all other widgets in Dreamweaver CC use jQuery UI, it's a reasonable assumption that Adobe hoped the jQuery UI menubar would be ready in time, but it wasn't. -
Create Navigation path in IDT4.0 and how to use these navigation paths in Webi report
Hi All, I want to know how to create navigation path in universe? I am using IDT BO4.0 SP4 and relational connection and want to create navigation path. I would like to know how to use this navigation path in Webi report? If I create a webi report where can I see my navigation paths and how to use it. If you can give any document or link which expalins this whole process, that would be great. Thanks,
HI REMI ,
1. ANSWER TO YOUR 1st QUESTION i.e. HOW TO CREATE A NAVIGATIONAL PATH :
IN IDT 4.0 , YOU WILL FIND A NAVIGATIONAL PATH IN BOTTOM WHEN YOU WILL OPEN YOUR BUSINESS LAYER , THERE YOU CAN CLICK CUSTOM NAVIGATION PATH -> THEN CLICK AT ADD A NAVIGATIOAL PATH BUTTON->THEN GIVE NAME NAVIGATIONAL PATH NAME->THEN ADD THE OBJECTS UNDER YOUR NAVIGATIONAL PATH IN A HIERARCHICAL SEQUENCE . FOR EX : COUNTRY->STATE->CITY . AND YOUR CUSTOM NAVIGATIONAL PATH IS CREATED.
2. ANSWER TO YOUR SECOND QUESTION WHAT IS THE USE OF NAVIGATIONAL PATH IN WEBI REPORT :
NAVIGATIONAL PATH HELPS YOU TO PERFORM DRILL DOWN ON YOUR DIMENSION OBJECTS , FOR EX : LET 'S SAY YOU CREATED A NAVIGATIONAL PATH- REGION SALES : Containing COUNTRY->STATE->SALES. THIS WILL HELP YOU TO DRILL DOWN IN YOUR WEBI REPORT AS SHOWN BELOW :
COUNTRY SALES
INDIA $1000000
(after clicking INDIA you will get below structure in your Report)
STATE SALES
DELHI $600000
ANDRA-PRADESH $200000
MAHARASHTRA $200000
(after clicking MAHARASHTRA you will get below structure in your Report)
CITY SALES
MUMBAI $150000
NAGPUR $ 50000
ACTUALLY , DRILL - DOWN AS THE NAME SOUND HELP TO DRILL THE DIMENSION TILL ROOT LEVEL & SEE THE MEASURES VALUES ASSOCIATED WITH THOSE VALUES LEVELS.
1ST LEVEL WILL ALWAYS CONTAIN THE SUM OF THE MEASURE OBJECTS
CHEERS ,
KAPIL -
How to create a Navigation with submenu ? { Mega Navigation Menu} ?
Please iam playing around with Flach Catalyst, but i cant find how to create a navigation menu with submenus
i've created the design in photoshop but i dont know how to do the rest in Catalyst.
the Navigation menu that i want is should be more or less like this
Home Contact Gallery Team { Now when i mouse over inTeam it shows a block with text and links that i
can be able to click them.}
-------------------------------------------------------^---------------------------------- ---------------
|---------------^-------------------------------------------------|
Race Team | Swim Team
.....................................| .............................
Football Team | NR Team
.....................................|..............................
Sprint Team | Basketball Team
......................................|..............................
Jump Team | Water Team
|.....................................................................|
Please help me i've search on google but didnt found anything.
Thank YouHi,
This file may help. DropDownMenu.fxp (Right-click > Download Linked File to download this Fc CS5.5 file).
It illustrates a simple drop-down menu. Note that only the File menu has button items in it.
Best,
Tanya -
Now, how do I exlude navigation controls in the HTMl export in Keynote
In older version of Keynote there was an option when exporting to HTML that was "Include navigation controls". If I unchecked they were gone. Now that option is gone and I can't figure out how to remove the Navigation controls from the bottom of the bottom of the webpage. I tried modifying the "hud" div in the KeynoteDHTMLPlayer.css file as other forum posts suggest, but it seems to do nothing. I really need that thing gone. HELP!
There are no navigation controls in HTML exportfrom Keynote 6.2.
If a video is in the presentation, QuickTime controls will show when the cursor is on top of the video. -
How to increase instance size in oracle bpm 10.3.1
Hi,
anyone please help me how to change instance size in oracle bpm 10.3.1 whenver i amm attaching maximum size file it is giving error
Caused by: fuego.server.exception.MaxInstanceSizeRuntimeException: Max instance size exceeded.
Current size is 69033, whereas the maximum size is 16384. This occurs with instance 'Process1' at activity 'Interactive[Interactive1]' of process '/Process#Default-1.0'
Edited by: user12171025 on Nov 16, 2009 10:13 PMHi,
In the engine configuration in the Execution tab set the Maximum Instance Size that by default is 16Kb.
If you are going to have large values for the instance size probably you have to consider to define the instance variable as separated
Regards -
Dear
Experts, I have a very exciting demand, the board of a customer.
I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
I ask, what is the standard solution that is used in these cases?
Thank you
MikiDear
Experts, I have a very exciting demand, the board of a customer.
I need to create an analytical application on Oracle Portal, UCM, Spaces, WebCenter, to inform me which quantitatively pages, url and documents are accessed.
How to analyze the navigation flow in Oracle Portal, Number of unique users, downloads and other estastisticas of use of the Portal and Documents?
I thought I'd create a ods with the data of Content Tracker and Google Analytics, and model the analysis through the BIEE.
I ask, what is the standard solution that is used in these cases?
Thank you
Miki -
How to clear portal navigation cache
hi
How to clear portal navigation cacheHi,
Refer this link
http://help.sap.com/saphelp_nw04/helpdata/en/a2/19edcf16474a9798a5681ce4fe4b25/frameset.htm
EFP: Navigation Caching
Regards,
Senthil K.
[points welcome] -
How to create instance in linux
Hi guys
how to create instance in linux? I know that in order to create a instance in window, we can use oradim cmd. But what about linux?user11148588 wrote:
hi
after i performed DR. DBCA does not show the recovery database. can anyone advise me what i should do in order for DBCA to display the database?DBCA gets its knowledge of existing databases from the oratab file. Did you create an entry there? Most *nix OS's will have it in the /etc directory; if I remember correctly it will be in /var/opt on Solaris. -
Hi friends...
How to destroy the componenet.....
Is it possible?....
Thanks& regards
Mathihi,
How to destroy the window through coding....
Because
component1
view1--Nameis v1
view2--Nameis v2
component2
view1--Nameis v3
view2Nameis v2
The diagram flow is
view1>view2>view3>view1>view2-->view3
But my project is work Like
view1>view2>view3>view1>not go to view2-->again and again view1 to view3...
Is any Possiblilities to destroy the componenet through coding...
Thanks & regards
Mathi -
Hi,
How to change the navigation in swing appplication from tab key to enter key.
Its the user requirement that i need to under go.
and also tell me how to myownfocus traversal.
Thanks in advance.jTextField1.addKeyListener(new KeyAdapter(){
public void keyPressed(KeyEvent ke){
if(ke.getKeyCode() == KeyEvent.VK_ENTER ){
jTextField1.grabFocus();
}); -
Does anyone know how to default Menu navigation to open to specific folder
Does anyone know how to default Menu navigation to be opened to a specific folder when User first log on to PEOPLSOFT with peopleTool version 8.48 or above?
There are several notes on Oracle Support with a few options...
E-Portal: How to Redirect a User To Specific Component Page at Login? [ID 649958.1]
E-PORTAL: What Methods Are Available To Redirect Users To A Specific Page At Login? [ID 757458.1]
Regards,
Bob -
Pls help - how to create a navigator scroll bar in full flash site
hi to all,
good day! i'm norman of RP this s for all d flash master, i'm
beginner only in flash and i want to create a full flash website
but i didn't know on how to put a navigational scroll bar. is der
anybody can help me to give me a simple code of it or a link?
i appreciate any help from all of u. I nid it badly to my
project.
many tnx an advns
- normz - RP -hi,
use this below div tag to the table:
<div style="overflow: auto; width: 480px; height: 100px; border-left: 1px gray solid; border-bottom: 1px gray solid; padding:0px; margin: 0px;">
<table>
</tabe>
</div
Maybe you are looking for
-
Hi, #1. I have a SQL report with a checkbox . The page has a LOV and based on the selected value, the records show up in the SQL report. If I "check" one or more rows in the report and click Save button, new rows get created in a table against LOV s
-
Why can't I fax from My HP Officejet Pro L7780 ? ?
I recently updated to Mavericks and for some reason I can't send a fax through my "HP Officejet Pro L7780 All-in One." I used to be able to send faxes from "Word" or other Apps When I look at the configuration: "System Preferences" -> "Printer & Scan
-
My iPod won't recharge, register, restore, & it's only 4 days old!
So, I got a nice, new, shiny 5th Gen iPod for my 18th, 4 days ago, and it worked fine, for about two hours. After that, the battery meter was almost empty. I plugged it into the UBS port on the side of the eMac, and, like it had done up until this po
-
Payroll cheques posted to GL in PCP0 but not showing on the cheque register (FCHN)
Our Finance is trying to find out what happened with a few Payroll cheques from early 2013. We can see that they were posted to GL 100300 in PCP0, but the cheques are not showing on the cheque register (FCHN). Does anybody have any ideas to help mef
-
How do you generate Historical Firefighter Logs?
We have implemented SAP GRC Firefighter 5.1 application and between security issues and other things, the firefighter usage logs had not been generated for each day since inception. I understand when I click on the "Update Firefighter Log" that the