How to get spisipic part of view in jframe

Hello all.
I wrote a project and run it on other comp with small screen. Now I can see only part of the Jframe.I added a scrollBar to Jframe and now I need to write to it a listener.
My qustion is how to get spicific view from a jframe.
Because a can get the value from the scrollBar so now I need to know what is the function to move view in jframe.
thanks alot.
please do not give me tutorial on scrollbar
Edited by: vitaly87 on 00:24 27/04/2011
Edited by: vitaly87 on 00:25 27/04/2011
Edited by: vitaly87 on 00:31 27/04/2011

vitaly87 wrote:
..plese do not give me tutoriol on scrollbarWhat about a tutorial on spelling?
Edited by: Andrew Thompson on Apr 27, 2011 5:51 PM
My qustion is how to get spicific view from a jframe.If you fixed that to something like..
My question is how to get specific view from a JFrame.I could edit my reply to nothing - to save bandwidth for readers of the thread.

Similar Messages

  • How to get relationship between two  views in the  reports

    How to get relationship between two  views in the  reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports

    Hi,
    Please explain your question in detail...what do you want to read ?
    If you want to know about the navigation links between the views then you can use APIs  like
    wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
    Iterate through the navigationLinkInfo from above collection and can read the other properties .
    I haven't tried the above , but it should work !!!
    Regards,Anilkumar

  • How to get data form another view

    Hello together,
    I am more or less a newby in objective-c …
    The Problem is that I have 2 different ViewControllers. I create a NSArray with a lot of Data in view1. After that I want to write this data into a UITableView which is in view2.
    But I do not know how to get the data from view1?
    If anyone has an idea I would be very thankful.
    Best wishes,
    Stephan

    Hi,
    You mean Data transfer between two components..
    To pass the value from one component to other component, you can use used component scenario.
    For example let use assume we have two comp ..
    Comp A,
    Comp B.
    now we need to pass the value from Comp A to Comp B.
    Then declare the Comp A as used component in Comp B.
    Now then you can create a node in the comp A component controller and check the interface check box there then the
    node and the attribute will be present in the interface controller also .
    and this interface controller context you can access in the component and map it to view there and display it.
    Webdynpro Application Integration..
    http://wiki.sdn.sap.com/wiki/display/WDABAP/WebdynproApplicationsIntegration
    cheers,
    Kris.

  • Please Help(How to get RadioButtons in tree View)

    Hi.
    Sub/Requirement: How to implement RadioButtons in tree view with/without using xml file.
    I have a requirement like this i want to display RadioButton in tree view.
    I implemented tree same as which is given in sampleApplications.
    In this sampleApplications they implemted tree by using xml file.
    I also implemented tree by Generating xml file. In this xml file i get the values from the database. I am using <netui:tree > tag.
    Is it possible to implement tree without using xml file. I need to generate tree Dynamically.
    Please any one help me to come out with this solution.

    The issue here is while you are retrieving all the details, you are consistently overwriting them in the request.setAttribute() call before you get to the JSP to display them.
    Do you actually have a class/object called Student?
    That object should have attributes for classes, subjects, teachers (all of which are lists apparently)
    public class Student{
      String name;
      List classes;
      List subjects;
      List teachers;
      // appropriate getter/setter methods
    }Then you load each student, and populate its individual lists.
    That lets you pass the list of students, each student having its own lists for display.
    Hope this helps,
    evnafets

  • How to get a tree-oriented view of a pdf document's sections in Acrobat 8 Professional?

    Hi, I have a PDF that has a document outline (with table of contents etc.). This may be a stupid question, but in earlier versions of Acrobat Reader -- I used to be able to get a navigation panel that showed the sections in a tree-form that made it easy to jump to a given section. I now have the Acrobat 8 pro.. and when I read PDF's with it, I do NOT get this tree-oriented view.. but just a thumbnail or page oriented view. How can I get the other view?
    Thanks,
    -Sundar

    Well.. the contents page seems ok, and when I click on the lines in the contents page, Adobe takes me to the right spot. Others (w/ earlier versions of Acrobat) also are able to see the outine. I have to conclude that perhaps pro8 is just broken. (I guess I have to talk to someone to figure out how I can get my reader back.. because right now even the reader launches Acrobat Pro..). Sigh.

  • How to get informations on x$ view

    I want to know information on x$ view (or xm$ view).
    Is there anyone to know how to get this information?
    I would appreciate it if anyone let me know.

    aden, kang wrote:
    I want to know information on x$ view (or xm$ view).
    Is there anyone to know how to get this information?
    I would appreciate it if anyone let me know.To understand the X$ tables ( they are not views) , you need to understand what they represent. There is no site/note AFAIK which tells about the description of these tables in a clear and concise manner, makes sense as these are internal tables and are supposed to be known by Oracle's internal people only. At the most what you can find from the net is the description of the table's name , information about the column and their description is not avaiable anywhere. This you have to dig yourself.
    For a start, you can see what the correspondng V$ view of the table is showing and than have to start matching the columns of the views with the X$ with your own research.
    HTH
    Aman....

  • How to get browser to highlight viewed sites

    After I have done a google search when I visit one of the the sites that the search found and then go to another it does not highlight the previously viewed site so that I know which ones I have visited. Any suggestions on how to get the system to do this? Thanks.

    I am running Tiger
    IMAC Mac OS X (10.5.4)
    Okay, but you might want to change the computer information in your setup.
    Which version of Safari? What exactly are you doing?
    I have Safari 3.0.2 (I never use Safari so I don't bother updating). I open a Window, do a Google search, click on a blue link, takes me to the new page. I click the back arrow which takes me back to my Google results where I now see the link is a purple color. Not the best of contrast colors I have to admit. This isn't happening for you?

  • How to get a WIDE screen view in Laptop...

    I am using Sun Solaris 10 for x86 on Virtual Machine. But i am unable to get a wide screen view. I have a 15.4" screen laptop.
    Do i need to change any setting in my Vitual Box????
    Presently, i am getting a view having Aspect ration 1:1. i am looking for 16:9 aspect ration screen.

    Hey,
    Wide screen view for Solaris on virtual machine? I use the newest [virtualbox for windows|http://www.softsea.com/review/VirtualBox-for-Windows.html] version, what if you use vboxmanage setextradata resolution x*y? Look in the manual for the correct syntax. It might actually work. you can also try to force it in xorg.conf.
    Hope this tip can help.

  • How to Get Most Current User View Before Checking In.

    Hi,
    We have several custom workflows which users can start from end-user menu and have some resource accounts created/modified after approvals.
    User view is checked out once at the beginning of each workflow, then some user attributes are modified through forms and user view is checked in with new attributes at the end.
    If any user starts a workflow (say W2) before completion of another workflow (say W1) he started before, and W1 is completed when W2 is waiting for approvals or etc., W2 completely discards changes made to user view through W1 since it has already checked out the user view before.
    If I checkout the user once more just before checkin, I'm able to get a current user view but this time changes made through forms used in the current workflow are lost.
    What's the best way, to get an updated user view of the user without overwriting any changes made out of the running workflow and losing form data?
    Regards,
    Mehtap.

    In a situation like this, you should probably change the front end to store the changes in workflow variables instead of using the view directly. Then, post approval, you checkout the view and apply the changes. I've used this approach to perform changes on large numbers of users (kind of like a bulk action, only more reliable).
    Alternatively, you can checkout the user object at the beginning of the workflow, and this will prevent your race condition by putting a lock on it. This will obviously cause problems (for you) if your users expect to be able to do multiple changes simultaneously. Don't try this approach if an angry mob will storm your cubicle -- IDM coders are hard to come by.
    Jason

  • How to get first row from View Object cache.

    hi,
    I am using Jdeveloper 11.1.1.6
    can we get first row from View Object cache??
    Thanks in Advance.
    Best
    Shashidhar

    Hi Frank,
    Thanks for reply!!
    My case is:
    I have a Query based ViewObject.
    One of the field is LOV and remaining fields are in ADF table. the LOV field is out side ADF table when i insert first record in ADF table and i choose LOV  filed the value is selected.
    when i create second row LOV value got refreshed because both are in same VO.
    I need to get the LOV value of first row and set same value to second Row.
    Shashidhar

  • How to get "Calendar in the View" displayed on the page where Calendar web part is displayed?

    I have a calendar with overlay set up for 5 views. When the calendar list is open in full page, the "Calendars in View" is displayed on the left pane with all 5 views listed by colors.
    1) I want to display the calendar right on the home page, so I added the calendar web part to the page. But the problem is the "Calendars in the View" does  not show up on the quick launch on home page, it only shows up in calendar list view.
    How can I get "Calendars in View" displayed on left pane when calendar web part is displayed? so that users can select different views?
    2) Also it will be better if the "Calendars in View" can display all components of the overlay when not in the default view, so user can toggle thru different views to see each one on the main pane.
    Currently, only the default view has all colored views displayed under "Calendars in Views", once you click another view on the list, it just displays the current view, and you have to click the "Calendar" to see all and select another
    one.
    Really appreciated if someone can give a solution for at least the #1 problem. great if you have a solution for #2 as well!

    Hi,
    According to your post, my understanding is that you wanted to know how to add iFrame via Content Editor web part.
    There are two articles for your reference.
    How to insert an iFrame into a SharePoint web page
    Embed YouTube video in SharePoint 2010
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How to get anonymous guest link "View Only" and "Edit" URL using JSOM or Search API ?

    Hi,
    I need to get list item anonymous guest link View Only and
    Edit URLs (as shown in image below) using JSOM or SharePoint 2013
    Search API.
    the URL will be like this - https://<site URL>/_layouts/15/guestaccess.aspx?guestaccesstoken=yRaYGmE9n
    Any one has any idea how to do achieve this?
    Thanks
    Shakir

    Hi Shakir,
    To get the anonymous guest link “View Only”, we can use SP.ObjectSharingInformation.anonymousViewLink property in sp.js.
    https://msdn.microsoft.com/en-us/library/office/jj246826.aspx
    To get the anonymous guest link “Edit”, we can use SP.ObjectSharingInformation.anonymousEditLink property in sp.js.
    https://msdn.microsoft.com/en-us/library/office/jj246468.aspx
    We can also use REST API to get the guests links:
    _api/web/Lists/getbytitle('library name')/items(item id)/GetObjectSharingInformation?$expand=SharedWithUsersCollection&retrieveAnonymousLinks=true
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to get the VIEW_ID from VIEW Controller Class?

    Hi,
    In my BADI(CRM_BP_UIU_VIEW_CONFIG), I have a view controller variable(IR_VIEW_CONTROLLER) referring to CL_BSP_WD_VIEW_CONTROLLER. Now, I have to get VIEW_ID using this varibale. However, the VIEW_ID attribute is Protected in the class .CL_BSP_WD_VIEW_CONTROLLER So, I am unable to access this attribute.
    Could you please help me out, how can I do achieve this?
    Thanks,
    Sandeep

    See if you can make use of GET_VIEWAREA_CONTENT or GET_VIEWAREA_CONTENT_ID...
    Regards,
    BJ

  • DB view was enhanced in R/3 - how to get new fields in view based ds

    Hi Folks,
    in R/3 a database view was changed - there two new fields.
    How do I get this two new fields into the data source structure and automatically extracted?
    Do I have to delete and re-create the data source?
    Or do I have the ability to "update the strucutre" via rsa6
    I don't have a development key so I can't check myself but I have to give detail description how to do it to folks that got a development key
    All replies appreciated.
    Thanks and best regards,
    Axel

    Hi Axel,
    1.I think first you need to update view .Go to SE11 and update view by adding new fields coming in your view .
    2.If fields are coming from same table on which table is build then you need to click on table fields button and then add those fields to your view .Then you need to update your data source table (extract structure for same).
    3.If your fields are not coming from same table or you want them to populate via lookup to some other table or via Function module then in your extract structure you need to append fields in append structure via RSA6 or RSO2 .You can also use RSA2 for changing structure .
    4.You don't need to delete and recreate data source .Just need to change view and update data source accordingly .
    Please go through this doc you will find it helpful .
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10a89c00-7dd7-2d10-6f83-cd24ee6d517c?quicklink=index&overridelayout=true
    Hope this will be helpful .
    Regards,
    Jaya Tiwari

  • How to get a part of the background image.

    Hi
    I have created a JPanel using paintComponent() and added it to the content pane of the JFrame. It consists of two colors blue and white. It consists of blue background color and on top of that a part of white background is also there. Now i want to place the components only on the white background. But still the components are getting placed on the blue one.Below is the code for creating the panel.
    public void paintComponent(Graphics g)
               try
                    Paint bckGrndPaint = new GradientPaint(200,0,new Color(5,62,95,255) ,200,
                                            500, new Color(226,226,224,255), true);
                    Graphics2D g1d = (Graphics2D)g;
                    g1d.setPaint(bckGrndPaint);
                    g1d.fillRect(0, 0, getWidth(), getHeight());
                    RoundRectangle2D r = new RoundRectangle2D.Float(20,20, getWidth()-60, getHeight()-60, 25,
                                  25);
                    g1d.setColor(Color.WHITE);
                    g1d.draw(r);
                    g1d.fill(r);
                                      }

    Hi,
    For this approach you should use two JPanels ... one for the blue part ... and the other for the white.
    So you can place the components only at the white part. The gradient paint may be splitted
    into two gradient paints. Without this you won't benefit from the
    layout manager ... and setting the components hard coded is not a nice idea...
    If you don't know how to use layouts take a look at this page.
    Olek

Maybe you are looking for

  • How to use a query in matrix data retrive

    hai  everybody how to use a query in matrix data retrive... pls ..

  • Can't get php mysql to work with DW CC2014

    Even though I opened the WAMP server first and can see my database it will not connect to DW. The error is: MySQL Error#: 2002 Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'2 Have attempted to follow instructions in Ad

  • [JS][CS3] Selection Menu with images

    I have no idea it this is possible, but I have written this code at the start of a script to select a function within the script: myDialog = app.dialogs.add({name:"Catalogue Selector"}); with(myDialog)         with(dialogColumns.add())           with

  • Error in posing question?

    I have been trying to submit a question for days.  First it just plain disappeared.  Now I'm getting an error message with no explanation.  Has microsoft taken over this site?

  • Audio books show every chapter

    Im having real trouble with my audio books, they show up fine in Itunes but when I go to audiobooks in my 160Gb Classic it shows every chapter of every book on the main screen, not just the one tile for each book (a nightmare to scroll thought every