(Java ME/J2me) Canvas Vertical Scroll Problem

Hi i have spent a couple of days creating a small canvas bassed application i hours on a glitch trying to figure out why the myscreen.translate() will not let me scoll down verticly more than two pages can anyone see the problem ?
import javax.microedition.lcdui.*;
public class MobileLifeList extends Canvas {
private Font Myfont = Font.getDefaultFont();
private int LEFTSOFTKEYCODE =  -6;
private int RIGHTSOFTKEYCODE = -7;
private String[] ListItems;
private Image[] ListImages;
private int SelectedIndex = 0;
MobileLife midlet;
private int Amount = 0;
public int mywidth;
public int myheight;
private int PageMode;
public int ooscounter;
private int MyPerPage;
public int Page = 1;
MobileLifeList(MobileLife mymidlet,String[] items,Image[] images){
this.midlet     = mymidlet;
this.ListItems  = items;
this.ListImages = images;
protected void paint(Graphics myscreen){
int mywidth = myscreen.getClipWidth();
int myheight = myscreen.getClipHeight();
myscreen.setColor(0xffffff); //WHT
myscreen.fillRect(0,0,mywidth,myheight);
MyPerPage = myheight/Myfont.getHeight() - 1 * Page;
if(ooscounter>=MyPerPage){
myscreen.translate(0,-myheight * Page);
for(int i=0; i<=ListItems.length - 1; i++){
if(i!=ListItems.length){
if(SelectedIndex==i){
myscreen.setColor(0x000000); //BLK
} else {
myscreen.setColor(0xFFFFFF); //BLK
myscreen.fillRect(0,(Myfont.getHeight() + 1) * i,mywidth,Myfont.getHeight());
if(SelectedIndex==i){
myscreen.setColor(0xFFFFFF); //BLK
} else {
myscreen.setColor(0x000000); //BLK
myscreen.drawString(ListItems,0,(Myfont.getHeight() + 1) * i, Graphics.TOP|Graphics.LEFT);
protected void keyPressed(int keyCode) {
String TheMobileAgent = System.getProperty("microedition.platform");
if(TheMobileAgent.indexOf("Vodafone")>=0 || TheMobileAgent.indexOf("Panasonic/X60")>=0 || TheMobileAgent.indexOf("Sharp")>=0 || TheMobileAgent.indexOf("Panasonic/X60")>=0){
LEFTSOFTKEYCODE = 21;
RIGHTSOFTKEYCODE = 22;
if(TheMobileAgent.indexOf("Motorola")>=0 || TheMobileAgent.indexOf("GX15")>=0 || TheMobileAgent.indexOf("GX25")>=0){
LEFTSOFTKEYCODE = -21;
RIGHTSOFTKEYCODE = -22;
if(TheMobileAgent.indexOf("Siemens")>=0){
LEFTSOFTKEYCODE = -1;
RIGHTSOFTKEYCODE = -4;
if(TheMobileAgent.indexOf("Sagem")>=0){
LEFTSOFTKEYCODE = -7;
RIGHTSOFTKEYCODE = -6;
if(TheMobileAgent.indexOf("Qtek")>=0 || TheMobileAgent.indexOf("T-Mobile/MDA")>=0|| TheMobileAgent.indexOf("Verizon/XV8600")>=0 || TheMobileAgent.indexOf("Samsung/Blackjack")>=0) {
LEFTSOFTKEYCODE = 57345;
RIGHTSOFTKEYCODE = 57346;
if(TheMobileAgent.indexOf("Sony-Ericsson/W910i")>=0 || TheMobileAgent.indexOf("Nokia/2630") >=0|| TheMobileAgent.indexOf("Nokia/3110_classic") >=0 || TheMobileAgent.indexOf("Nokia/3110c") >=0 || TheMobileAgent.indexOf("Nokia/3500_classic") >=0){
LEFTSOFTKEYCODE = -3;
RIGHTSOFTKEYCODE = -4;
if(TheMobileAgent.indexOf("Sony-Ericsson/M")>=0|| TheMobileAgent.indexOf("Sony-Ericsson/P")>=0){     
LEFTSOFTKEYCODE = -7;
RIGHTSOFTKEYCODE = -6;
if(TheMobileAgent.indexOf("Samsung/B2700")>=0){          
LEFTSOFTKEYCODE = -5;
RIGHTSOFTKEYCODE = -7;
if(TheMobileAgent.indexOf("Sony-Ericsson/T303")>=0){
LEFTSOFTKEYCODE = -6;
RIGHTSOFTKEYCODE = -10;
if(keyCode==LEFTSOFTKEYCODE){
System.out.println("LEFT softkey Pressed");
MobileLifeCanvas mListCanvas = new MobileLifeCanvas(midlet);
Display.getDisplay(midlet).setCurrent(mListCanvas);
if(keyCode==RIGHTSOFTKEYCODE){
System.out.println("Right softkey Pressed");
int act = getGameAction(keyCode);
int PerPage = myheight/Myfont.getHeight() - 1;
if(act==Canvas.UP){
if(SelectedIndex > 0){
SelectedIndex--;
ooscounter--;
if(act==Canvas.DOWN){
if(SelectedIndex != ListItems.length - 1){
SelectedIndex++;
ooscounter++;
System.out.println("Index:" + SelectedIndex);
repaint();
Thankyou,
Rob                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

...how can i access myscreen varible outside of my paint function?Why don't you call the variable myGraphics? myscreen is a confusing name for a variable that refers to Graphics object because there's quite a different class Screen in MIDP API.
As for accessing Graphics from outside of paint, I am not sure if that's a good idea. If memory serves, it can change in different invocations of paint (check the Canvas class javadocs for details if you're interested).
To have a reliable reference to Graphics, I would rather use GameCanvas (it's a subclss of Canvas with some additional features).

Similar Messages

  • T43 Vertical Scrolling Problem (not just Firefox)- Any official response from Lenovo

    After searching the forum, i have not been able to find any response from Lenovo as to how to correct this problem.
    Incidentally, my "occasional" vertical scrolling problem occurs in any browser,  IE7, Firefox3, Opera9 (at least those 3) as well as Windows applications with a vertical scroll bar like Windows Explorer.
    This only started to occur very randomly around 6 months ago.  But as of late it is occuring more often.
    The only work-around
    http://blog.jonschneider.com/2008/03/workaround-th​inkpad-gets-into-always.html 
    might indicate that it is a possible hardware problem.
    However, I have to say that I rarely use the laptop scrolling buttons and 99.9% of the time, latetly, I use a Logitech laser USB mouse for scrolling purposes. 
    As another possible work-around (if you are using an external mouse) is to uncheck the enable virtual scrolling in the touchpad properties window. 
    I certainly hope it is not a hardware problem, as the warranty on my T43 ran out a long time ago.
    btw, I am running Windows XP Pro XP3.
    Moderator Note; added system type to subject
    Message Edited by andyP on 07-27-2009 09:32 PM

    Reset the page zoom on pages that cause problems: <b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    See [[Text Zoom]] and [[Page Zoom]] and http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Vertical Scrolling problem in Safari

    I'm currently having an odd vertical scrolling problem in Safari.  This issue is not reproduced in Chrome or Firefox.
    I've been able to reproduce this issue doing something very simple:
    I have a browser wide rectangle with a solid color.
    Beneath that I have a browser wide photo.  (Rectangle set to browser edges and then fit to fill with photo.)
    And beneath that I have another browser wide rectangle with a solid color.
    Then I scroll.
    Once the photo (the middle element) reaches the top of the screen I have shut the scrolling off so the photo will stay static. (Initial motion 1 / Final motion 0 set in the "Fill/Scroll" tab - and the key position is set so it stops at the top of the browser.)  As expected, the lowest box continues to scroll upwards and cover the static photo.
    This very simple effect is flawless in Preview mode, Chrome, and Firefox.
    Yet in Safari, the photo, once it reaches its resting spot, does stay static, but seems to jump and jitter all over the place while I continue scrolling and the below content covers it.  (In the other browsers it's super solid like a real static background.)
    I've read there are some parallax scrolling bugs in Safari Mavericks.  But I'm still in an older operating system using 10.8.5 and Safari 6.0.5.
    Any suggestions or work arounds on how to correct this? (Again, I'm controlling the scroll using the scroll tab found with "Fill". Should I also be using the one found under Scroll Effects?  What the best one to use? Although it does work in the other browsers… so…  maybe I'm not doing anything wrong and this really is a Safari problem.)
    Thanks you.

    Hi
    Please share the site url, I will have a look.
    Thanks,
    Sanjit

  • Some Java-based websites missing vertical scroll bar

    Web site (http://www.addictinggames.com/dailyjigsaw.html) loads with no vertical scroll bar.
    == This happened ==
    Every time Firefox opened

    Hi
    Do you have 3rd party Glims installed? If so, make sure you have the latest version (v 20).
    I used to see the scroll problem more frequently. I haven't of late. Never determined what causes it, however older versions of Glims (since it alters Safari functions) may be one possible cause.
    Only workaround I've seen is to quit the tab in question, then reopen another tab and reload the page missing the scroll bar. Tabs ought to appear.
    If you don't have 3rd party add-ons, send feedback to Apple via the Safari Menu>Report Bugs to Apple.

  • Brushes Vertical Scrolling Problem

    I have been using PSE8 for a month now.  I have a problem with my brushes.  When my brushes palette dialog box is open and I want to use my mouse to hold the vertical scroll bar on the left down.  Once I click on it with my mouse pointer, the whole dialog box closes.  So, that means that if I want to scroll up or down my list of brushes I have to use the arrow keys on my keyboard.  Could someone please tell me what is going on?

    Several people have reported this problem; so it’s possibly a bug.
    http://forums.adobe.com/message/2538490#2538490
    Does it make any difference if you click on the arrow icon >> and select re-set brushes? You will find this towards the top right of the brushes pallet.

  • Uncontrollable vertical scroll problem

    Scroll bar started getting jumpy for a few days then suddenly started going all Warp Factor 99 to bottom of window and refusing to go back up no matter how gently I tried to manually move it. So then I threw Mighty Mouse against the wall in frustration a couple times and it didn't break, so I guess that's a good thing. Finally, I turned scrolling off in mouse preferences just so I could manoeuver around a screen. Has this happened to anyone else? Is it even a mouse problem or could it be something wrong with the computer itself? (Help me! But in lay language, please, as I am a little old lady and am not terribly fluent in Geek.) Thank you.

    Hi anklebyter (nice name), I had the same thing happen to me on my G5, I never found the root of the problem, but restarting helped.  You might also consider resetting the PRAM. Just click on the blue link and follow the instructions.
    Let us know how you make out,

  • Vertical Scroll in stacked canvas

    Dear all,
    I got the following challange:
    On my form I have 1 content and 1 stacked canvas. Items are from 1 datablock. 1 item is displayed on content canvas, the other items from the datablock are on the stacked canvas. Items are displayed in multirow mode, stacked canvas has a horizontal scrollbar, item labels are dispayed (on content and stacked canvas).
    Vertical scrolling works fine in the Forms Builder test environment (C/S), but when the form runs on the web in the applet, vertical scrolling performs as follows:
    If the input focus is in the column on the content canvas, it works fine. But if the input focus is in a column on the stacked canvas and an item in the last row (during scrolling down) gets the input focus, the content of the stacked canvas is shifted up to the upper border, so that the column headers and the first line of the viewport isn't displayed and there is an offset of the records displayed on the canvases.
    Has anyone experience with this behaviour, any ideas or a workaround?
    Many thanks in advance
    Stefan

    I have seen that too, with tab canvas, which is like a stacked canvas.
    On mine, it occurs after a clear_form and synchronize, but before I execute any queries (there are multiple blocks and queries).
    So what I added was this, following the Synchronize:
    Declare
      Tab_View_id      Viewport     := Find_View('TAB');
    Begin
      if get_view_property(Tab_View_id,Visible) = 'FALSE' then
        show_view(Tab_View_id);
      end if;
    End;I actually put the Tab_View_ID variable into a package spec, so Forms only needs to set it once.
    If you can't find the right place to add the code, a form-level when-new-item-instance trigger will work.

  • Problem with Vertical scroll in table control

    Dear All,
    I am facing a problem with table control in module pool program. currently it displays 6 lines, but it does not display the vertical scroll button, even though when I fill data in the six rows and hit enter.
    I have set the vertical scroll option on the table control properties also.
    Can someone help me by sending some sample code?
    Thanks,
    Amit Goyal

    HI Amit ,
        If you have already selected the properties of vertical and horizontal scroll bar then no other operations needed .. if the number of rows increases then that of the table control , you will automatically see the Vertical scroll in your table control ..
      if still you dont see it then write back ..
    Reward if helpful !
    Thanks
    Ranjita

  • Whenever I play anything on Windows Media Player Classic, the middle mouse button does not work as a vertical scroll in firefox, but instead shows a horizontal scroll that does not scroll the web pages. How can I fix this problem?

    Hi
    I have a windows 7 and whenever I play anything on Windows Media Player Classic, the middle mouse button does not work as a vertical scroll in firefox, but instead shows a horizontal scroll that does not scroll the web pages. How can I fix this problem?
    I hope that was clear.
    Thnx

    Hello kmanthie,
    I just sent you a private message. If you are not sure how to check your forum messages, this post has instructions.
    I worked on behalf of HP.

  • Problem getting vertical scroll bar in tree

    Hi,
    I am adding nodes to a tree control dynamically. But somehow,
    a vertical scroll bar doesn't appear during the process. I guess,
    somehow, the tree is not able to detect the change in the height,
    hence, is not giving the vertical scroll bar. However, after a node
    has been populated with the sub-nodes, when I close that node and
    re-open it, then the scroll bar appears. I really need to fix it as
    soon as possible. Plz help!
    Thanks in advance,
    Cheree

    Seems like Flex 4 is working fine:
    This is the updated code working on Flex 4.6 using XMLCollection:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark"
                   xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="application1_applicationCompleteHandler(event)">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <fx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                import mx.collections.XMLListCollection;
                import mx.controls.Tree;
                import mx.events.FlexEvent;
                import mx.events.TreeEvent;
                [Bindable]
                public var treeData: XMLListCollection=new XMLListCollection();
                private var hasRun: Boolean = false;
                //finalSrcList is the ArrayCollection that has value objects returned from data base by a remote object.
                public function populateTree(event:TreeEvent): void{
                    if (hasRun == false){
                        hasRun = true;
                        var parentNode:XML=event.item as XML;
                        var temp:XML;
                        var i: int;
                        var finalSrcList: ArrayCollection = new ArrayCollection();
                        // Prepare source list
                        for (i=0; i<10; i++){
                            var item = new Object();
                            item.attribute1 = "attribute " + i.toString();
                            item.attribute2 = i.toString();
                            finalSrcList.addItem(item);
                        for(i=0;i<finalSrcList.length;i++){
                            temp= <node label={finalSrcList[i].attribute1} id={finalSrcList[i].attribute2} isBranch="true"/>;
                            event.currentTarget.dataDescriptor.addChildAt(parentNode,temp,0);
                protected function application1_applicationCompleteHandler(event:FlexEvent):void
                    var rootItem: XML;
                    rootItem = <root label="root" id="1000">
                        <node label="level1" id="2000" isBranch="true"/>
                        </root>;                                   
                    treeData.addItem(rootItem);
            ]]>
        </fx:Script>
        <mx:Panel width="600" height="250" paddingBottom="20" paddingLeft="20" paddingRight="20" paddingTop="20"
                  verticalAlign="middle" horizontalAlign="center">
            <s:Label>
    This is using XMLCollection
            </s:Label>
            <mx:Tree id="funcTree" height="100%" width="100%" dataProvider="{treeData}" labelField="@label" showRoot="false"
                     itemOpen="populateTree(event)" />       
        </mx:Panel>                  
    </s:Application>

  • RoboHelp 8: Vertical scroll bar problem

    I just installed RoboHelp 8. When I view a topic page that is longer than the window, sometimes the vertical scroll bars appear and sometimes they don't. If I click the <> HTML tab and then click the Design tab again, the scroll bar appears. The scroll bar also appears if I click the "Save" or "Save All" button. I also don't see a Service Pack for RoboHelp 8. Is that true?
    I'm attaching 2 screen shots (both of the same topic) - one when I first go in to a topic and the scroll bar does not appears and one when I go to the HTML tab or Save and then scroll bar appears.

    Hi there
    No, there is no service release for version 8 as yet.
    Could it be simply that focus is inside another pod when you fail to see the scroll bar? Perhaps you have clicked to select the Single Source Layouts pod and you see the scroll bar goes away?
    Just guessing here... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • When I open Firefox (after upgrade) it does not show right side vertical scroller bar. I have to take the mouse and physically expand the browser to get the scroller bar to show. (never had this problem in previoius versions of firefox)

    Firefox 4.0 on Mac OS 10.6.7 When I open Firefox it does not show the right vertical scroller. I have to take my mouse to the lower right corner and drag it open slightly and the scoller appears It will stay active through other tabs now until I close or shut down firefox. Once I reopen the same thing again no vertical scroller bar.

    Yes AT&T is my ISP. I use DSL. Currently I am not at my home address. I am currently on a cable modem on COX.com.
    I am also receiving a warning message "WARNING: Parental control appears compromised!".

  • How to use vertical scroll browser in Flex web app?

    Hi,
    I´m developing a web app with flex3. Web app has linkbar connected to a viewstack,
    that contain inside a canvas that change the height property depending on the option
    selected on the linkbar. My problem is that, when the viewstack resizes his canvas
    and has the height property bigger than the resolution of the web browser, shows a
    vertical and horizontal scroll inside de canvas. I need not to show the scrollbars
    inside the canvas, I need to show the vertical scroll bar in the general container, I
    think in application. I try to set the property verticalScrollPolicy to "off" in the containers
    and "auto" or "on" in application. The containers don´t show now the scrolls bar and
    application shows an empty vertical scroll bar. I would need to have an vertical scroll
    bar working properly in application. Somebody could help me, please.
    Thanks,

    I could make it work by dragging them to the src folder.
    That's exactly what you need to do. After all, they're source files
    When you define "src" as the source directory, that's where the compiler will look for classes/packages.
    So the package net.xyz.widgets.* resolves to src/net/xyz/widgets/

  • Firefox Vertical Scroll Bar Not Functioning Properly

    == Issue
    ==
    Firefox is having problems with certain web sites
    == Description
    ==
    As I visited the referenced Web page, although the page displays normally, vertical scrolling is impaired. Clicking and dragging the vertical scroll "handle" DOES work. However, to scroll up or down by the height of the browser's display area, you'd click in the "blank space" immediately above or below the vertical scroll handle (comparable to using your keyboard's PageUp or PageDown buttons), and this is the scrolling method that does not work. Clicking the vertical scroll arrows does not work either.
    == URL of affected sites
    ==
    http://www.snopes.com/politics/obama/memorialday.asp
    == Troubleshooting information
    ==
    AVG Safe Search 9.0.0.825 true {3f963a5b-e555-4543-90e2-c3908898db71}
    DownloadHelper 4.7.3 true
    Google Gears 0.5.36.0 true {000a9d1c-beef-4f90-9363-039d445309b8}
    Java Console 6.0.13 true
    McAfee SiteAdvisor 3.0 true
    Microsoft .NET Framework Assistant 1.2.1 true {20a82645-c095-46ed-80e3-08825760534b}
    ScrapBook 1.3.7 true {53A03D43-5363-4669-8190-99061B2DEBA5}
    Xippee Extension 2.51 false [email protected]
    Yahoo! Toolbar 2.1.2.20100119091315 true {635abd67-4fe9-1b23-4f01-e679fa7484c1}
    Evernote Web Clipper 3.0.0.82006 true
    Java Console 6.0.15 true
    Java Console 6.0.16 true
    Java Console 6.0.17 true
    Java Console 6.0.18 true
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows Vista
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-Shockwave Flash 10.0 r45
    *np-mswmp
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *Winamp Application Detector
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *Default Plug-in
    *Google Update
    *Adobe Shockwave for Director Netscape plug-in, version 11.0
    *iTunes Detector Plug-in
    *DivX® Web Player
    *DivX® Content Upload Plugin
    *npdivxplayerplugin
    *GEPlugin
    *Yahoo Application State Plugin version 1.0.0.7
    *3.0.50106.0
    *Office Live Update v1.5
    *NPWLPG
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Google Updater pluginhttp://pack.google.com/
    *6.0.12.69
    *RealPlayer(tm) LiveConnect-Enabled Plug-In
    *RealJukebox Netscape Plugin
    *Allows browsing on RealArcade sites with Mozilla browsers.
    *Rhapsody Player Engine Plugin
    *Java(TM) Platform SE binary
    *Next Generation Java Plug-in 1.6.0_18 for Mozilla browsers
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.

    This may or may not be related, but I was having a similar issue, and it was affecting the same page in Chrome as well!
    Turns out my issue was that the page was calling home via AJAX and my bandwidth at the moment was impaired, as I was downloading a big file.
    Once I stopped the download, everything went back to normal, with only a tiny hiccup on the page scrollbars once every some seconds, where they would get stuck for a few milliseconds.
    This is probably caused by the page using synchronous AJAX calls, instead of asynchronous ones. Synchronous calls will block the browser until a response is received from the server. If bandwidth is compromised, this response will be delayed or even worse, not received at all, in which case the page will stop working (or at least this seems like what would happen, don't know if it is actually true).
    Hope this helps.

  • Textarea: strange vertical scroll bar

    Hi, everyone
    I implemented textarea with JTextPane, code is below.
    The problem is that,
    when there is only one pane in the content of HBox, the vertical scroll bar runs normal;
    but when there is 2 panes, the vertical scroll bar changes between visible and invisible again and again.
    My code wrong? or a bug of JavaFX?
    Thanks.
    * TextArea.fx
    * Created on 2009-12-5, 22:27:47
    package morsshow;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import java.awt.Dimension;
    import javax.swing.JScrollPane;
    import javax.swing.JTextPane;
    import javafx.ext.swing.SwingComponent;
    import javafx.scene.layout.HBox;
    * @author icycandy
    var text: JTextPane = new JTextPane();
    var pane: JScrollPane = new JScrollPane(text,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    text.setText("youyouyouyouyouyouyouyouyouyouyou");
    text.setPreferredSize(new Dimension(500, 300));
    var text1: JTextPane = new JTextPane();
    var pane1: JScrollPane = new JScrollPane(text1,JScrollPane.VERTICAL_SCROLLBAR_ALWAYS ,JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
    text1.setText("lovelovelovelovelovelovelovelovelovelove");
    text1.setPreferredSize(new Dimension(500, 300));
    Stage {
        title: "love you"
        scene: Scene {
            content: [
                HBox{
                    content:[
                        SwingComponent.wrap(pane),
                        //SwingComponent.wrap(pane1)
    }

    Hi,
    I've just used the following SQL statement to create a tabular form:
    select
    "EMPNO",
    "EMPNO" EMPNO_DISPLAY,
    "ENAME",
    "PHONE1",
    APEX_ITEM.TEXTAREA(5, PHONE2, 5, 50, 'style="overflow-Y:scroll"') "PHONE2"
    from "#OWNER#"."EMP"PHONE2 is a small field, so you probably won't be able to save anything, but this statement is used in: http://htmldb.oracle.com/pls/otn/f?p=33642:100
    Both in IE7 and FF3, the scroll area appeared on the right of the box.
    Andy

Maybe you are looking for

  • I am having trouble importing jpegs shot on my Canon EOS Digital Rebel XTi

    I have about 1000 jpegs that i need to import into FCP. A few specs to start off with. I am working on FCP 7.0 and a brand new MacBook Pro. I have had this camera for about 4 years and have not had a problem importing the jpegs into my old laptop and

  • How To Use GOOP and The VI Server?

    I created several VIs that work together to display images on a remote computer using a VI server. To make it easier to use I turned the several VIs into methods in a GOOP class. This works fine to display the images on a local machine. I then added

  • Zero Balance Customer Statements

    Hello, How can I exclude customer/vendors with a zero balance from receiving a customer statement? A link to help will not be helpful as I have read through that documentation already. Any help would be really appreciated. Thanks, Justin

  • Customize Font size and color of text

    Hey guys, Sorry if this is basic, as I am new to this, and did a search but see anything, I am sometimes having a bit if tough time reading some of the fonts on the phone. I tried the black to white/white to black option under settings/general settin

  • I need to transfer CS4 from my old MacBook to my new one, but get error 150:30.

    Have the discs, have the serial number, have the programs transferred to my external drive and even installed on the new Mac, but when I double-click to open any of the programs, I get error code 150:30 and cannot get the program open. What I'd like