Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Simulators: Horizontal scrolling does not work with Java 7 #2

Open
markarmb opened this issue Sep 12, 2014 · 0 comments
Open

All Simulators: Horizontal scrolling does not work with Java 7 #2

markarmb opened this issue Sep 12, 2014 · 0 comments

Comments

@markarmb
Copy link

For example, run projects/05/CPU.tst and try to scroll output to see right-most columns. (This worked OK with Java 6.)

There is a proposed fix in this n2t forum post
http://preview.tinyurl.com/pcgwkyw

I had an issue where I could not scroll horizontally within some of my subwindows (e.g.: HardwareSimulatorMain's HDL window). To fix this I added this line to the WideTable constructor.

HackGUIPackageSource/HackGUI/WideTable.java

    public WideTable(TableModel model, int width) {
        super(model);
        this.setAutoResizeMode(JTable.AUTO_RESIZE_OFF); // <-- Added to scroll
        this.width = width;
    } 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant