Coder Social home page Coder Social logo

keinhaar / gwtswing Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 1.0 448 KB

This is an UI API similar to Java's Swing API, but on top of GWT.

License: GNU Lesser General Public License v2.1

CSS 0.96% Java 98.96% Batchfile 0.04% Shell 0.04%
css gwt java teavm

gwtswing's People

Contributors

keinhaar avatar pizzadox9999 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pizzadox9999

gwtswing's Issues

[Request] GSlider

Hi @keinhaar,

could you develop a slider element for gwtswing?
It could be a wrapper around the html slider element.

With best regards pizzadox9999

[Request] GProgressbar

Hi @keinhaar,

could you develop a progressbar for gwtswing?
It could be a wrapper around the html progress element.

With best regards pizzadox9999

[Proposal] Make gwtswing platform independent

Hi @keinhaar,

I would like to propose the idea of making the project platform independent. I personally think that this is a great project. To have the swing library on the web can be a powerfull tool.
Currently it is (sadly) only implemented for the GWT project. But there a some more projects that are trying to achieve similar goals. For instance TeaVM and JSweet. I'm coming from the TeaVM side. I'm not the maintainer or anything from TeaVM. I'm just a user which would like to have swing support. Currently my approach was to emulate GWT but it didn't seemed feasable for the future, if changes would happen to the main gwtswing project.
Furthermore I would like to contribute to the project, but I also would like to be able to use it in TeaVM.
So the proposal is about making the project platform independent and create new branches for each implementation.
I would be happy if I could implement such a system for this project. But I wouldn't say no to a little help.
If any questions rise I would like to answer them.

Sincerely pizzadox9999

PS: If you dont want please say it and I will stop all activity with the forking thing.

GMouseEvent returns 0 for getX() and getY()

Hi, the de.exware.gwtswing.awt.event.GMouseEvent returns 0 for the functions getX() and getY(). This is because x is calculated instead of just passed through. \nx = jsEvent.getClientX() - loc.x - insets.left; \n y = jsEvent.getClientY() - loc.y - insets.top; I don't know why this is so but the function jsEvent.getClientX() reports the correct pixels, but x stays 0 because of the done with x. Is there a way to "fix" this behaviour?

pizzadox9999

The workings of the contentPane

Hi, I have a question about the workings of the content pane (most likely an error on my side ^^ but still). The problem is that when I set the background color or add an element to a GFrame or GDialog it happens within the top level element for the Frame or Dialog and not on the content pane. Do you have the same behaviour? If not I will look into how to properly access the first and last elements in their child list, because I think you just get the wrong child because of the trickery I went through. Besides that I have one div element which I don't now the purpose of or why it is created: <div elementid="2" style="left: 0px; top: 50px; z-index: 10000;"></div>. The elementid is from me. It indicates that it is the second element created from the TeavmGPDocument code. I would be curios about some insight from your end.

pizzadox9999

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.