You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Instantly share code, notes, and snippets.
👨💻
Coding
Teocci
teocci
👨💻
Coding
M.S. degree from Chungnam National University Daejeon, Korea in 2016. Many years of experience working as a full stack, web and mobile developer. PhD candidate.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How to build a JAVA web app with WebSocket, JavaScript and HTML5
This tutorial shows how to create a JAVA application that uses the WebSocket API for real-time communication between a client and a server. In this tutorial, we will explore how to:
Create a JAVA application that uses the WebSocket API
Use the OnOpen and OnMessage WebSocket lifecycle events to perform different actions on the application.
Define a client-side WebSocket endpoint by using JavaScript
Operate on Java Objects, in real-time, with actions invoked from a web browser client
Java test for pre-load fonts (and apply properties) outside of the context of the paint method. Painting should run as fast as possible and will be called multiple times, sometimes in quick succession. Loading resources within any paint method wastes time and resource...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Introducing Runnable JavaScript, CSS, and HTML Code Snippets
On Stack Overflow and our other code-related sites, creating a minimal, complete, and verifiable example is the best way to get an answer to your question. We’ve always loved JSFiddle and sites like it because they let both askers and answerers reference runnable, working code that demonstrates their problem or solution.
Unfortunately, the use of these external sites introduces a few problems:
If the link breaks, the post becomes worthless.
If the code isn’t embedded in the page, visitors are forced to go elsewhere to get the full content of the question or answer.
Also, because the code isn’t a part of our post Markdown, changes to it don’t show up in the revision history.
The community voiced similar concerns around external sites, which eventually led us to block posts that contain links to JSFiddle and similar sites without a corresponding code block. This is an unnecessary burden for both askers and answerers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters