POO Java/C plus plus B3 G33k

POO Java/C plus plus  B3 G33k

Partager

Java and .NET developers no longer need to fight ! english arab français

L’architecture hexagonale 07/12/2019

Comment protéger le métier des évolutions techniques à l'aide de l' , et apporter de la valeur au client dans le meilleur time-to-market !!



L’architecture hexagonale Introduction

Photos 23/08/2016
Scene Builder - Gluon 16/04/2016

Create a Java app with GUI Framework

JavaFX Scene Builder (Scene Builder) enables you to quickly design JavaFX application user interfaces by dragging UI elements ( like Buttons Views and Panels and more ..) ,, or using your own styling rules like CSS file !! :3 ..let's Java and CSS work together

Download it from here =D

http://gluonhq.com/open-source/scene-builder/


Scene Builder - Gluon

CodinGame: Games for programmers 01/09/2015

Pogramming is fun =D __ Play and Learn

Online Coding Contest...

Improve your coding skills while playing ;)

check "JOB STORE" and find your dream job

Or you Can
Challenge your friends on short coding battles "Clash of code"



https://www.codingame.com/home

CodinGame: Games for programmers CodinGame is the gaming platform for programmers. Solve programming puzzles, improve your skills, share, have fun.

Photos 02/07/2015

Make Java And C # Work Together =D ( JVM and .NET CLR )

with IKVM.NET http://www.ikvm.net/
we can execute java code or a compiled java class into .NET applications and vise versa ;)

tyr it: in Visual Studio from your Solutin Explorer
- select "References" and right click on the mouse and choose "Manage NuGet Packages"
- in the search bar write "ikvm" and click enter
- install the ikvm pakacke and enjoy it =D

Now Java and C # (.net) developers no longer need to fight ! ;)

lynda.com Training | Java Essential Training 26/06/2015

Pour télécharger la formation, cliquez ici =D

https://drive.google.com/uc?id=0B4gV3KD77ZQOZ0dfbDV4ZExJZDQ&export=download

Time : 7h 17m
level : Beginner

Topics include:

Understanding the history and principles of Java
Installing Eclipse and Java
Compiling and running from the command line
Managing memory and performing garbage collection
Declaring and initializing variables
Writing conditional code
Building and parsing strings
Debugging and exception handling
Using simple arrays
Creating custom classes
Working with encapsulation, inheritance, and polymorphism
Managing files
Documenting code with Javadocs

lynda.com Training | Java Essential Training Explores Java SE, the language used to build mobile apps for Android devices, enterprise server applications, and more.

Photos 01/05/2015

// simple directed graph using jung framework
/* telecharger jung ici
http://sourceforge.net/projects/jung/?source=typ_redirect
*/

import java.awt.Color;
import java.awt.Component;
import java.awt.Container;
import java.awt.Graphics;

import javax.swing.Icon;
import javax.swing.JFrame;

import org.apache.commons.collections15.Transformer;

import edu.uci.ics.jung.algorithms.layout.FRLayout;
import edu.uci.ics.jung.algorithms.layout.Layout;
import edu.uci.ics.jung.graph.DirectedSparseGraph;
import edu.uci.ics.jung.graph.Graph;
import edu.uci.ics.jung.graph.util.EdgeType;
import edu.uci.ics.jung.visualization.GraphZoomScrollPane;
import edu.uci.ics.jung.visualization.VisualizationViewer;
import edu.uci.ics.jung.visualization.decorators.ToStringLabeller;

public class Graphe {

/**
* the graph
*/
Graph graph;

/**
* the visual component and renderer for the graph
*/
VisualizationViewer vv;

Layout layout = null;

public Graphe() {
graph = new DirectedSparseGraph();
Integer[] v = createVertices(10);
createEdges(v);
layout = new FRLayout(graph);
vv = new VisualizationViewer(layout);

vv.getRenderContext().setVertexIconTransformer(
new Transformer() {

/*
* Implements the Icon interface to draw an Icon with
* background color and a text label
*/
public Icon transform(final Integer v) {
return new Icon() {

public int getIconHeight() {
return 20;
}

public int getIconWidth() {
return 20;
}

public void paintIcon(Component c, Graphics g,
int x, int y) {
if (vv.getPickedVertexState().isPicked(v)) {
g.setColor(Color.yellow);
} else {
g.setColor(Color.red);
}
g.fillOval(x, y, 20, 20);
if (vv.getPickedVertexState().isPicked(v)) {
g.setColor(Color.black);
} else {
g.setColor(Color.white);
}
g.drawString("" + v, x + 6, y + 15);

}
};
}
});

vv.setBackground(Color.white);

// add my listener for ToolTips
vv.setVertexToolTipTransformer(new ToStringLabeller());

// create a frome to hold the graph

final JFrame frame = new JFrame();
Container content = frame.getContentPane();
final GraphZoomScrollPane panel = new GraphZoomScrollPane(vv);
content.add(panel);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

frame.pack();
frame.setVisible(true);

}

/**
* create some vertices
*
* count
* how many to create
* the Vertices in an array
*/
private Integer[] createVertices(int count) {
Integer[] v = new Integer[count];
for (int i = 0; i < count; i++) {
v[i] = new Integer(i);
graph.addVertex(v[i]);
}
return v;
}

/**
* create edges for this demo graph
*
* v
* an array of Vertices to connect
*/
void createEdges(Integer[] v) {
graph.addEdge(new Double(Math.random()), v[0], v[1], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[0], v[3], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[0], v[4], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[4], v[5], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[3], v[5], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[1], v[2], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[1], v[4], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[8], v[2], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[3], v[8], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[6], v[7], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[7], v[5], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[0], v[9], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[9], v[8], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[7], v[6], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[6], v[5], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[4], v[2], EdgeType.DIRECTED);
graph.addEdge(new Double(Math.random()), v[5], v[4], EdgeType.DIRECTED);
}

public static void main(String[] args) {
new Graphe();
}

}

Vous voulez que votre école soit école la plus cotée à Algiers ?

Cliquez ici pour réclamer votre Listage Commercial.

Emplacement

Téléphone

Site Web

Adresse


Algiers
16000