[過去ログ]
【初心者】スレを立てる前にココで質問を【Part28】©2ch.net (1002レス)
【初心者】スレを立てる前にココで質問を【Part28】©2ch.net http://mevius.5ch.net/test/read.cgi/gamedev/1464484536/
上
下
前
次
1-
新
通常表示
512バイト分割
レス栞
このスレッドは過去ログ倉庫に格納されています。
次スレ検索
歴削→次スレ
栞削→次スレ
過去ログメニュー
5: 名前は開発中のものです。 [] 2016/05/31(火) 21:49:47.47 ID:5XqNUbsR 続き public void mousePressed(MouseEvent e) { if (e.getButton() == MouseEvent.BUTTON1) { // 左クリックされた時 currentChoice--; if (currentChoice < start) { // when choice gets below the starting index start = currentChoice; if (currentChoice < 0) { // 一番上に来たら初期化 currentChoice = 0; start = 0; } } } else if (e.getButton() == MouseEvent.BUTTON3) { // 右クリックされた時 System.out.println("DOWN"); currentChoice++; if (currentChoice > displaySize - 1) { System.out.println(start + 1 + displaySize ); if (start + displaySize < elementList.length) { start++; } if (currentChoice > elementList.length - 1) { // 一番下に来た currentChoice = elementList.length - 1; } } } } http://mevius.5ch.net/test/read.cgi/gamedev/1464484536/5
メモ帳
(0/65535文字)
上
下
前
次
1-
新
書
関
写
板
覧
索
設
栞
歴
あと 997 レスあります
スレ情報
赤レス抽出
画像レス抽出
歴の未読スレ
AAサムネイル
Google検索
Wikipedia
ぬこの手
ぬこTOP
0.011s