version 1.2 debug
This commit is contained in:
parent
b40437e010
commit
51477d449d
|
|
@ -8,6 +8,6 @@
|
||||||
<classpathentry kind="lib" path="lib/okio-2.4.3.jar"/>
|
<classpathentry kind="lib" path="lib/okio-2.4.3.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/retrofit-2.7.2.jar"/>
|
<classpathentry kind="lib" path="lib/retrofit-2.7.2.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/converter-gson-2.0.0-beta3.jar"/>
|
<classpathentry kind="lib" path="lib/converter-gson-2.0.0-beta3.jar"/>
|
||||||
<classpathentry kind="lib" path="lib/tmdbapiv11.jar"/>
|
<classpathentry kind="lib" path="lib/tmdbapiv12.jar"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
</classpath>
|
</classpath>
|
||||||
|
|
|
||||||
Binary file not shown.
Binary file not shown.
|
|
@ -87,8 +87,13 @@ public class MaJFrame extends JFrame implements TMDBAPICallBack {
|
||||||
@Override
|
@Override
|
||||||
public void retourAPI(TMDBFilm theMovie,int numCB) {
|
public void retourAPI(TMDBFilm theMovie,int numCB) {
|
||||||
if (theMovie!=null) {
|
if (theMovie!=null) {
|
||||||
if (numCB==1) panel_im.setImage(theMovie.getPoster_image());
|
if (numCB==1) {
|
||||||
if (numCB==2) panel_im_2.setImage(theMovie.getPoster_image());
|
panel_im.setImage(theMovie.getPoster_image());
|
||||||
|
}
|
||||||
|
if (numCB==2) {
|
||||||
|
panel_im_2.setImage(theMovie.getPoster_image());
|
||||||
|
}
|
||||||
|
System.out.println("Affichage : "+numCB+" Film : "+theMovie);
|
||||||
}
|
}
|
||||||
this.repaint();
|
this.repaint();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue